APKBUILD 980 Bytes
Newer Older
1
# Contributor:
2
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
Ariadne Conill's avatar
Ariadne Conill committed
3
pkgname=phonon
Leo's avatar
Leo committed
4
pkgver=4.11.1
5
pkgrel=1
Ariadne Conill's avatar
Ariadne Conill committed
6
pkgdesc="KDE multimedia backend"
7
url="https://phonon.kde.org/"
8
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
9 10
license="LGPL-2.1-or-later"
depends_dev="qt5-qtdeclarative-dev glib-dev"
Leo's avatar
Leo committed
11
makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev"
12
subpackages="$pkgname-dev $pkgname-lang"
Leo's avatar
Leo committed
13
source="http://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz"
14 15
options="!check" # No test configuration file found!

Ariadne Conill's avatar
Ariadne Conill committed
16
build() {
17
	cmake \
18
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
19 20 21 22 23
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
		-DPHONON_BUILD_PHONON4QT5=ON
	make
Ariadne Conill's avatar
Ariadne Conill committed
24 25 26
}

package() {
27
	DESTDIR="$pkgdir" make install
Ariadne Conill's avatar
Ariadne Conill committed
28 29
}

Leo's avatar
Leo committed
30
sha512sums="858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74  phonon-4.11.1.tar.xz"