summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfg2020-12-14 00:06:17 +0100
committerkfg2020-12-17 20:57:39 +0100
commit3ec1668badfd2d269693f9848c331671e8c60bf6 (patch)
tree4dc048d75bd317656609fd7516ecf2d4bbe90dc8
parentec03a26249376da3199f24fd195aefbc3ec38430 (diff)
downloadaur-3ec1668badfd2d269693f9848c331671e8c60bf6.tar.gz
Switch source to git
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ba9e4607e3b..8d6ae9944d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
pkgbase = mingw-w64-x265
pkgdesc = Open Source H265/HEVC video encoder (mingw-w64)
pkgver = 3.4
- pkgrel = 1
- url = https://bitbucket.org/multicoreware/x265
+ pkgrel = 2
+ url = https://www.videolan.org/developers/x265.html
arch = any
license = GPL
makedepends = mingw-w64-cmake
- makedepends = mercurial
+ makedepends = git
makedepends = nasm
makedepends = ninja
depends = mingw-w64-crt
options = !strip
options = !buildflags
options = staticlibs
- source = hg+https://bitbucket.org/multicoreware/x265#tag=2a65b720985096bcb1664f7cb05c3d04aeb576f5
+ source = x265::git+https://bitbucket.org/multicoreware/x265_git.git#tag=a4f320054d67fc3cff04ef72ac3382a4925d53b9
source = mingw.patch
sha256sums = SKIP
sha256sums = b1953c70b734b91e7916448c4636b70305c1d5bfaf86f17f94b769499635a191
diff --git a/PKGBUILD b/PKGBUILD
index 37831282b80..f8469cc9b33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,16 @@
pkgname=mingw-w64-x265
pkgver=3.4
-pkgrel=1
+pkgrel=2
pkgdesc='Open Source H265/HEVC video encoder (mingw-w64)'
arch=('any')
-url='https://bitbucket.org/multicoreware/x265'
+url='https://www.videolan.org/developers/x265.html'
license=('GPL')
depends=('mingw-w64-crt')
options=(!strip !buildflags staticlibs)
-makedepends=('mingw-w64-cmake' 'mercurial' 'nasm' 'ninja')
-source=(hg+https://bitbucket.org/multicoreware/x265#tag=2a65b720985096bcb1664f7cb05c3d04aeb576f5
+makedepends=('mingw-w64-cmake' 'git' 'nasm' 'ninja')
+_tag=a4f320054d67fc3cff04ef72ac3382a4925d53b9
+source=(x265::git+https://bitbucket.org/multicoreware/x265_git.git#tag=${_tag}
mingw.patch)
sha256sums=('SKIP'
'b1953c70b734b91e7916448c4636b70305c1d5bfaf86f17f94b769499635a191')
@@ -19,7 +20,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
pkgver() {
cd x265
- hg id --tags
+ git describe --tags | sed 's/^v//'
}
prepare() {