diff options
Diffstat (limited to 'community/phonon-backend-gstreamer')
-rw-r--r-- | community/phonon-backend-gstreamer/APKBUILD | 21 |
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 } |