summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:50:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-05 00:50:18 -0500
commitb5581bc99984de271f373d508f2bf5d609829628 (patch)
treec2921b91bc73d7b6765414841f853e3455fa8f73 /user
parent50996c246981980a7bf0fae1fc0a5907cc2b294a (diff)
downloadpackages-b5581bc99984de271f373d508f2bf5d609829628.tar.gz
packages-b5581bc99984de271f373d508f2bf5d609829628.tar.bz2
packages-b5581bc99984de271f373d508f2bf5d609829628.tar.xz
packages-b5581bc99984de271f373d508f2bf5d609829628.zip
user/gobject-introspection: bump, fix
Diffstat (limited to 'user')
-rw-r--r--user/gobject-introspection/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/user/gobject-introspection/APKBUILD b/user/gobject-introspection/APKBUILD
new file mode 100644
index 000000000..dc04dcadc
--- /dev/null
+++ b/user/gobject-introspection/APKBUILD
@@ -0,0 +1,48 @@
+# Maintainer:
+pkgname=gobject-introspection
+pkgver=1.56.1
+pkgrel=0
+pkgdesc="Introspection system for GObject-based libraries"
+url="http://live.gnome.org/GObjectIntrospection"
+arch="all"
+license="LGPL-2.0+ AND GPL-2.0+ AND MIT"
+depends=
+depends_dev="python3 cairo-dev libtool"
+makedepends="$depends_dev glib-dev libffi-dev flex bison python3-dev cmd:which"
+checkdepends="sed"
+subpackages="$pkgname-doc $pkgname-dev"
+replaces="libgirepository"
+source="http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ "
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ --with-python=python3
+ make V=1
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+dev() {
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/share "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/lib/gobject-introspection "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+ default_dev
+ replaces="gobject-introspection"
+}
+
+sha512sums="2bfcd45b8c5ad68a3f6550c2f80a6804db0e1a72ffaf4fdd3cec3d8acc23e79ad14bb5bf612fe26fc896691839ab19ca8dd1c9994db14d730e56fa79df9d973d gobject-introspection-1.56.1.tar.xz"