aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gsound/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-01 17:49:52 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:33:00 +0000
commit2102777784a203baa4e8afba0d6ec98c25771a21 (patch)
treeba91ccac8592eef6de6379ad3b9d3aa7ccdc300e /testing/gsound/APKBUILD
parent6811603148b89d4f832814c2b8dea1e8cdabb3e3 (diff)
downloadaports-2102777784a203baa4e8afba0d6ec98c25771a21.tar.gz
aports-2102777784a203baa4e8afba0d6ec98c25771a21.tar.bz2
aports-2102777784a203baa4e8afba0d6ec98c25771a21.tar.xz
testing/gsound: build VAPI and GIR
* remove builddir stuff * add -static subpackage
Diffstat (limited to 'testing/gsound/APKBUILD')
-rw-r--r--testing/gsound/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/testing/gsound/APKBUILD b/testing/gsound/APKBUILD
index 36ba31e91f..1ff6ade0a9 100644
--- a/testing/gsound/APKBUILD
+++ b/testing/gsound/APKBUILD
@@ -2,35 +2,33 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gsound
pkgver=1.0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Small library for playing system sounds"
url="https://wiki.gnome.org/Projects/GSound"
arch="all"
license="LGPL-2.1-or-later"
-makedepends="intltool glib-dev vala libcanberra-dev"
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="intltool glib-dev vala libcanberra-dev gobject-introspection-dev"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --enable-vala \
+ --enable-introspection
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}