summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Demers2021-04-02 15:07:30 -0400
committerAlexandre Demers2021-04-02 15:07:30 -0400
commit9090ccae3b94ffafca0f0248d102b00440617a0e (patch)
tree39aa08a704455a9be95aeb9072ff23c28410a7ba
parent82352c2f007b1886410b0e61847a383b9b325e0b (diff)
downloadaur-9090ccae3b94ffafca0f0248d102b00440617a0e.tar.gz
Add a version restriction to be sure native and lib32 packages are in sync
This will prevent error when building other packages (lib32-ffmpeg) if a mismatch between native and lib32 was to be found. Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b78e42ed0b8..08511d9fc52e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-x264
pkgdesc = Open Source H264/AVC video encoder (32 bit)
pkgver = 0.161.r3039.544c61f
- pkgrel = 1
+ pkgrel = 2
epoch = 3
url = https://www.videolan.org/developers/x264.html
arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = lib32-x264
makedepends = git
makedepends = nasm
makedepends = lib32-gcc-libs
- depends = x264
+ depends = x264=3:0.161.r3039.544c61f
depends = lib32-glibc
depends = lib32-l-smash
provides = lib32-libx264
diff --git a/PKGBUILD b/PKGBUILD
index 57fecf6d6b46..e2ba36cc75c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,13 +9,13 @@
_pkgbasename=x264
pkgname=lib32-x264
pkgver=0.161.r3039.544c61f
-pkgrel=1
+pkgrel=2
epoch=3
pkgdesc='Open Source H264/AVC video encoder (32 bit)'
arch=('x86_64')
url='https://www.videolan.org/developers/x264.html'
license=('GPL')
-depends=('x264' 'lib32-glibc' 'lib32-l-smash')
+depends=("x264=${epoch}:${pkgver}" 'lib32-glibc' 'lib32-l-smash')
makedepends=('git' 'nasm' 'lib32-gcc-libs')
provides=('lib32-libx264' 'libx264.so')
conflicts=('lib32-libx264' 'lib32-libx264-10bit' 'lib32-libx264-all')