blob: c3d40d3996c077a0a19e5be342c1bc47d1fe50ff (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon
pkgver=4.9.0
pkgrel=0
pkgdesc="KDE multimedia backend"
url="http://phonon.kde.org/"
arch="all"
license="LGPL"
depends=
depends_dev="qt-dev glib-dev"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages="$pkgname-dev"
source="http://download.kde.org/stable/phonon/${pkgver}/phonon-$pkgver.tar.xz"
_builddir="$srcdir"/phonon-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir -p "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=FALSE \
-DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
-Wno-dev \
"$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="8abeb7b1eaf4935668c7fb441fc2491a phonon-4.9.0.tar.xz"
sha256sums="bb74b40f18ade1d9ab89ffcd7aeb7555be797ca395f1224c488b394da6deb0e0 phonon-4.9.0.tar.xz"
sha512sums="6201b0fa8620cf2640f1488d2ea9605ddd9894af077be247bdcc1ee20f4f7352f6b42fa834bcc074ec3ede1281fdbc3bf137961591f8d954d02a29186ff17a5c phonon-4.9.0.tar.xz"
|