diff --git a/multimedia/video/x265/actions.py b/multimedia/video/x265/actions.py
index 62abed102d..f040252f5e 100644
--- a/multimedia/video/x265/actions.py
+++ b/multimedia/video/x265/actions.py
@@ -9,17 +9,64 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
+
+WorkDir="x265_3.2.1"
+
def setup():
- shelltools.cd("source")
- cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_STATIC=OFF")
+
+ shelltools.system("mkdir build8 build10 build12")
+
+ #shelltools.cd("source")
+ #cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
+ #-DENABLE_STATIC=OFF")
def build():
- shelltools.cd("source")
- cmaketools.make()
+ #shelltools.cd("source")
+
+
+ shelltools.cd("build12")
+ shelltools.system("cmake ../source -G 'Unix Makefiles' \
+ -DCMAKE_INSTALL_PREFIX='/usr'\
+ -DHIGH_BIT_DEPTH='TRUE' \
+ -DMAIN12='TRUE' \
+ -DEXPORT_C_API='FALSE' \
+ -DENABLE_CLI='FALSE'\
+ -DENABLE_SHARED='FALSE' \
+ ")
+ cmaketools.make()
+
+ shelltools.cd("../build10")
+
+ shelltools.system("cmake ../source -G 'Unix Makefiles' \
+ -DCMAKE_INSTALL_PREFIX='/usr'\
+ -DHIGH_BIT_DEPTH='TRUE' \
+ -DEXPORT_C_API='FALSE' \
+ -DENABLE_CLI='FALSE'\
+ -DENABLE_SHARED='FALSE' \
+ ")
+ cmaketools.make()
+
+ shelltools.cd("../build8")
+
+ shelltools.system("ln -s ../build10/libx265.a libx265_main10.a")
+ shelltools.system("ln -s ../build12/libx265.a libx265_main12.a")
+
+ shelltools.system("cmake ../source -G 'Unix Makefiles' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DENABLE_SHARED='TRUE' \
+ -DENABLE_HDR10_PLUS='TRUE' \
+ -DEXTRA_LIB='x265_main10.a;x265_main12.a' \
+ -DEXTRA_LINK_FLAGS='-L.' \
+ -DLINKED_10BIT='TRUE' \
+ -DLINKED_12BIT='TRUE' \
+ ")
+ cmaketools.make()
+
+
+
def install():
- shelltools.cd("source")
+ shelltools.cd("build8")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.remove("/usr/lib/libx265.a")
diff --git a/multimedia/video/x265/pspec.xml b/multimedia/video/x265/pspec.xml
index de9260e9f2..7674953612 100644
--- a/multimedia/video/x265/pspec.xml
+++ b/multimedia/video/x265/pspec.xml
@@ -13,7 +13,7 @@
app:console
Open source H265/EVC encoder
x265 is a commercially funded open source implementation of the H.265/High Efficiency Video Coding (HEVC) compression standard.
- https://bitbucket.org/multicoreware/x265/downloads/x265_3.2.tar.gz
+ https://bitbucket.org/multicoreware/x265/downloads/x265_3.2.1.tar.gz
yasm-devel
cmake
@@ -47,6 +47,13 @@
+
+ 2020-01-17
+ 3.2.1
+ Version Bump.
+ Pisi Linux Community
+ admin@pisilinux.org
+
2019-10-06
3.2