From fb4a20dca926774af894a2f78e84e83d71514375 Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Thu, 5 Sep 2024 09:48:50 +0800 Subject: [PATCH] New package: maliit-framework --- srcpkgs/maliit-framework-devel | 1 + srcpkgs/maliit-framework-doc | 1 + srcpkgs/maliit-framework-examples | 1 + srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 120000 srcpkgs/maliit-framework-devel create mode 120000 srcpkgs/maliit-framework-doc create mode 120000 srcpkgs/maliit-framework-examples create mode 100644 srcpkgs/maliit-framework/template diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel new file mode 120000 index 00000000000000..3a182b78257420 --- /dev/null +++ b/srcpkgs/maliit-framework-devel @@ -0,0 +1 @@ +maliit-framework \ No newline at end of file diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc new file mode 120000 index 00000000000000..3a182b78257420 --- /dev/null +++ b/srcpkgs/maliit-framework-doc @@ -0,0 +1 @@ +maliit-framework \ No newline at end of file diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples new file mode 120000 index 00000000000000..3a182b78257420 --- /dev/null +++ b/srcpkgs/maliit-framework-examples @@ -0,0 +1 @@ +maliit-framework \ No newline at end of file diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template new file mode 100644 index 00000000000000..b04a4bdc44271b --- /dev/null +++ b/srcpkgs/maliit-framework/template @@ -0,0 +1,48 @@ +# Template file for 'maliit-framework' +pkgname=maliit-framework +version=2.3.0 +revision=1 +build_style=cmake +configure_args="-Denable-examples=ON + -Denable-tests=OFF + -Denable-dbus-activation=ON + -Denable-wayland-gtk=ON + -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner" +hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config + wayland-devel glib-devel" +makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel + wayland-devel wayland-protocols libxkbcommon-devel + libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel" +short_desc="Core libraries of Maliit and server" +maintainer="Hervy Qurrotul Ainur Rozi " +license="LGPL-2.1-only" +homepage="https://maliit.github.io" +changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS" +distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz" +checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c + +maliit-framework-devel_package() { + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/qt5/mkspecs + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +} + +maliit-framework-doc_package() { + short_desc+=" - documentation" + pkg_install() { + vmove usr/share/doc/maliit-framework + vmove usr/share/doc/maliit-framework-doc + } +} + +maliit-framework-examples_package() { + short_desc+=" - examples" + pkg_install() { + vmove usr/bin/maliit-exampleapp-plainqt + } +}