diff --git a/common/shlibs b/common/shlibs index e0bba1a4f23171..3dcacc7de76d9d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4550,3 +4550,4 @@ libshiboken6.so.6.7 libshiboken6-6.7.2_1 libopencore-amrnb.so.0 opencore-amr-0.1.6_1 libopencore-amrwb.so.0 opencore-amr-0.1.6_1 libilbc.so.3 libilbc-3.0.4_1 +libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1 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 + } +} diff --git a/srcpkgs/maliit-keyboard-doc b/srcpkgs/maliit-keyboard-doc new file mode 120000 index 00000000000000..5aac7df807f5e1 --- /dev/null +++ b/srcpkgs/maliit-keyboard-doc @@ -0,0 +1 @@ +maliit-keyboard \ No newline at end of file diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template new file mode 100644 index 00000000000000..8622301b7d89a0 --- /dev/null +++ b/srcpkgs/maliit-keyboard/template @@ -0,0 +1,27 @@ +# Template file for 'maliit-keyboard' +pkgname=maliit-keyboard +version=2.3.1 +revision=1 +build_style=cmake +configure_args="-Denable-presage=OFF + -Denable-tests=OFF + -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner" +hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake" +makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel + libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel + qt5-multimedia-devel qt5-quickcontrols2-devel" +depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2" +short_desc="Virtual keyboard based on Maliit framework" +maintainer="Hervy Qurrotul Ainur Rozi " +license="LGPL-2.1-only" +homepage="https://maliit.github.io" +changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS" +distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz" +checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456 + +maliit-keyboard-doc_package() { + short_desc+=" - documentation" + pkg_install() { + vmove usr/share/doc/maliit-keyboard + } +}