diff --git a/temp/mesa-git/APKBUILD b/temp/mesa-git/APKBUILD index ef78803dc..e3f6fc7f7 100644 --- a/temp/mesa-git/APKBUILD +++ b/temp/mesa-git/APKBUILD @@ -9,7 +9,7 @@ # conflicts pkgname=mesa-git pkgver=0_git20191101 -pkgrel=0 +pkgrel=1 _commit="c236e6c1e3224dd324b9ee3d3b501bd02ba2f177" pkgdesc="(Git) Mesa DRI OpenGL library" url="https://www.mesa3d.org" @@ -72,6 +72,7 @@ provides="mesa" replaces="mesa-dricore mesa" options="!check" # to follow alpine's standards builddir="$srcdir/mesa-$_commit" +pcprefix="mesa-git" _dri_driverdir=/usr/lib/xorg/modules/dri _dri_drivers="r100,r200,nouveau" @@ -149,6 +150,9 @@ build() { package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C output install + + # Make abuild's version check happy (#386) + sed -i s/-devel//g "$pkgdir"/usr/lib/pkgconfig/*.pc } egl() { diff --git a/temp/mesa-purism-gc7000/APKBUILD b/temp/mesa-purism-gc7000/APKBUILD index cc9e9fcc8..0a4d8c4fb 100644 --- a/temp/mesa-purism-gc7000/APKBUILD +++ b/temp/mesa-purism-gc7000/APKBUILD @@ -2,7 +2,7 @@ pkgname=mesa-purism-gc7000 provides=mesa pkgver=19.1.0_git20190919 -pkgrel=0 +pkgrel=1 _commit="995037366d5130b36e23363e25afef5b10208771" pkgdesc="Mesa DRI OpenGL library" url="https://www.mesa3d.org" @@ -58,6 +58,7 @@ source=" meson-add-toggle-for-TLS-support-in-GLX.patch " replaces="mesa-dricore" +pcprefix="mesa-purism-gc7000" _dri_driverdir=/usr/lib/dri _dri_driverdir_x11=/usr/lib/xorg/modules/dri @@ -95,6 +96,9 @@ build() { package() { cd "$builddir" ninja -C "$builddir"/build install + + # Make abuild's version check happy (#386) + sed -i s/-devel//g "$pkgdir"/usr/lib/pkgconfig/*.pc } egl() {