From d94d78b53cbd979f63144def6ba596a35dae27e3 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 3 Jun 2015 21:34:54 +0200 Subject: testing/phonon-backend-gstreamer: move to main --- main/phonon-backend-gstreamer/APKBUILD | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 main/phonon-backend-gstreamer/APKBUILD (limited to 'main/phonon-backend-gstreamer') 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 +# 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" -- cgit v1.2.3