summaryrefslogtreecommitdiffstats
path: root/abs/core/x265
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-05-04 20:50:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-05-04 20:50:11 (GMT)
commit9552d6997572056a5198515ae5a209191b0d2479 (patch)
tree85904ddf279666cfc78e0d22856fc0c75afcf4c7 /abs/core/x265
parente85b9416c808cadbcc11974c6ed41b7b31356b7a (diff)
downloadlinhes_pkgbuild-9552d6997572056a5198515ae5a209191b0d2479.zip
linhes_pkgbuild-9552d6997572056a5198515ae5a209191b0d2479.tar.gz
linhes_pkgbuild-9552d6997572056a5198515ae5a209191b0d2479.tar.bz2
x265: initial inclusion. dep of ffmpeg
Diffstat (limited to 'abs/core/x265')
-rw-r--r--abs/core/x265/PKGBUILD27
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
+}