From 9552d6997572056a5198515ae5a209191b0d2479 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 4 May 2014 20:50:11 +0000 Subject: x265: initial inclusion. dep of ffmpeg --- abs/core/x265/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 abs/core/x265/PKGBUILD diff --git a/abs/core/x265/PKGBUILD b/abs/core/x265/PKGBUILD new file mode 100644 index 0000000..5ee7836 --- /dev/null +++ b/abs/core/x265/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski +# Contributor: kfgz + +pkgname=x265 +pkgver=0.9 +pkgrel=1 +pkgdesc='Open Source H265/HEVC video encoder' +arch=('i686' 'x86_64') +license=('GPL') +depends=('gcc-libs') +makedepends=('yasm' 'cmake') +url='https://bitbucket.org/multicoreware/x265' +source=($url/get/$pkgver.tar.bz2) +md5sums=('0cc0b0189cf9ed7422aad98633c6de8f') + +build() { + cd multicoreware-x265-*/build/linux + [[ $CARCH == x86_64 ]] && LDFLAGS+=',-z,noexecstack' + cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source + make +} + +package() { + cd multicoreware-x265-*/build/linux + make DESTDIR="$pkgdir" install +} -- cgit v0.12