diff options
Diffstat (limited to 'abs/core/x265/PKGBUILD')
-rw-r--r-- | abs/core/x265/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
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 <bpiotrowski@archlinux.org> +# Contributor: kfgz <kfgz at interia pl> + +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 +} |