aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/phonon-backend-gstreamer
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-27 15:43:19 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-27 15:43:19 +0100
commit0f20db0e4f173e83bb1a06f7ef5c64ff11733a65 (patch)
tree2e258eb1e606cb7a6a24a97875f1893994431ac4 /unmaintained/phonon-backend-gstreamer
parent8bbcf7052fa42e8b35f3a355fa7de60ec73c90fa (diff)
downloadaports-0f20db0e4f173e83bb1a06f7ef5c64ff11733a65.tar.bz2
aports-0f20db0e4f173e83bb1a06f7ef5c64ff11733a65.tar.xz
testing/phonon-backend-gstreamer: unmaintained
Diffstat (limited to 'unmaintained/phonon-backend-gstreamer')
-rw-r--r--unmaintained/phonon-backend-gstreamer/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/unmaintained/phonon-backend-gstreamer/APKBUILD b/unmaintained/phonon-backend-gstreamer/APKBUILD
new file mode 100644
index 0000000000..b4e4e13857
--- /dev/null
+++ b/unmaintained/phonon-backend-gstreamer/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=phonon-backend-gstreamer
+pkgver=4.5.1
+pkgrel=2
+pkgdesc="gstreamer backend for phonon"
+url="http://phonon.kde.org/"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="gstreamer-dev gst-plugins-base-dev gst-plugins-good phonon-dev
+ mesa-dev alsa-lib-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages=""
+source="http://kde.mirrors.tds.net/pub/kde/stable/phonon/phonon-backend-gstreamer/$pkgver/src/phonon-backend-gstreamer-$pkgver.tar.bz2"
+install_if="phonon"
+
+_builddir="$srcdir"/phonon-backend-gstreamer-$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_SKIP_RPATH=ON "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="021cf7740208e7212b7ce91adb6a349b phonon-backend-gstreamer-4.5.1.tar.bz2"