aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-07 19:57:36 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-10 09:50:13 +0000
commitc4b3f1a2b4e5409fc9369c2bd40e1823d2c7f15e (patch)
tree8dd72fc943cf52acd60d88e7784c94fac2fb7b35 /main
parent3d97418c1658cefaef0d0707b6b690590050e7f8 (diff)
downloadaports-c4b3f1a2b4e5409fc9369c2bd40e1823d2c7f15e.tar.bz2
aports-c4b3f1a2b4e5409fc9369c2bd40e1823d2c7f15e.tar.xz
main/hydrogen: upgrade to 0.9.7
Diffstat (limited to 'main')
-rw-r--r--main/hydrogen/APKBUILD27
1 files changed, 7 insertions, 20 deletions
diff --git a/main/hydrogen/APKBUILD b/main/hydrogen/APKBUILD
index 96b025c2cc..e7c9ccda6a 100644
--- a/main/hydrogen/APKBUILD
+++ b/main/hydrogen/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hydrogen
-pkgver=0.9.6.1
+pkgver=0.9.7
pkgrel=0
pkgdesc="Advanced drum machine for GNU/Linux"
url="http://www.hydrogen-music.org/"
@@ -10,37 +10,24 @@ license="GPL2+"
depends=""
makedepends="qt-dev alsa-lib-dev flac-dev libsndfile-dev cmake portaudio-dev
libarchive-dev jack-dev"
-install=""
subpackages="$pkgname-dev"
source="hydrogen-$pkgver.tar.gz::https://github.com/hydrogen-music/hydrogen/archive/$pkgver.tar.gz"
-_builddir="$srcdir"/hydrogen-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/hydrogen-$pkgver
build() {
cd "$_builddir"
export QTDIR=/usr/lib
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_CPPUNIT=OFF \
- -DWANT_LRDF=ON \
- || return 1
- make || return 1
+ -DWANT_LRDF=ON
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
export QTDIR=/usr/lib
- make install DESTDIR="$pkgdir" || return 1
+ make install DESTDIR="$pkgdir"
}
-md5sums="527a44eec22fd31f55e6b3cf1089613d hydrogen-0.9.6.1.tar.gz"
-sha256sums="94dadf433f0abbe7e0ae8e037726b3573f8b59abf118c9c084f06c561d56b66f hydrogen-0.9.6.1.tar.gz"
-sha512sums="afb501fb1565a95677aa2702f5d93ee611f03f60dfc8aa5a22714bb261bfeecf2b28e0b591763ec4d1a0b60f8153ef01c3fdfae924ca252943a2396ac953717f hydrogen-0.9.6.1.tar.gz"
+sha512sums="1480a18d1181d12e92a53e89a4d1c8f4ae9a8a9a02271e6af4089afaaca9d658abb3876dc7db08a453bbe3ab7f66f31567d992f30102818782b62ebba5141f58 hydrogen-0.9.7.tar.gz"