summaryrefslogtreecommitdiffstats
path: root/testing/phonon-backend-gstreamer
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 13:22:09 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 13:22:09 -0500
commit7d418a6a98bf321cef3db9bcb534fab1082a3f9f (patch)
treef11a99ae0f728a0bb281712f7061c4bf47810bf1 /testing/phonon-backend-gstreamer
parent030ffe1a1f27ac96f4c656b9c316494bef7b520f (diff)
downloadaports-7d418a6a98bf321cef3db9bcb534fab1082a3f9f.tar.bz2
aports-7d418a6a98bf321cef3db9bcb534fab1082a3f9f.tar.xz
testing/phonon-backend-gstreamer: new aport
Diffstat (limited to 'testing/phonon-backend-gstreamer')
-rw-r--r--testing/phonon-backend-gstreamer/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/phonon-backend-gstreamer/APKBUILD b/testing/phonon-backend-gstreamer/APKBUILD
new file mode 100644
index 000000000..3cbdac0bf
--- /dev/null
+++ b/testing/phonon-backend-gstreamer/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=phonon-backend-gstreamer
+pkgver=4.5.1
+pkgrel=0
+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-dev phonon-dev mesa-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev"
+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"