aboutsummaryrefslogtreecommitdiffstats
path: root/community/phonon-backend-gstreamer/APKBUILD
blob: fa366ea5af5b8deef708a1e52866817e5cd9a4b0 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon-backend-gstreamer
pkgver=4.9.0
pkgrel=3
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"
source="https://download.kde.org/stable/phonon/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
options="!check" # No tests available
builddir="$srcdir"/phonon-gstreamer-$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="9c13d37c6c7070c2bd8fcc562f743ac2f55289bc7cc82147ef0ae990e5d380d541cc1d9ce61e6ad1549ed1935d41faafaeeb0cd5463e4c656ea8fee636ff4dfe  phonon-backend-gstreamer-4.9.0.tar.xz"