summaryrefslogtreecommitdiff
path: root/user/qastools
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-23 02:36:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-23 02:36:46 +0000
commit45e7d514d268115d6c1e0075d0d5884da65379c5 (patch)
treef1f00307646ab1560a4254ac498f15d96e5f0e26 /user/qastools
parent88924496c2ce4d6b1eb3bbd42dfa5a5a259ef4cd (diff)
downloadpackages-45e7d514d268115d6c1e0075d0d5884da65379c5.tar.gz
packages-45e7d514d268115d6c1e0075d0d5884da65379c5.tar.bz2
packages-45e7d514d268115d6c1e0075d0d5884da65379c5.tar.xz
packages-45e7d514d268115d6c1e0075d0d5884da65379c5.zip
user/qastools: new package
Diffstat (limited to 'user/qastools')
-rw-r--r--user/qastools/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/qastools/APKBUILD b/user/qastools/APKBUILD
new file mode 100644
index 000000000..1e35fe052
--- /dev/null
+++ b/user/qastools/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qastools
+pkgver=0.21.0
+pkgrel=0
+pkgdesc="ALSA mixer and utilities for Qt"
+url="https://xwmw.org/qastools/index.html"
+arch="all"
+license="GPL-3.0-only"
+depends="bash"
+makedepends="alsa-lib-dev cmake eudev-dev qt5-qtbase-dev qt5-qtsvg-dev
+ qt5-qttools-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://downloads.sourceforge.net/qastools/qastools_$pkgver.tar.xz"
+builddir="$srcdir/${pkgname}_${pkgver}"
+langdir="/usr/share/qastools/l10n"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="17c837ef508a5bf1853f597abd38c3c950914c8cefe98f83a47a911462e1da11f410e3fe3f8426e3f17a3aac8980ee6459f50de2480120813202b342a1e3509b qastools_0.21.0.tar.xz"