summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfg2015-10-15 17:10:00 +0200
committerkfg2015-10-15 17:10:00 +0200
commit3c8f6265cb2f153eb0dde5979ffdbc57d3f2d9ea (patch)
tree00c70017b62a1d447fcceb3bad8c6f0cac4bb26c
parent642f4e174d5b5c24f9926c88b5ce9fcdfdfac945 (diff)
downloadaur-3c8f6265cb2f153eb0dde5979ffdbc57d3f2d9ea.tar.gz
Removed references to x265 executable in shared library
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45e2fe5be2c..0a3385169a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-x265
pkgdesc = Open Source H265/HEVC video encoder (mingw-w64)
pkgver = 1.8
- pkgrel = 1
+ pkgrel = 2
url = https://bitbucket.org/multicoreware/x265
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index c2a63901be1..6f26f4f3ab8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mingw-w64-x265
pkgver=1.8
-pkgrel=1
+pkgrel=2
pkgdesc='Open Source H265/HEVC video encoder (mingw-w64)'
arch=('any')
url='https://bitbucket.org/multicoreware/x265'
@@ -27,9 +27,11 @@ build() {
unset LDFLAGS CPPFLAGS
${_arch}-cmake -G "Unix Makefiles" \
- -DCMAKE_INSTALL_PREFIX=/usr/${_arch} \
- -DLIB_INSTALL_DIR="lib" \
- "${srcdir}"/x265_11047/source
+ -DCMAKE_INSTALL_PREFIX=/usr/${_arch} \
+ -DLIB_INSTALL_DIR="lib" \
+ -DENABLE_SHARED='TRUE' \
+ -DENABLE_CLI='FALSE' \
+ "${srcdir}"/x265_11047/source
make
done
}
@@ -39,7 +41,6 @@ package() {
cd "${srcdir}"/build-${_arch}
make DESTDIR="$pkgdir" install
- rm "${pkgdir}"/usr/${_arch}/bin/*.exe
${_arch}-strip -x -g "${pkgdir}"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a
done