diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-13 16:55:13 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-13 16:55:13 +0200 |
commit | c6bab0e4e017644a3edd2683834cceddddc6e788 (patch) | |
tree | 23c65ef2f5eef160525f1586082b8991ddc2ecdc | |
parent | 7454ad65366361d3e30bb1102a35e8f76975c082 (diff) | |
download | aports-c6bab0e4e017644a3edd2683834cceddddc6e788.tar.bz2 aports-c6bab0e4e017644a3edd2683834cceddddc6e788.tar.xz |
testing/gst-plugin-libde265_0.10: new aport
-rw-r--r-- | testing/gst-plugin-libde265_0.10/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/gst-plugin-libde265_0.10/APKBUILD b/testing/gst-plugin-libde265_0.10/APKBUILD new file mode 100644 index 0000000000..a8856bcf2f --- /dev/null +++ b/testing/gst-plugin-libde265_0.10/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=gst-plugin-libde265_0.10 +pkgver=0.1.11 +pkgrel=0 +pkgdesc="Libde265 gstreamer plugin" +url="https://github.com/strukturag/gstreamer-libde265" +arch="all" +license="LGPL" +depends="" +depends_dev="gstreamer0.10-dev gst-plugins-base0.10-dev gst-plugins-bad0.10-dev + bzip2-dev libde265-dev" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://github.com/strukturag/gstreamer-libde265/releases/download/v$pkgver/gstreamer-libde265-$pkgver.tar.gz" + +_builddir="$srcdir"/gstreamer-libde265-$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 + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-gstreamer0.10 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="7d855cccc653f296ec0a2c3f3c216c9f gstreamer-libde265-0.1.11.tar.gz" +sha256sums="59e987e4ee985cc8b712936990c4d7a94d469d905d137f85f4ca5f7363d1d5b1 gstreamer-libde265-0.1.11.tar.gz" +sha512sums="66241bb956487db65fab903ab2bbee481fc7eb6859cfbbac4ea1c0422acaff23c312defdae83fd4e7615d4f09dcdf26c68887df96ddb1b6c350692a51df6e177 gstreamer-libde265-0.1.11.tar.gz" |