diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-08-27 20:23:04 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-27 16:31:48 -0300 |
commit | c721f1dc68d008803f57c22196ece937e79b7407 (patch) | |
tree | 38df8b3b1b3a5375eb9ddbd3e8722498687045db /testing/libhandy | |
parent | b783e9be4b9cd0300646991455224fc450d4c260 (diff) | |
download | aports-c721f1dc68d008803f57c22196ece937e79b7407.tar.bz2 aports-c721f1dc68d008803f57c22196ece937e79b7407.tar.xz |
testing/libhandy: move handy-0.0-demo binary to -dev and enable Glade catalogs
Diffstat (limited to 'testing/libhandy')
-rw-r--r-- | testing/libhandy/APKBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/testing/libhandy/APKBUILD b/testing/libhandy/APKBUILD index 710c1e5a25..320f47ff96 100644 --- a/testing/libhandy/APKBUILD +++ b/testing/libhandy/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=libhandy pkgver=0.0.10 -pkgrel=0 +pkgrel=1 pkgdesc="Library full of GTK+ widgets for mobile phones" url="https://source.puri.sm/Librem5/libhandy" arch="all" license="LGPL-2.0-or-later" -makedepends="meson glib-dev gtk+3.0-dev vala py3-setuptools gobject-introspection-dev" +makedepends="meson glib-dev gtk+3.0-dev vala py3-setuptools gobject-introspection-dev + glade-dev" checkdepends="xvfb-run ibus" -subpackages="$pkgname-dev" -source="https://source.puri.sm/Librem5/libhandy/-/archive/v${pkgver}/libhandy-v${pkgver}.tar.gz" +subpackages="$pkgname-dev:_dev" +source="https://source.puri.sm/Librem5/libhandy/-/archive/v$pkgver/libhandy-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" build() { @@ -20,6 +21,7 @@ build() { --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ + -Dexamples=true \ . output ninja -C output } @@ -32,4 +34,12 @@ package() { DESTDIR="$pkgdir" ninja -C output install } +_dev() { + default_dev + + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/bin "$subpkgdir"/usr + mv "$pkgdir"/usr/share/glade "$subpkgdir"/usr/share +} + sha512sums="dc5298052243f945460a4d348aaca43f74e092dca99f52fb614d7a8abf59d15f980e03a712a70f39d97d8859589be1ff94f10316779320f3ea15b9ab741cf445 libhandy-v0.0.10.tar.gz" |