diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-23 01:38:55 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-23 01:39:17 +0200 |
commit | 47c92a0a7cf8c596a31f203c7a2423e418a3ae17 (patch) | |
tree | 616773bee8e20c0cc4cf67b0abfab69d2923d3f5 /testing | |
parent | efbf922806dd889beb4cc8f9cd75b862ec3141f7 (diff) | |
download | aports-47c92a0a7cf8c596a31f203c7a2423e418a3ae17.tar.bz2 aports-47c92a0a7cf8c596a31f203c7a2423e418a3ae17.tar.xz |
testing/phonon-backend-gstreamer: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/phonon-backend-gstreamer/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/phonon-backend-gstreamer/APKBUILD b/testing/phonon-backend-gstreamer/APKBUILD new file mode 100644 index 0000000000..ab5954ec9b --- /dev/null +++ b/testing/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" |