diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-02 02:39:31 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:57 -0500 |
commit | f9117878f924da07105e48f152b4bf6135b29c7b (patch) | |
tree | b2e6eaddcc1909c3830dbac7aba73382d0d1a318 /user/graphene/APKBUILD | |
parent | 44d711c72a91ecc565251e11a2e0de8d87d4d839 (diff) | |
download | packages-f9117878f924da07105e48f152b4bf6135b29c7b.tar.gz packages-f9117878f924da07105e48f152b4bf6135b29c7b.tar.bz2 packages-f9117878f924da07105e48f152b4bf6135b29c7b.tar.xz packages-f9117878f924da07105e48f152b4bf6135b29c7b.zip |
user/graphene: New package
Diffstat (limited to 'user/graphene/APKBUILD')
-rw-r--r-- | user/graphene/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/graphene/APKBUILD b/user/graphene/APKBUILD new file mode 100644 index 000000000..9fcbb6154 --- /dev/null +++ b/user/graphene/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=graphene +pkgver=1.10.8 +pkgrel=0 +pkgdesc="Thin layer of graphic data types" +url="https://ebassi.github.io/graphene/" +arch="all" +license="MIT" +depends="" +makedepends="glib-dev gobject-introspection-dev meson" +subpackages="$pkgname-dev" +source="graphene-$pkgver.tar.gz::https://github.com/ebassi/graphene/archive/refs/tags/$pkgver.tar.gz + installed-tests.patch + " + +build() { + meson \ + -Dprefix=/usr \ + -Dintrospection=enabled \ + -Dinstalled_tests=false \ + _build + ninja -C _build +} + +check() { + ninja -C _build test +} + +package() { + DESTDIR="$pkgdir" ninja -C _build install +} + +sha512sums="526b0c17049459b687ceb7f6c26c9d982535e4048e74a0b6282704f9811d3c2e7e0e6cfef166aa953306b6cf77add6677bc600ae0c66cc052dc04c3d0345bd68 graphene-1.10.8.tar.gz +862c77a54878706adcc5ec438a8aa24b43fdb1e8548942913bfd432411ea69d6541b9a04e99716162fc23354ec7664015ef3157869769a904ad0b281332bdb5d installed-tests.patch" |