diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-13 15:15:55 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-13 15:16:31 +0200 |
commit | e33c4c9fe785c05c48c2319eb5b3b4762aa2352c (patch) | |
tree | 78966e0e2c1c05531a654cb76e584dc426a7025a /testing | |
parent | a1f4edf330ef50bd6e4f14071805e1abb7005fae (diff) | |
download | aports-e33c4c9fe785c05c48c2319eb5b3b4762aa2352c.tar.bz2 aports-e33c4c9fe785c05c48c2319eb5b3b4762aa2352c.tar.xz |
testing/libde265: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libde265/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/libde265/APKBUILD b/testing/libde265/APKBUILD new file mode 100644 index 0000000000..341814293e --- /dev/null +++ b/testing/libde265/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=libde265 +pkgver=0.9 +pkgrel=0 +pkgdesc="Open h.265 video codec implementation" +url="https://github.com/strukturag/libde265" +arch="all" +license="LGPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/strukturag/libde265/releases/download/v$pkgver/libde265-$pkgver.tar.gz" + +_builddir="$srcdir"/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 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="09613faccdc87960700c87baabf10ff6 libde265-0.9.tar.gz" +sha256sums="b6791191f0a936dd99cad41fdf04e1a97d9ac902f8b8e01416266bb050fa1930 libde265-0.9.tar.gz" +sha512sums="bf4250285b72b63e3856530c585511321cf35741ac2a2365a008122ae202d167eed790278746a878fb33e3093d8db5ed3590c32ef369cb3f529037bdadf323fa libde265-0.9.tar.gz" |