aboutsummaryrefslogtreecommitdiffstats
path: root/community/openal-soft
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-11 17:35:12 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-11 17:46:08 +0000
commit17555c8bf697ad717a9bda43c404fc9596591107 (patch)
treea14173f3d0a2280a390bf4c377f7ac8062f43eec /community/openal-soft
parent4a1b5812dc9e225a089b490e669da096fcdfbdfe (diff)
downloadaports-17555c8bf697ad717a9bda43c404fc9596591107.tar.bz2
aports-17555c8bf697ad717a9bda43c404fc9596591107.tar.xz
community/openal-soft: upgrade to 1.18.0
Diffstat (limited to 'community/openal-soft')
-rw-r--r--community/openal-soft/APKBUILD28
1 files changed, 10 insertions, 18 deletions
diff --git a/community/openal-soft/APKBUILD b/community/openal-soft/APKBUILD
index b6e065ceae..d2df2cf753 100644
--- a/community/openal-soft/APKBUILD
+++ b/community/openal-soft/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openal-soft
-pkgver=1.17.2
+pkgver=1.18.0
pkgrel=0
pkgdesc="software implementation of OpenAL API"
url="http://kcat.strangesoft.net/openal.html"
@@ -13,19 +13,13 @@ makedepends="$depends_dev linux-headers cmake"
install=""
subpackages="$pkgname-dev"
source="http://kcat.strangesoft.net/openal-releases/${pkgname}-${pkgver}.tar.bz2"
+options="!check"
+
+builddir="${srcdir}/${pkgname}-${pkgver}"
-_srcdir="${srcdir}/${pkgname}-${pkgver}"
_builddir="${srcdir}/build"
prepare() {
- local i
-
- cd "$_srcdir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-
+ default_prepare
mkdir -p "$_builddir"
}
@@ -36,17 +30,15 @@ build() {
armhf) _cpuext_neon=-DALSOFT_CPUEXT_NEON=OFF;;
esac
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib" \
$_cpuext_neon \
- "$_srcdir" \
- || return 1
- make || return 1
+ "$builddir"
+ make
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="1764e0d8fec499589b47ebc724e0913d openal-soft-1.17.2.tar.bz2"
-sha256sums="a341f8542f1f0b8c65241a17da13d073f18ec06658e1a1606a8ecc8bbc2b3314 openal-soft-1.17.2.tar.bz2"
-sha512sums="50c20cd3ddada55d91643a79c2894d5a14315d5fc1ed8e870e3d8d3f410e8b7d8da29b838226e7fce37fbeca719ff919b51806f72e4cd529a18fbe8bd68860e3 openal-soft-1.17.2.tar.bz2"
+sha512sums="84af817f85ef6e6c8de20126a5163bd2660ec8d294a3ece7514898caf34ee0640a87a90f350ea9769765ce5cbdbfed7bf38be940950ba4eef19cc24900f218b2 openal-soft-1.18.0.tar.bz2"