summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkfg2015-10-15 17:10:00 +0200
committerkfg2015-10-15 17:10:00 +0200
commit3c8f6265cb2f153eb0dde5979ffdbc57d3f2d9ea (patch)
tree00c70017b62a1d447fcceb3bad8c6f0cac4bb26c /PKGBUILD
parent642f4e174d5b5c24f9926c88b5ce9fcdfdfac945 (diff)
downloadaur-3c8f6265cb2f153eb0dde5979ffdbc57d3f2d9ea.tar.gz
Removed references to x265 executable in shared library
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
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