[arch-commits] Commit in x265/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Thu Jun 27 14:55:56 UTC 2019


    Date: Thursday, June 27, 2019 @ 14:55:55
  Author: alucryd
Revision: 356969

upgpkg: x265 3.1-1

Modified:
  x265/trunk/PKGBUILD

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++------------------------
 1 file changed, 28 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 14:53:17 UTC (rev 356968)
+++ PKGBUILD	2019-06-27 14:55:55 UTC (rev 356969)
@@ -3,17 +3,21 @@
 # Contributor: kfgz <kfgz at interia.pl>
 
 pkgname=x265
-pkgver=3.0
+pkgver=3.1
 pkgrel=1
 pkgdesc='Open Source H265/HEVC video encoder'
-arch=('x86_64')
-url='https://bitbucket.org/multicoreware/x265'
-license=('GPL')
+arch=(x86_64)
+url=https://bitbucket.org/multicoreware/x265
+license=(GPL)
 depends=()
-makedepends=('cmake' 'mercurial' 'nasm')
-provides=('libx265.so')
-source=("hg+https://bitbucket.org/multicoreware/x265#tag=${pkgver}")
-sha256sums=('SKIP')
+makedepends=(
+  cmake
+  mercurial
+  nasm
+)
+provides=(libx265.so)
+source=(hg+https://bitbucket.org/multicoreware/x265#tag=${pkgver})
+sha256sums=(SKIP)
 
 prepare() {
   cd x265
@@ -30,22 +34,22 @@
   cd x265/build-12
 
   cmake ../source \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DHIGH_BIT_DEPTH='TRUE' \
-    -DMAIN12='TRUE' \
-    -DEXPORT_C_API='FALSE' \
-    -DENABLE_CLI='FALSE' \
-    -DENABLE_SHARED='FALSE'
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DHIGH_BIT_DEPTH=TRUE \
+    -DMAIN12=TRUE \
+    -DEXPORT_C_API=FALSE \
+    -DENABLE_CLI=FALSE \
+    -DENABLE_SHARED=FALSE
   make
 
   cd ../build-10
 
   cmake ../source \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DHIGH_BIT_DEPTH='TRUE' \
-    -DEXPORT_C_API='FALSE' \
-    -DENABLE_CLI='FALSE' \
-    -DENABLE_SHARED='FALSE'
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DHIGH_BIT_DEPTH=TRUE \
+    -DEXPORT_C_API=FALSE \
+    -DENABLE_CLI=FALSE \
+    -DENABLE_SHARED=FALSE
   make
 
   cd ../build-8
@@ -54,13 +58,13 @@
   ln -s ../build-12/libx265.a libx265_main12.a
 
   cmake ../source \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DENABLE_SHARED='TRUE' \
-    -DENABLE_HDR10_PLUS='TRUE' \
+    -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'
+    -DLINKED_10BIT=TRUE \
+    -DLINKED_12BIT=TRUE
   make
 }
 



More information about the arch-commits mailing list