summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 86474d8d59d..9103bb9c7a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Karl-Felix Glatzer <karl.glatzer@gmx.de>
pkgname=mingw-w64-x265
-pkgver=3.1.2
+pkgver=3.2
pkgrel=1
pkgdesc='Open Source H265/HEVC video encoder (mingw-w64)'
arch=('any')
@@ -10,12 +10,18 @@ license=('GPL')
depends=('mingw-w64-crt')
options=(!strip !buildflags staticlibs)
makedepends=('mingw-w64-cmake' 'mercurial' 'nasm')
-source=("hg+https://bitbucket.org/multicoreware/x265#tag=${pkgver}"
+source=(hg+https://bitbucket.org/multicoreware/x265#revision=353572437201d551381002aebf20d244bd49ef17
mingw.patch)
sha256sums=('SKIP'
'b1953c70b734b91e7916448c4636b70305c1d5bfaf86f17f94b769499635a191')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+pkgver() {
+ cd x265
+
+ hg id --tags
+}
+
prepare() {
cd x265
patch -Np1 -i "${srcdir}/mingw.patch"