aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/phonon-backend-gstreamer/APKBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/community/phonon-backend-gstreamer/APKBUILD b/community/phonon-backend-gstreamer/APKBUILD
index 8c9e82486c..3c90fdb2d2 100644
--- a/community/phonon-backend-gstreamer/APKBUILD
+++ b/community/phonon-backend-gstreamer/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon-backend-gstreamer
pkgver=4.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="Phonon gstreamer backend for Qt5"
url="https://userbase.kde.org/Phonon"
arch="all !armhf" # armhf blocked by extra-cmake-modules
@@ -13,25 +13,17 @@ subpackages="$pkgname-lang"
source="https://download.kde.org/stable/phonon/phonon-backend-gstreamer/$pkgver/phonon-backend-gstreamer-$pkgver.tar.xz"
options="!check" # No tests available
-prepare() {
- default_prepare
-
- mkdir "$builddir"/build
-}
-
build() {
- cd "$builddir"/build
- cmake "$builddir" \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPHONON_BUILD_PHONON4QT5=ON
- make
+ make -C build
}
package() {
- cd "$builddir"/build
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" make -C build install
}
sha512sums="3beaba9ea3a332a6908ebdaa966958e8e8056d79cfb210e82a8edaf08f0a8bacbf8094e91b1b1b936406aa634dabb962e6c1468e4dde3febd9efac1a63ea70a4 phonon-backend-gstreamer-4.10.0.tar.xz"