summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorkfg2015-10-11 17:06:56 +0200
committerkfg2015-10-11 17:06:56 +0200
commit642f4e174d5b5c24f9926c88b5ce9fcdfdfac945 (patch)
tree6f9f87d8f94fe8192b479e6828629204a7f09a2b /PKGBUILD
parent5e02166b13b0a5f15424ad635351074d6fc819b7 (diff)
downloadaur-642f4e174d5b5c24f9926c88b5ce9fcdfdfac945.tar.gz
upgpkg: mingw-w64-x265 1.8-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 838272e6b2f..c2a63901be1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Karl-Felix Glatzer <karl.glatzer@gmx.de>
pkgname=mingw-w64-x265
-pkgver=1.7
+pkgver=1.8
pkgrel=1
pkgdesc='Open Source H265/HEVC video encoder (mingw-w64)'
arch=('any')
@@ -10,15 +10,14 @@ license=('GPL')
depends=('mingw-w64-crt')
options=(!strip !buildflags staticlibs)
makedepends=('mingw-w64-gcc' 'yasm' 'mingw-w64-cmake' 'mingw-w64-pkg-config')
-#source=($url/get/$pkgver.tar.bz2
-source=(x265-$pkgver.tar.bz2::$url/get/$pkgver.tar.bz2
+source=("https://bitbucket.org/multicoreware/x265/downloads/x265_${pkgver}.tar.gz"
mingw.patch)
-md5sums=('d6020c277b05ab44f8222342aaa9c99f'
+md5sums=('8b7ef9bc0b5bd26965d05a4508effeed'
'd1f6263ad2f345673a8b0ece73f68338')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
- cd multicoreware-x265-*/
+ cd x265_11047
patch -Np1 -i "${srcdir}/mingw.patch"
}
@@ -27,7 +26,10 @@ build() {
mkdir -p "${srcdir}"/build-${_arch} && cd "${srcdir}"/build-${_arch}
unset LDFLAGS CPPFLAGS
- ${_arch}-cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/${_arch} -DLIB_INSTALL_DIR="lib" "${srcdir}"/multicoreware-x265-*/source
+ ${_arch}-cmake -G "Unix Makefiles" \
+ -DCMAKE_INSTALL_PREFIX=/usr/${_arch} \
+ -DLIB_INSTALL_DIR="lib" \
+ "${srcdir}"/x265_11047/source
make
done
}
@@ -42,3 +44,5 @@ package() {
${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a
done
}
+
+# vim: ts=2 sw=2 et: