aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-11-01 10:55:37 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-01 07:31:04 -0300
commit161729c518a441d20488a15eb03cc689595df1be (patch)
tree7b6dcad97aaf7d48f126b7adcf0f60aa60a21cdd
parentc3460aeed2fee233cfb43e54aee9c46a46f6fd85 (diff)
downloadaports-161729c518a441d20488a15eb03cc689595df1be.tar.gz
aports-161729c518a441d20488a15eb03cc689595df1be.tar.bz2
aports-161729c518a441d20488a15eb03cc689595df1be.tar.xz
community/phonon-backend-gstreamer: modernize
-rw-r--r--community/phonon-backend-gstreamer/APKBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/phonon-backend-gstreamer/APKBUILD b/community/phonon-backend-gstreamer/APKBUILD
index d4c7f9dee7..a25e602d0e 100644
--- a/community/phonon-backend-gstreamer/APKBUILD
+++ b/community/phonon-backend-gstreamer/APKBUILD
@@ -2,21 +2,27 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon-backend-gstreamer
pkgver=4.10.0
-pkgrel=0
+pkgrel=1
pkgdesc="Phonon gstreamer backend for Qt5"
url="https://phonon.kde.org/"
arch="all"
license="LGPL-2.1-only OR LGPL-3.0-only"
+makedepends="extra-cmake-modules qt5-qtx11extras-dev gstreamer-dev gst-plugins-base-dev phonon-dev
+ libxml2-dev qt5-qttools-dev"
subpackages="$pkgname-lang"
-makedepends="extra-cmake-modules qt5-qtx11extras-dev gstreamer-dev gst-plugins-base-dev phonon-dev
-libxml2-dev qt5-qttools-dev"
-source="https://download.kde.org/stable/phonon/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
+source="https://download.kde.org/stable/phonon/phonon-backend-gstreamer/$pkgver/phonon-backend-gstreamer-$pkgver.tar.xz"
options="!check" # No tests available
-builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
build() {
- cmake \
- -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPHONON_BUILD_PHONON4QT5=ON
@@ -24,6 +30,7 @@ build() {
}
package() {
+ cd "$builddir"/build
DESTDIR="$pkgdir" make install
}