aboutsummaryrefslogtreecommitdiffstats
path: root/community/phonon-backend-gstreamer/APKBUILD
blob: 702bb0be74e19aebeff2dbeee697eccf2620d337 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=phonon-backend-gstreamer
pkgver=4.9.0
pkgrel=0
pkgdesc="phonon gstreamer backend for Qt4"
url="http://phonon.kde.org/"
arch="all"
license="LGPL"
depends=""
depends_dev="gstreamer1-dev gst-plugins-base1-dev gstreamer1-dev phonon-dev"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages=""
source="http://download.kde.org/stable/phonon/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/phonon-gstreamer-$pkgver

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
  	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_CXX_FLAGS="$CXXFLAGS $(pkgconf --cflags gstreamer-1.0)" \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="b2b0ca327908948ce8cdba117e31bf80  phonon-backend-gstreamer-4.9.0.tar.xz"
sha256sums="cec3e5ece1261d344b68363ef0606ebf49772628ba94bb55b0c0d18773b885f1  phonon-backend-gstreamer-4.9.0.tar.xz"
sha512sums="9c13d37c6c7070c2bd8fcc562f743ac2f55289bc7cc82147ef0ae990e5d380d541cc1d9ce61e6ad1549ed1935d41faafaeeb0cd5463e4c656ea8fee636ff4dfe  phonon-backend-gstreamer-4.9.0.tar.xz"