aboutsummaryrefslogtreecommitdiffstats
path: root/main/sdl2_mixer
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-11-14 14:04:14 -0500
committerTimo Teräs <timo.teras@iki.fi>2017-11-28 08:41:06 +0000
commitdef4c61db769972828c5c7b2923013653a38197e (patch)
tree144c92752554fde0298f4b9f937ccd38827d8883 /main/sdl2_mixer
parentb0d3210c7c5ee681992ec3d0ebfd144b355d5842 (diff)
downloadaports-def4c61db769972828c5c7b2923013653a38197e.tar.bz2
aports-def4c61db769972828c5c7b2923013653a38197e.tar.xz
main/sdl2_mixer: upgrade to 2.0.2
Diffstat (limited to 'main/sdl2_mixer')
-rw-r--r--main/sdl2_mixer/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/main/sdl2_mixer/APKBUILD b/main/sdl2_mixer/APKBUILD
index a15898d6af..d9bf06424a 100644
--- a/main/sdl2_mixer/APKBUILD
+++ b/main/sdl2_mixer/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=sdl2_mixer
-pkgver=2.0.1
-pkgrel=2
+pkgver=2.0.2
+pkgrel=0
_pkgname=SDL2_mixer
pkgdesc="A simple multi-channel audio mixer"
url="http://www.libsdl.org/projects/SDL_mixer/"
@@ -12,17 +12,18 @@ depends=""
makedepends="sdl2-dev libvorbis-dev libmikmod-dev
libmodplug-dev flac-dev linux-headers"
subpackages="$pkgname-dev"
+options="!check" # no test suite
source="http://www.libsdl.org/projects/SDL_mixer/release/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
cd "$builddir"
- update_config_sub || return 1
+ update_config_sub
sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \
-e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \
-e "/DEFAULT_PATH2/s/\/usr\/local\/lib\/timidity/\/usr\/lib\/timidity/" \
- -i timidity/config.h
+ -i timidity/options.h
}
build() {
@@ -34,16 +35,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-music-mod \
- || return 1
- make || return 1
+ --enable-music-mod
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="c6c4f556d4415871f526248f5c9a627d SDL2_mixer-2.0.1.tar.gz"
-sha256sums="5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f SDL2_mixer-2.0.1.tar.gz"
-sha512sums="bdf2b4fc302f9c3b41d40bfdd5132081439e6021e915f191e478235b7b6565e7b4c43e1172d2055066ad505e2bc70876123c58f5a67218b207c829ee66a84b9d SDL2_mixer-2.0.1.tar.gz"
+sha512sums="c40b5ac93933df1cc932e7afe796ad6765aafb24077601a23f98ac625a83341079ad903c164eafd022aff6011872e7a7956eebd8e3d3edad1bf5dc7eb9c306b7 SDL2_mixer-2.0.2.tar.gz"