aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-09 15:31:49 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-10 09:09:08 +0100
commit553f8e45f0c6a7582a2942f8c1d73478224af787 (patch)
treef1e56e426b9392b756b7a2d14b48b573a1e7e129
parent0a79f2481d80cac9cea03b0a9991de2cf2338bf0 (diff)
downloadaports-553f8e45f0c6a7582a2942f8c1d73478224af787.tar.gz
aports-553f8e45f0c6a7582a2942f8c1d73478224af787.tar.bz2
aports-553f8e45f0c6a7582a2942f8c1d73478224af787.tar.xz
community/pulseaudio-qt: move from testing
-rw-r--r--community/pulseaudio-qt/APKBUILD (renamed from testing/pulseaudio-qt/APKBUILD)13
1 files changed, 11 insertions, 2 deletions
diff --git a/testing/pulseaudio-qt/APKBUILD b/community/pulseaudio-qt/APKBUILD
index ca7501815e..6c656d118c 100644
--- a/testing/pulseaudio-qt/APKBUILD
+++ b/community/pulseaudio-qt/APKBUILD
@@ -10,11 +10,18 @@ license="LGPL-2.1-only OR LGPL-3.0-only"
depends_dev="qt5-qtbase-dev pulseaudio-dev glib-dev"
makedepends="$depends_dev extra-cmake-modules doxygen graphviz qt5-qttools-dev"
checkdepends="qt5-qtdeclarative-dev"
-source="https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"
+source="https://download.kde.org/stable/pulseaudio-qt/pulseaudio-qt-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
build() {
- cmake \
+ cd "$builddir"/build
+ cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -23,10 +30,12 @@ build() {
}
check() {
+ cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
+ cd "$builddir"/build
DESTDIR="$pkgdir" make install
}