diff options
author | Jean-Louis Fuchs <ganwell@fangorn.ch> | 2017-07-16 14:13:07 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-17 07:16:17 +0000 |
commit | 4ec12bc907c61b760a5e050ece50b9896068e8ca (patch) | |
tree | 7da64137b33f505e74902d67eb40999a7d2d99aa /community/libkeyfinder/APKBUILD | |
parent | 6cd63892c8438be7e16de83fac1bb931087ab7e1 (diff) | |
download | aports-4ec12bc907c61b760a5e050ece50b9896068e8ca.tar.bz2 aports-4ec12bc907c61b760a5e050ece50b9896068e8ca.tar.xz |
community/libkeyfinder: move from testing
Diffstat (limited to 'community/libkeyfinder/APKBUILD')
-rw-r--r-- | community/libkeyfinder/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/libkeyfinder/APKBUILD b/community/libkeyfinder/APKBUILD new file mode 100644 index 0000000000..703194734e --- /dev/null +++ b/community/libkeyfinder/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch> +# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch> +pkgname=libkeyfinder +pkgver=2.2.1 +pkgrel=2 +pkgdesc="Musical key detection for digital audio" +url="http://www.ibrahimshaath.co.uk/keyfinder/" +arch="all" +license="GPL" +# Its just using qmake +makedepends="qt-dev fftw-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="libkeyfinder-$pkgver.tar.gz::https://github.com/ibsh/libKeyFinder/archive/v$pkgver.tar.gz + alpine-settings-to-pro.patch + add-missing-include-for-ppc64le.patch" +builddir="$srcdir/libKeyFinder-$pkgver" + +build() { + cd "$builddir" + qmake PREFIX=/usr + make +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir" install + install -Dm644 "$builddir"/README.md \ + "$pkgdir"/usr/share/doc/$pkgname/README.md +} + +check() { + cd "$builddir/tests" + ln -s "$builddir" keyfinder + qmake + make + LD_LIBRARY_PATH="$builddir" ./tests +} + +sha512sums="62790681e34e8513ac185396c9f76981238da3136a9bd646b197a1e7032d6d612e90157be9dd13700bbeb98085ee3d628ae847716e0091490cd6c3839bf2c25d libkeyfinder-2.2.1.tar.gz +580c968da0d24126d92b09cc4a970bb898fe020f2b9a9232d80ef63be8d3f90e618ea0b2f66ccde174a51dcf7160dfd62ab3b9428bf0ae6b11608b7dd7aede23 alpine-settings-to-pro.patch +6292619361970bb85bb41a9ea94f12b2d70ca2b6d1957d9e27c56dbc3eaf55c49eb3616c0cbcd9b5855197f66c67064a8461c693e90a037e1019f0cd5da90587 add-missing-include-for-ppc64le.patch" |