aboutsummaryrefslogtreecommitdiffstats
path: root/main/phonon-backend-gstreamer
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:34:54 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:34:54 +0200
commitd94d78b53cbd979f63144def6ba596a35dae27e3 (patch)
tree495b5f1e0461b89c5f410f2b00a1f39811a57b8c /main/phonon-backend-gstreamer
parenta1831eaed774167d0581be666b2b44e4ff86f1e4 (diff)
downloadaports-d94d78b53cbd979f63144def6ba596a35dae27e3.tar.bz2
aports-d94d78b53cbd979f63144def6ba596a35dae27e3.tar.xz
testing/phonon-backend-gstreamer: move to main
Diffstat (limited to 'main/phonon-backend-gstreamer')
-rw-r--r--main/phonon-backend-gstreamer/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/main/phonon-backend-gstreamer/APKBUILD b/main/phonon-backend-gstreamer/APKBUILD
new file mode 100644
index 0000000000..ab5954ec9b
--- /dev/null
+++ b/main/phonon-backend-gstreamer/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=phonon-backend-gstreamer
+pkgver=4.8.2
+pkgrel=0
+pkgdesc="phonon gstreamer backend for Qt4"
+url="http://phonon.kde.org/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev="gst-plugins-base1-dev phonon-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages=""
+source="http://download.kde.org/stable/phonon/phonon-backend-gstreamer/$pkgver/src/phonon-backend-gstreamer-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$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
+}
+
+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 \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="ce441035dc5a00ffaac9a64518ab5c62 phonon-backend-gstreamer-4.8.2.tar.xz"
+sha256sums="20e0f71f2beb4f859db8385079a13aef5473863ee6f27aad7b065aa7bfe931e0 phonon-backend-gstreamer-4.8.2.tar.xz"
+sha512sums="a18534b89d424bb2cc9f8a7f63a794d9711d895ad1db6cd5f4bd8748ea38310ffeacd916d16443986f89d3097e108aaf5631eaba6dd37e76a7360d5f1d02ecea phonon-backend-gstreamer-4.8.2.tar.xz"