mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/libva: check that version corresponds with libva-glx
This commit is contained in:
parent
bca1f0caf3
commit
e751b0fc45
@ -16,6 +16,13 @@ subpackages="$pkgname-dev"
|
|||||||
source="https://github.com/01org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
|
source="https://github.com/01org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
( if [ -f "$startdir"/../libva-glx/APKBUILD ]; then
|
||||||
|
_v=$pkgver
|
||||||
|
. "$startdir"/../libva-glx/APKBUILD
|
||||||
|
if [ "$_v" != "$pkgver" ]; then
|
||||||
|
die "libva and libva-glx needs to be same version"
|
||||||
|
fi
|
||||||
|
fi )
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
default_prepare
|
default_prepare
|
||||||
# we need to regen the configure script which will unconditionally
|
# we need to regen the configure script which will unconditionally
|
||||||
|
Loading…
Reference in New Issue
Block a user