aboutsummaryrefslogtreecommitdiffstats
path: root/community/phonon/APKBUILD
blob: bb45ecab32e4912155724479513585424be1d3a6 (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:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon
pkgver=4.11.1
pkgrel=0
pkgdesc="KDE multimedia backend"
url="https://phonon.kde.org/"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtdeclarative-dev glib-dev"
makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="http://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz"
options="!check" # No test configuration file found!

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

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

sha512sums="858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74  phonon-4.11.1.tar.xz"