Commit f16ffdbd authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/phonon-backend-gstreamer: modernize

parent a5c39873
Pipeline #1857 passed with stages
in 6 minutes and 32 seconds
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment