Commit 8dd0f0e5 authored by Luca Giambonini's avatar Luca Giambonini

lib32-mesa 19.1.4 and lib32-libdrm 2.4.99 [skip-ci]

parent 887ad74f
Pipeline #4096 skipped
_pkgbasename=libdrm
pkgname=lib32-$_pkgbasename
pkgver=2.4.92
pkgver=2.4.99
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services (32-bit)"
url="https://dri.freedesktop.org/"
......@@ -11,7 +11,7 @@ makedepends=('valgrind' 'meson')
checkdepends=('lib32-cairo')
source=(https://dri.freedesktop.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2{,.sig}
no-drmdevice-test.diff)
sha512sums=('9b75584d8957d298125884d490b74c0a641725d17088ba47f3dc2ec9d06519d8387eb464c024ee11712b31b17fb84e1a9a52bd4ebc7c316beb7d2f8711dc9eb2'
sha512sums=('04702eebe8dca97fac61653623804fdcb0b8b3714bdc6f5e72f0dfdce9c9524cf16f69d37aa9feac79ddc1c11939be44a216484563a612414668ea5eaeadf191'
'SKIP'
'f1dd5d8c2270c092ccb8e4f92a0da9ab27706dfa22dcedd3fb2414b968ced9333c8bf62baf0219b822e43dce0d804d1dd5cc27d09b0afe8c01967c1784d4a4bb')
validpgpkeys=('B97BD6A80CAC4981091AE547FE558C72A67013C3') # Maarten Lankhorst <maarten.lankhorst@canonical.com>
......
pkgbase=lib32-mesa
pkgname=('lib32-vulkan-intel' 'lib32-vulkan-radeon' 'lib32-libva-mesa-driver' 'lib32-mesa-vdpau' 'lib32-mesa')
pkgver=18.2.6
pkgver=19.1.4
pkgrel=1
arch=('x86_64')
makedepends=('python2-mako' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'dri3proto' 'presentproto'
makedepends=('python3-mako' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'dri3proto' 'presentproto'
'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-libxdamage' 'lib32-gcc-libs' 'lib32-libelf' 'lib32-llvm' 'lib32-libvdpau'
'lib32-libva' 'lib32-wayland' 'wayland-protocols' 'lib32-libglvnd' 'lib32-lm_sensors' 'lib32-libxrandr' 'meson')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
LICENSE)
sha512sums=('a7dd02f67384bb800dff70a0672a968ced96bb438605cdb39bde3e468d4dcf6162414a44e5da1abe7a1831fceb6f23e6c850eb5f80cfc5ee3861c14924c10ed4'
LICENSE
glesv2.pc)
sha512sums=('234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5'
'SKIP'
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7'
'67b9484f5131beea834192ef185d4eb2d4b77d12302d7a99337c3fb59cb6a2bee10a70d01e92554a0ff74eca04a8197b300b63ebde0aace55c249021b3383179')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com>
'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895' # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>"
......@@ -36,7 +38,7 @@ build() {
-D b_ndebug=true \
-D platforms=x11,wayland,drm,surfaceless \
-D dri-drivers=i915,i965,r100,r200,nouveau \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris \
-D vulkan-drivers=amd,intel \
-D swr-arches=avx,avx2 \
-D dri3=true \
......@@ -50,7 +52,7 @@ build() {
-D gallium-xa=true \
-D gallium-xvmc=false \
-D gbm=true \
-D gles1=true \
-D gles1=false \
-D gles2=true \
-D glvnd=true \
-D glx=dri \
......@@ -59,7 +61,6 @@ build() {
-D lmsensors=true \
-D osmesa=gallium \
-D shared-glapi=true \
-D texture-float=true \
-D valgrind=false
# Print config
......@@ -141,11 +142,6 @@ package_lib32-mesa() {
_install fakeinstall/usr/lib32/libxatracker.so*
_install fakeinstall/usr/lib32/pkgconfig
# in libglvnd
rm -v fakeinstall/usr/lib32/libGLESv{1_CM,2}.so*
_install fakeinstall/usr/lib32/pkgconfig
# libglvnd support
_install fakeinstall/usr/lib32/libGLX_mesa.so*
_install fakeinstall/usr/lib32/libEGL_mesa.so*
......@@ -153,12 +149,15 @@ package_lib32-mesa() {
# indirect rendering
ln -s /usr/lib32/libGLX_mesa.so.0 "${pkgdir}/usr/lib32/libGLX_indirect.so.0"
rm -rv fakeinstall/etc
rm -rv fakeinstall/usr/share/drirc.d
rm -rv fakeinstall/usr/include
rm -rv fakeinstall/usr/share
# make sure there are no files left to install
find fakeinstall -depth -print0 | xargs -0 rmdir
# bring back missing glesv2.pc
install -m644 -Dt ${pkgdir}/usr/lib32/pkgconfig ${srcdir}/glesv2.pc
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
prefix=/usr
libdir=${prefix}/lib32
includedir=${prefix}/include
Name: glesv2
Description: Mesa OpenGL ES 2.0 library
Version: 19.1.0
Libs: -L${libdir} -lGLESv2
Libs.private: -lpthread -pthread -lm -ldl
Cflags: -I${includedir}
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