aboutsummaryrefslogtreecommitdiffstats
path: root/community/phonon-backend-gstreamer/APKBUILD
blob: d4c7f9dee7990cfeab3bec9efcb2c326d79e6742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon-backend-gstreamer
pkgver=4.10.0
pkgrel=0
pkgdesc="Phonon gstreamer backend for Qt5"
url="https://phonon.kde.org/"
arch="all"
license="LGPL-2.1-only OR LGPL-3.0-only"
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"
options="!check" # No tests available
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DPHONON_BUILD_PHONON4QT5=ON
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="3beaba9ea3a332a6908ebdaa966958e8e8056d79cfb210e82a8edaf08f0a8bacbf8094e91b1b1b936406aa634dabb962e6c1468e4dde3febd9efac1a63ea70a4  phonon-backend-gstreamer-4.10.0.tar.xz"