diff options
-rw-r--r-- | community/libhandy/APKBUILD | 19 | ||||
-rw-r--r-- | community/libhandy/skip-test.patch | 14 |
2 files changed, 25 insertions, 8 deletions
diff --git a/community/libhandy/APKBUILD b/community/libhandy/APKBUILD index d1eb0c524c..46721860af 100644 --- a/community/libhandy/APKBUILD +++ b/community/libhandy/APKBUILD @@ -2,16 +2,17 @@ # Maintainer: Rasmus Thomsen <oss@cogitri.dev> pkgname=libhandy pkgver=0.0.11 -pkgrel=0 +pkgrel=1 pkgdesc="Library full of GTK+ widgets for mobile phones" url="https://source.puri.sm/Librem5/libhandy" arch="all !s390x" # Limited by 'ibus' license="LGPL-2.0-or-later" makedepends="meson glib-dev gtk+3.0-dev vala py3-setuptools gobject-introspection-dev glade-dev" -checkdepends="xvfb-run ibus" -subpackages="$pkgname-dev:_dev" -source="https://source.puri.sm/Librem5/libhandy/-/archive/v$pkgver/libhandy-v$pkgver.tar.gz" +checkdepends="xvfb-run" +subpackages="$pkgname-dev" +source="https://source.puri.sm/Librem5/libhandy/-/archive/v$pkgver/libhandy-v$pkgver.tar.gz + skip-test.patch" builddir="$srcdir/$pkgname-v$pkgver" build() { @@ -34,12 +35,14 @@ package() { DESTDIR="$pkgdir" ninja -C output install } -_dev() { +dev() { default_dev - mkdir -p "$subpkgdir"/usr/share + mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share mv "$pkgdir"/usr/bin "$subpkgdir"/usr - mv "$pkgdir"/usr/share/glade "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/glade/catalogs "$subpkgdir"/usr/share + mv "$pkgdir"/usr/lib/glade/modules "$subpkgdir"/usr/share } -sha512sums="af415917905bedbe33abfc613e9c3eeaaffe22ef142bb39236d2ff5f78dd3487355f8f9232b616523508a3da0cbcf31470c50fa208e383c688148e12dac89dc6 libhandy-v0.0.11.tar.gz" +sha512sums="af415917905bedbe33abfc613e9c3eeaaffe22ef142bb39236d2ff5f78dd3487355f8f9232b616523508a3da0cbcf31470c50fa208e383c688148e12dac89dc6 libhandy-v0.0.11.tar.gz +e67a51b2985d27f1ed259773060e7df1430f7529f6cef69b1a240f97bfdccb73bd97303b96e209daa2ff7d31094f290986a663d4c7919b4799ec333b8e06a83f skip-test.patch" diff --git a/community/libhandy/skip-test.patch b/community/libhandy/skip-test.patch new file mode 100644 index 0000000000..8f6795016d --- /dev/null +++ b/community/libhandy/skip-test.patch @@ -0,0 +1,14 @@ +Skip test that uses IBus, since it tries to access /var/lib/dbus/machine-id which doesn't exist on the system. + +diff --git a/tests/meson.build b/tests/meson.build +index b814d59..bf30b96 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -33,7 +33,6 @@ test_names = [ + 'test-preferences-group', + 'test-preferences-page', + 'test-preferences-row', +- 'test-preferences-window', + 'test-search-bar', + 'test-squeezer', + 'test-string-utf8', |