Commit 1a5adf51 authored by Natanael Copa's avatar Natanael Copa

main/mesa: upgrade to 18.3.5, use llvm7

main mesa package contains common config so let subpackages depend on
that.

We also dont need the replaces="mesa" since apk can handle that nowdays
and have been able to do so for years now.
parent b2e8b624
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=18.2.8
pkgver=18.3.5
pkgrel=0
pkgdesc="Mesa DRI OpenGL library"
url="https://www.mesa3d.org"
......@@ -17,7 +17,7 @@ subpackages="
$pkgname-xatracker $pkgname-osmesa $pkgname-gbm
$pkgname-vulkan-ati:_vulkan
"
_llvmver=5
_llvmver=7
depends_dev="
libdrm-dev
libxext-dev
......@@ -142,7 +142,7 @@ package() {
egl() {
pkgdesc="Mesa libEGL runtime libraries"
replaces="mesa"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libEGL.so* "$subpkgdir"/usr/lib/
......@@ -150,7 +150,7 @@ egl() {
gl() {
pkgdesc="Mesa libGL runtime libraries"
replaces="mesa"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libGL.so* "$subpkgdir"/usr/lib/
......@@ -166,7 +166,7 @@ glapi() {
gles() {
pkgdesc="Mesa libGLESv2 runtime libraries"
replaces="mesa"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libGLES*.so* "$subpkgdir"/usr/lib/
......@@ -174,6 +174,7 @@ gles() {
xatracker() {
pkgdesc="Mesa XA state tracker for vmware"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libxatracker*.so.* "$subpkgdir"/usr/lib/
......@@ -181,6 +182,7 @@ xatracker() {
osmesa() {
pkgdesc="Mesa offscreen rendering libraries"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libOSMesa.so.* "$subpkgdir"/usr/lib/
......@@ -188,7 +190,7 @@ osmesa() {
gbm() {
pkgdesc="Mesa gbm library"
replaces="mesa"
depends="mesa"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgbm.so.* "$subpkgdir"/usr/lib/
......@@ -247,6 +249,7 @@ _mv_va() {
_dri() {
local n=${subpkgname##*-dri-}
pkgdesc="Mesa DRI driver for $n"
depends="mesa"
case $n in
ati)
......@@ -285,6 +288,7 @@ _dri() {
_vulkan() {
local n=${subpkgname##*-vulkan-}
pkgdesc="Mesa Vulkan API driver for $n"
depends="mesa"
case $n in
ati)
......@@ -293,7 +297,7 @@ _vulkan() {
_mv_vulkan intel ;;
esac
}
sha512sums="04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7 mesa-18.2.8.tar.xz
sha512sums="f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c mesa-18.3.5.tar.xz
cdf22d2da3328e116c379264886bd01fd3ad5cc45fe03dc6fd97bdc4794502598ee195c0b9d975fa264d6ac31c6fa108c0535c91800ecf4fcabfd308e53074cc adjust-cache-deflate-buffer.patch
8a434ffefdc6ce924d613727a8649b9a77ad9f0ed0674c9cfb8f6ff0fec483f9318e681254535b62c957db1d0432f96427f917e2f139f4c65ef761bffb528255 glx_ro_text_segm.patch
cf849044d6cc7d2af4ff015208fb09d70bf9660538699797da21bda2ecb7c1892d312af83d05116afd826708d9caafb1d05a13f09139c558aea6fee931e3eee7 musl-fix-includes.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment