aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libkeyfinder/APKBUILD
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-03-23 23:43:01 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-28 10:02:29 +0000
commitd0e64144b613e6b9239e8d68c50753dc7963d3b3 (patch)
tree094da391c913bac33dff366c8135fd06fd97f2e0 /testing/libkeyfinder/APKBUILD
parent9aa906c9db4051f6a3c133b664c35a8800fa2a31 (diff)
downloadaports-d0e64144b613e6b9239e8d68c50753dc7963d3b3.tar.bz2
aports-d0e64144b613e6b9239e8d68c50753dc7963d3b3.tar.xz
testing/libkeyfinder: new aport
Diffstat (limited to 'testing/libkeyfinder/APKBUILD')
-rw-r--r--testing/libkeyfinder/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/libkeyfinder/APKBUILD b/testing/libkeyfinder/APKBUILD
new file mode 100644
index 0000000000..b2973a160a
--- /dev/null
+++ b/testing/libkeyfinder/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
+# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
+pkgname=libkeyfinder
+pkgver=2.2
+pkgrel=0
+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
+ issue_22.patch
+ alpine-settings-to-pro.patch"
+builddir="$srcdir/libKeyFinder-$pkgver"
+
+build() {
+ cd "$builddir"
+ qmake PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make INSTALL_ROOT="$pkgdir" install
+}
+
+doc() {
+ mkdir -p "$subpkgdir/usr/share/doc/$pkgname"
+ cp "$builddir/README.md" "$subpkgdir/usr/share/doc/$pkgname/README.md"
+}
+
+check() {
+ cd "$builddir/tests"
+ ln -s "$builddir" keyfinder
+ qmake
+ make
+ LD_LIBRARY_PATH="$builddir" ./tests
+}
+
+md5sums="c19eaf976afe10ba0cf15c0aba45618c libkeyfinder-2.2.tar.gz
+17d4692e8c39c0f607981058f531970d issue_22.patch
+2650ed076d43872cc474099021bd84cd alpine-settings-to-pro.patch"
+sha256sums="cd9337899e0d71bb0fda2726630f72aaf6a05a3ec7b27df7e42fd27409a88c96 libkeyfinder-2.2.tar.gz
+2e570a3d682f365cac5d0c49aaa139cb559cb36ca37e26b7b9b05dccdb9f3a7f issue_22.patch
+bc2dd2f8948d6565dd90b75074d7f2e61802d9e2f67e315ba92464958e5dc0ea alpine-settings-to-pro.patch"
+sha512sums="8e35473d34cb715d9eb383733ca07f659fd116f65a923fa3948d99dc4cfb04e43b4cf0bb411345574d42bb40fae8d818253f8cdbcbb5fb3aaab88bcc57f7b687 libkeyfinder-2.2.tar.gz
+a73e24f96708615b8d3073de8eac32a17be6947b3c99f94be57d09577278eedcf668849c75c20fe74a35bd74e8b41f92d08627c5f0fff3198cf60867262bcd6a issue_22.patch
+580c968da0d24126d92b09cc4a970bb898fe020f2b9a9232d80ef63be8d3f90e618ea0b2f66ccde174a51dcf7160dfd62ab3b9428bf0ae6b11608b7dd7aede23 alpine-settings-to-pro.patch"