ports/contrib (3.1): x265: initial import
commit 52da0d42a76d3833171ea9574107cbe8c980c414 Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Oct 22 20:58:48 2014 +1100 x265: initial import diff --git a/x265/.footprint b/x265/.footprint new file mode 100644 index 0000000..40a6c2c --- /dev/null +++ b/x265/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/x265 +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/x265.h +-rw-r--r-- root/root usr/include/x265_config.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libx265.a +lrwxrwxrwx root/root usr/lib/libx265.so -> libx265.so.31 +-rwxr-xr-x root/root usr/lib/libx265.so.31 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/x265.pc diff --git a/x265/.md5sum b/x265/.md5sum new file mode 100644 index 0000000..4499ddb --- /dev/null +++ b/x265/.md5sum @@ -0,0 +1 @@ +ce3a14d588ff7f734d87349b2e58971b 1.3.tar.bz2 diff --git a/x265/Pkgfile b/x265/Pkgfile new file mode 100644 index 0000000..de6af9f --- /dev/null +++ b/x265/Pkgfile @@ -0,0 +1,24 @@ +# Description: Open Source H265/HEVC video encoder. +# URL: https://bitbucket.org/multicoreware/x265/wiki/Home +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Danny Rawlins, monster dot romster at gmail dot com +# Depends on: yasm cmake + +name=x265 +version=1.3 +release=1 +source=(https://bitbucket.org/multicoreware/x265/get/$version.tar.bz2) + +build() { + cd multicoreware-$name-*/build/linux + + # setting CC and CXX breaks compilation + if [ -n "$(pkginfo -i | grep '^ccache ')" ]; then + unset CC CXX + export PATH="/usr/lib/ccache/:$PATH" + fi + + cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source + make + make DESTDIR=$PKG install +}
participants (1)
-
crux@crux.nu