summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO126
-rw-r--r--PKGBUILD284
2 files changed, 139 insertions, 271 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eac2f4efe98..cc579a5e3c2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = lib32-mesa-git
- pkgdesc = an open-source implementation of the OpenGL specification, git version for multilib applications
- pkgver = 13.1.0_devel.86870.28c781b
+ pkgdesc = an open-source implementation of the OpenGL specification, git version
+ pkgver = 17.1.0_devel.89365.010fecb853
pkgrel = 1
url = http://mesa3d.sourceforge.net
arch = x86_64
license = custom
- makedepends = python2
+ makedepends = python2-mako
makedepends = lib32-libxml2
- makedepends = lib32-expat
makedepends = lib32-libx11
makedepends = glproto
makedepends = lib32-libdrm
@@ -18,112 +17,65 @@ pkgbase = lib32-mesa-git
makedepends = lib32-libxxf86vm
makedepends = lib32-libxdamage
makedepends = gcc-multilib
- makedepends = lib32-elfutils
- makedepends = lib32-systemd
makedepends = lib32-libvdpau
makedepends = lib32-wayland
- makedepends = python2-mako
- makedepends = lib32-libtxc_dxtn
+ makedepends = lib32-libelf
+ makedepends = lib32-llvm-svn
makedepends = git
- makedepends = lib32-nettle
+ makedepends = lib32-libtxc_dxtn
+ makedepends = lib32-libgcrypt
+ makedepends = lib32-systemd
makedepends = mesa-git
- makedepends = libva-mesa-driver-git
- makedepends = mesa-vdpau-git
- makedepends = mesa-libgl-git
- makedepends = mesa-vulkan-intel-git
- makedepends = mesa-vulkan-radeon-git
makedepends = lib32-llvm-libs-svn
- makedepends = lib32-llvm-svn
- makedepends = lib32-libxvmc
- source = mesa::git://anongit.freedesktop.org/mesa/mesa#branch=master
+ source = mesa::git+https://anongit.freedesktop.org/git/mesa/mesa.git
source = LICENSE
source = disable-pthread-stubs-on-linux.patch
sha512sums = SKIP
sha512sums = 25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2
sha512sums = 1a8ffbc194a8264ae08cad7b886ec87cd331047f35272fdcb11901ddb0c6f64e2cd69af946e01254c9df8fe881ad1e42162202e1bc38db97aaf294313fb0f9ce
-pkgname = lib32-mesa-vdpau-git
- pkgdesc = Mesa VDPAU drivers (32-bit)
+pkgname = lib32-mesa-git
+ pkgdesc = an open-source implementation of the OpenGL specification, git version
+ depends = mesa-git
depends = lib32-libdrm
- depends = lib32-libx11
- depends = lib32-expat
- depends = lib32-llvm-libs-svn
- depends = lib32-elfutils
- depends = mesa-vdpau-git
- depends = lib32-nettle
- provides = lib32-mesa-vdpau
- conflicts = lib32-mesa-vdpau
- replaces = lib32-mesa-vdpau
-
-pkgname = lib32-mesa-vulkan-intel-git
- pkgdesc = Vulkan driver for selected intel graphic chipsets
depends = lib32-wayland
- depends = lib32-libxcb
+ depends = lib32-libxxf86vm
+ depends = lib32-libxdamage
depends = lib32-libxshmfence
- depends = lib32-nettle
- depends = mesa-vulkan-intel-git
+ depends = lib32-elfutils
+ depends = lib32-libtxc_dxtn
+ depends = lib32-llvm-libs-svn
+ optdepends = opengl-man-pages: for the OpenGL API man pages
+ provides = lib32-mesa
+ provides = lib32-opencl-mesa
provides = lib32-vulkan-intel
- conflicts = lib32-vulkan-intel
- replaces = lib32-vulkan-intel
-
-pkgname = lib32-mesa-vulkan-radeon-git
- pkgdesc = Vulkan mesa driver for selected amd gpus (32-bit git version)
- depends = mesa-vulkan-radeon-git
- depends = lib32-vulkan-icd-loader
- depends = lib32-libgcrypt
- depends = lib32-wayland
- depends = lib32-libxcb
provides = lib32-vulkan-radeon
+ provides = lib32-libva-mesa-driver
+ provides = lib32-mesa-vdpau
+ conflicts = lib32-mesa
+ conflicts = lib32-opencl-mesa
+ conflicts = lib32-vulkan-intel
conflicts = lib32-vulkan-radeon
+ conflicts = lib32-libva-mesa-driver
+ conflicts = lib32-mesa-vdpau
+ replaces = lib32-mesa
+ replaces = lib32-opencl-mesa
+ replaces = lib32-vulkan-intel
replaces = lib32-vulkan-radeon
+ replaces = lib32-libva-mesa-driver
+ replaces = lib32-mesa-vdpau
pkgname = lib32-mesa-libgl-git
- pkgdesc = Mesa 3-D graphics library (32-bit)
+ pkgdesc = Mesa 3-D graphics library
depends = lib32-mesa-git
- provides = lib32-mesa-libgl=13.1.0-devel
- provides = lib32-libgl=13.1.0-devel
- provides = lib32-libegl
+ provides = lib32-mesa-libgl
+ provides = lib32-libgl
provides = lib32-libgles
+ provides = lib32-libegl
conflicts = lib32-mesa-libgl
- conflicts = lib32-libegl
conflicts = lib32-libgles
+ conflicts = lib32-libegl
replaces = lib32-mesa-libgl
-
-pkgname = lib32-libva-mesa-driver-git
- pkgdesc = VA-API implementation for gallium (32-bit)
- depends = lib32-libdrm
- depends = lib32-libx11
- depends = lib32-llvm-libs-svn
- depends = lib32-expat
- depends = lib32-elfutils
- depends = lib32-nettle
- depends = libva-mesa-driver-git
- provides = lib32-libva-mesa-driver=13.1.0-devel
- conflicts = lib32-libva-mesa-driver
-
-pkgname = lib32-mesa-git
- pkgdesc = an open-source implementation of the OpenGL specification (32-bit)
- depends = lib32-libdrm
- depends = lib32-libxxf86vm
- depends = lib32-libxdamage
- depends = lib32-libxshmfence
- depends = lib32-systemd
- depends = lib32-elfutils
- depends = lib32-llvm-libs-svn
- depends = lib32-wayland
- depends = lib32-libtxc_dxtn
- depends = mesa-git
- depends = lib32-libxvmc
- depends = lib32-nettle
- optdepends = opengl-man-pages: for the OpenGL API man pages
- optdepends = lib32-mesa-vdpau-git: for accelerated video playback
- provides = lib32-mesa=13.1.0-devel
- provides = lib32-mesa-dri
- provides = lib32-mesa-r300-r600-radeonsi-git
- conflicts = lib32-mesa
- conflicts = lib32-mesa-dri
- conflicts = lib32-mesa-r300-r600-radeonsi-git
- replaces = lib32-mesa
- replaces = lib32-mesa-dri
- replaces = lib32-mesa-r300-r600-radeonsi-git
+ replaces = lib32-libgles
+ replaces = lib32-libegl
diff --git a/PKGBUILD b/PKGBUILD
index 8a1fd3edbff..ab23b064194 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
# Maintainer: Lone_Wolf <lonewolf at xs4all dot nl>
# Contributor: Armin K. <krejzi at email dot com>
-# Contributor: Jesse Jaara <jesse.jaara@gmail.com>
# Contributor: Kristian Klausen <klausenbusk@hotmail.com>
# Contributor: Egon Ashrafinia <e.ashrafinia@gmail.com>
# Contributor: Tavian Barnes <tavianator@gmail.com>
@@ -11,240 +10,157 @@
# Contributor: Diego Jose <diegoxter1006@gmail.com>
pkgbase=lib32-mesa-git
-pkgname=('lib32-mesa-vdpau-git' 'lib32-mesa-vulkan-intel-git' 'lib32-mesa-vulkan-radeon-git' 'lib32-mesa-libgl-git' 'lib32-libva-mesa-driver-git' 'lib32-mesa-git')
-pkgdesc="an open-source implementation of the OpenGL specification, git version for multilib applications"
-pkgver=13.1.0_devel.86870.28c781b
+pkgname=('lib32-mesa-git' 'lib32-mesa-libgl-git')
+pkgdesc="an open-source implementation of the OpenGL specification, git version"
+pkgver=17.1.0_devel.89365.010fecb853
pkgrel=1
arch=('x86_64')
-makedepends=('python2' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'dri3proto' 'presentproto'
- 'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-libxdamage' 'gcc-multilib' 'lib32-elfutils' 'lib32-systemd'
- 'lib32-libvdpau' 'lib32-wayland' 'python2-mako' 'lib32-libtxc_dxtn' 'git' 'lib32-nettle'
- 'mesa-git' 'libva-mesa-driver-git' 'mesa-vdpau-git' 'mesa-libgl-git' 'mesa-vulkan-intel-git' 'mesa-vulkan-radeon-git' 'lib32-llvm-libs-svn' 'lib32-llvm-svn' 'lib32-libxvmc'
- )
+makedepends=('python2-mako' 'lib32-libxml2' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'dri3proto' 'presentproto'
+ 'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-libxdamage' 'gcc-multilib' 'lib32-libvdpau' 'lib32-wayland' 'lib32-libelf' 'lib32-llvm-svn'
+ 'git' 'lib32-libtxc_dxtn' 'lib32-libgcrypt' 'lib32-systemd'
+ 'mesa-git' 'lib32-llvm-libs-svn')
url="http://mesa3d.sourceforge.net"
license=('custom')
-source=('mesa::git://anongit.freedesktop.org/mesa/mesa#branch=master'
+source=('mesa::git+https://anongit.freedesktop.org/git/mesa/mesa.git'
'LICENSE'
'disable-pthread-stubs-on-linux.patch'
- )
+)
sha512sums=('SKIP'
'25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2'
'1a8ffbc194a8264ae08cad7b886ec87cd331047f35272fdcb11901ddb0c6f64e2cd69af946e01254c9df8fe881ad1e42162202e1bc38db97aaf294313fb0f9ce'
- )
+)
prepare() {
- cd ${srcdir}/mesa
-
+ cd mesa
# pthread-stubs is useless on linux
- patch -Np1 -i "${srcdir}"/disable-pthread-stubs-on-linux.patch
+ patch -Np1 -i "$srcdir"/disable-pthread-stubs-on-linux.patch
}
pkgver() {
- cd "${srcdir}/mesa"
- echo $(cat VERSION | tr "-" "_").$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
-}
-
-_mesaver() {
- path="${srcdir}/mesa/VERSION"
- [ -f $path ] && cat "$path"
+ cd mesa
+ read -r _ver <VERSION
+ echo ${_ver/-/_}.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
-build() {
+build () {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
export LLVM_CONFIG=/usr/bin/llvm-config32
- cd "${srcdir}/mesa"
-
+ cd mesa
./autogen.sh --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu \
--libdir=/usr/lib32 \
--prefix=/usr \
--sysconfdir=/etc \
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \
- --with-gallium-drivers=i915,ilo,r300,r600,radeonsi,nouveau,swrast,virgl \
+ --with-gallium-drivers=i915,r300,r600,radeonsi,nouveau,svga,swrast,virgl \
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
--with-egl-platforms=x11,drm,wayland \
--with-vulkan-drivers=intel,radeon \
- --disable-vulkan-icd-full-driver-path \
- --with-sha1=libnettle \
--enable-texture-float \
- --enable-dri3 \
--enable-osmesa \
--enable-xa \
- --enable-gbm \
--enable-nine \
- --enable-xvmc \
+ --disable-xvmc \
--enable-vdpau \
- --enable-va \
+ --enable-glx-tls \
--with-va-libdir=/usr/lib32/dri \
- --enable-glx-tls
-
-#
-# configure flag description default overridden
-# --enable-debug use debug compiler flags and macros [default=disabled]
-# --enable-profile enable profiling of code [default=disabled]
-# --enable-mangling enable mangled symbols and library name [default=disabled]
-# --enable-texture-float enable floating-point textures and renderbuffers [default=disabled] enabled
-# --disable-asm disable assembly usage [default=enabled on supported plaforms]
-# --enable-selinux Build SELinux-aware Mesa [default=disabled]
-# --disable-opengl disable support for standard OpenGL API [default=enabled]
-# --disable-gles1 disable support for OpenGL ES 1.x API [default=enabled]
-# --disable-gles2 disable support for OpenGL ES 2.x API [default=enabled]
-# --enable-dri enable DRI modules [default=enabled]
-# --enable-dri3 enable DRI3 [default=auto] enabled
-# --enable-glx enable GLX library [default=enabled]
-# --enable-osmesa enable OSMesa library [default=disabled] enabled
-# --enable-gallium-osmesa enable Gallium implementation of the OSMesa library [default=disabled]
-# --disable-egl disable EGL library [default=enabled]
-# --enable-xa enable build of the XA X Acceleration API [default=disabled] enabled
-# --enable-gbm enable gbm library [default=auto] enabled
-# --enable-nine enable build of the nine Direct3D9 API [default=no] enabled
-# --enable-xvmc enable xvmc library [default=auto] enabled
-# --enable-vdpau enable vdpau library [default=auto] enabled
-# --enable-omx enable OpenMAX library [default=disabled]
-# --enable-va enable va library [default=auto] enabled
-# --enable-opencl enable OpenCL library [default=disabled]
-# --enable-opencl-icd Build an OpenCL ICD library to be loaded by an ICD implementation [default=disabled]
-# --enable-xlib-glx make GLX library Xlib-based instead of DRI-based [default=disabled]
-# --enable-r600-llvm-compiler Enable experimental LLVM backend for graphics shaders [default=disabled]
-# --enable-gallium-tests Enable optional Gallium tests) [default=disabled]
-# --enable-shared-glapi Enable shared glapi for OpenGL [default=enabled]
-# --disable-shader-cache Disable binary shader cache
-# --enable-sysfs enable /sys PCI identification [default=disabled]
-# --disable-driglx-direct disable direct rendering in GLX and EGL for DRI [default=auto]
-# --enable-glx-tls enable TLS support in GLX [default=disabled] enabled
-# --enable-glx-read-only-text Disable writable .text section on x86 (decreases performance) [default=disabled]
-# --enable-gallium-llvm build gallium LLVM support [default=enabled on x86/x86_64]
-# --enable-llvm-shared-libs link with LLVM shared libraries [default=enabled]
-#
-
- make
-
- # fake installation
- mkdir -p "${srcdir}/fakeinstall"
- make DESTDIR="${srcdir}/fakeinstall" install
-}
-
-package_lib32-libva-mesa-driver-git() {
- pkgdesc="VA-API implementation for gallium (32-bit)"
- depends=('lib32-libdrm' 'lib32-libx11' 'lib32-llvm-libs-svn' 'lib32-expat' 'lib32-elfutils' 'lib32-nettle' 'libva-mesa-driver-git')
- provides=("lib32-libva-mesa-driver=$(_mesaver)")
- conflicts=('lib32-libva-mesa-driver')
-
- install -v -m755 -d "${pkgdir}/usr/lib32"
- mv -v "${srcdir}/fakeinstall/usr/lib32/dri" "${pkgdir}/usr/lib32/"
-
- install -v -m755 -d "${pkgdir}/usr/share/licenses/lib32-libva-mesa-driver-git"
- install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-libva-mesa-driver-git/"
-}
-
-package_lib32-mesa-vulkan-intel-git() {
- pkgdesc="Vulkan driver for selected intel graphic chipsets"
- depends=('lib32-wayland' 'lib32-libxcb' 'lib32-libxshmfence' 'lib32-nettle' 'mesa-vulkan-intel-git')
- provides=('lib32-vulkan-intel')
- replaces=('lib32-vulkan-intel')
- conflicts=('lib32-vulkan-intel')
-
-# skipping files installed by mesa-vulkan-intel-git
-# install -m755 -d ${pkgdir}/etc
-# mv -v ${srcdir}/fakeinstall/etc/vulkan ${pkgdir}/etc/
- install -m755 -d ${pkgdir}/usr/lib32
- mv -v ${srcdir}/fakeinstall/usr/lib32/libvulkan_intel.so ${pkgdir}/usr/lib32/
-
-# already installed by mesa-vulkan-intel-git
-# mv -v ${srcdir}/fakeinstall/usr/include/vulkan/vulkan_intel.h ${pkgdir}/usr/include/vulkan
- install -m755 -d "${pkgdir}/usr/share/licenses/lib32-mesa-vulkan-intel-git"
- install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-mesa-vulkan-intel-git/"
-}
+# Used configure settings
+#
+# --prefix=PREFIX install architecture-independent files in PREFIX
+# --sysconfdir=DIR read-only single-machine data
+# [PREFIX/etc]
+# --with-dri-driverdir=DIR directory for the DRI drivers
+# [${libdir}/dri]
+# --with-gallium-drivers[=DIRS...] comma delimited Gallium drivers list, e.g. "i915,nouveau,r300,r600,radeonsi,freedreno,svga,swrast,vc4,virgl"
+# [default=r300,r600,svga,swrast]
+# --with-dri-drivers[=DIRS...] comma delimited classic DRI drivers list, e.g. "swrast,i965,radeon"
+# [default=auto]
+# --with-egl-platforms[=DIRS...] comma delimited native platforms libEGL supports, e.g. "x11,drm"
+# [default=auto]
+# --with-vulkan-drivers[=DIRS...] comma delimited Vulkan drivers list, e.g. "intel"
+# [default=no]
+# --enable-texture-float enable floating-point textures and renderbuffers
+# [default=disabled]
+# --enable-osmesa enable OSMesa library
+# [default=disabled]
+# --enable-xa enable build of the XA X Acceleration API
+# [default=disabled]
+# --enable-nine enable build of the nine Direct3D9 API
+# [default=no]
+# --disable-xvmc enable xvmc library
+# [default=auto]
+# --enable-vdpau enable vdpau library
+# [default=auto]
+# --enable-omx enable OpenMAX library
+# [default=disabled]
+# --enable-opencl enable OpenCL library
+# [default=disabled]
+# --enable-opencl-icd Build an OpenCL ICD library to be loaded by an ICD implementation
+# [default=disabled]
+# --enable-glx-tls enable TLS support in GLX
+# [default=disabled]
-package_lib32-mesa-vulkan-radeon-git() {
- pkgdesc="Vulkan mesa driver for selected amd gpus (32-bit git version)"
- depends=('mesa-vulkan-radeon-git' 'lib32-vulkan-icd-loader' 'lib32-libgcrypt' 'lib32-wayland' 'lib32-libxcb')
- provides=('lib32-vulkan-radeon')
- conflicts=('lib32-vulkan-radeon')
- replaces=('lib32-vulkan-radeon')
-
- install -m755 -d ${pkgdir}/usr/lib32
- mv -v ${srcdir}/fakeinstall/usr/lib32/libvulkan_radeon.so ${pkgdir}/usr/lib32/
+ make
- install -m755 -d "${pkgdir}/usr/share/licenses"
- install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-mesa-vulkan-radeon-git"
}
+package_lib32-mesa-git () {
+ pkgdesc="an open-source implementation of the OpenGL specification, git version"
+ depends=('mesa-git' 'lib32-libdrm' 'lib32-wayland' 'lib32-libxxf86vm' 'lib32-libxdamage' 'lib32-libxshmfence' 'lib32-elfutils'
+ 'lib32-libtxc_dxtn' 'lib32-llvm-libs-svn')
+ optdepends=('opengl-man-pages: for the OpenGL API man pages')
+ provides=('lib32-mesa' 'lib32-opencl-mesa' 'lib32-vulkan-intel' 'lib32-vulkan-radeon' 'lib32-libva-mesa-driver' 'lib32-mesa-vdpau')
+ replaces=('lib32-mesa' 'lib32-opencl-mesa' 'lib32-vulkan-intel' 'lib32-vulkan-radeon' 'lib32-libva-mesa-driver' 'lib32-mesa-vdpau')
+ conflicts=('lib32-mesa' 'lib32-opencl-mesa' 'lib32-vulkan-intel' 'lib32-vulkan-radeon' 'lib32-libva-mesa-driver' 'lib32-mesa-vdpau')
-package_lib32-mesa-vdpau-git() {
- pkgdesc="Mesa VDPAU drivers (32-bit)"
- depends=('lib32-libdrm' 'lib32-libx11' 'lib32-expat' 'lib32-llvm-libs-svn' 'lib32-elfutils' 'mesa-vdpau-git' 'lib32-nettle')
- provides=('lib32-mesa-vdpau')
- replaces=('lib32-mesa-vdpau')
- conflicts=('lib32-mesa-vdpau')
-
- install -v -m755 -d "${pkgdir}/usr/lib32"
- mv -v "${srcdir}/fakeinstall/usr/lib32/vdpau" "${pkgdir}/usr/lib32/"
-
- install -v -m755 -d "${pkgdir}/usr/share/licenses/lib32-mesa-vdpau-git"
- install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-mesa-vdpau-git/"
-}
-
-package_lib32-mesa-git() {
- pkgdesc="an open-source implementation of the OpenGL specification (32-bit)"
- depends=('lib32-libdrm' 'lib32-libxxf86vm' 'lib32-libxdamage' 'lib32-libxshmfence' 'lib32-systemd'
- 'lib32-elfutils' 'lib32-llvm-libs-svn' 'lib32-wayland' 'lib32-libtxc_dxtn' 'mesa-git' 'lib32-libxvmc' 'lib32-nettle')
- optdepends=('opengl-man-pages: for the OpenGL API man pages'
- 'lib32-mesa-vdpau-git: for accelerated video playback')
- provides=("lib32-mesa=$(_mesaver)" 'lib32-mesa-dri' 'lib32-mesa-r300-r600-radeonsi-git')
- replaces=('lib32-mesa' 'lib32-mesa-dri' 'lib32-mesa-r300-r600-radeonsi-git' )
- conflicts=('lib32-mesa' 'lib32-mesa-dri' 'lib32-mesa-r300-r600-radeonsi-git' )
+ cd mesa
+ make DESTDIR="$pkgdir" install
+ # remove vulkan headers as they are provided by vulkan-headers package
+ rm -rf "$pkgdir"/usr/include/vulkan/vk_platform.h "$pkgdir"/usr/include/vulkan/vulkan.h
- install -v -m755 -d "${pkgdir}/usr/lib32/xorg/modules/dri"
- # ati-dri, nouveay-dri, intel-dri, swrast
- mv -v "${srcdir}"/fakeinstall/usr/lib32/xorg/modules/dri/* "${pkgdir}/usr/lib32/xorg/modules/dri/"
-
- install -v -m755 -d "${pkgdir}/usr/lib32"
- mv -v "${srcdir}"/fakeinstall/usr/lib32/d3d "${pkgdir}/usr/lib32/"
- mv -v "${srcdir}"/fakeinstall/usr/lib32/*.so* "${pkgdir}/usr/lib32/"
-
- mv -v "${srcdir}/fakeinstall/usr/lib32/pkgconfig" "${pkgdir}/usr/lib32/"
-
- install -v -m755 -d "${pkgdir}/usr/lib32/mesa"
- # move libgl/EGL/glesv*.so to not conflict with blobs - may break .pc files ?
- mv -v "${pkgdir}"/usr/lib32/libGL.so* "${pkgdir}/usr/lib32/mesa/"
- mv -v "${pkgdir}"/usr/lib32/libEGL.so* "${pkgdir}/usr/lib32/mesa/"
- mv -v "${pkgdir}"/usr/lib32/libGLES*.so* "${pkgdir}/usr/lib32/mesa/"
-
- install -v -m755 -d "${pkgdir}/usr/share/licenses/lib32-mesa-git"
- install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-mesa-git/"
+ # remove files provided by mesa-test-git
+ rm -rf "$pkgdir"/etc
+ rm -rf "$pkgdir"/usr/include
+
+ install -m755 -d ${pkgdir}/usr/lib32/mesa
+ # move libgl/EGL/glesv*.so to not conflict with blobs ?
+ mv -v "$pkgdir"/usr/lib32/libGL.so* "$pkgdir"/usr/lib32/mesa/
+ mv -v "$pkgdir"/usr/lib32/libEGL.so* "$pkgdir"/usr/lib32/mesa/
+ mv -v "$pkgdir"/usr/lib32/libGLES*.so* "$pkgdir"/usr/lib32/mesa/
+
+ install -m755 -d "$pkgdir"/usr/share/licenses/$pkgbase
+ install -m644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgbase/
}
-package_lib32-mesa-libgl-git() {
- pkgdesc="Mesa 3-D graphics library (32-bit)"
+package_lib32-mesa-libgl-git () {
+ pkgdesc="Mesa 3-D graphics library"
depends=('lib32-mesa-git')
- provides=("lib32-mesa-libgl=$(_mesaver)" "lib32-libgl=$(_mesaver)" 'lib32-libegl' 'lib32-libgles' )
- replaces=('lib32-mesa-libgl')
- conflicts=('lib32-mesa-libgl' 'lib32-libegl' 'lib32-libgles')
-
- install -m755 -d "${pkgdir}/usr/lib32"
+ provides=('lib32-mesa-libgl' 'lib32-libgl' 'lib32-libgles' 'lib32-libegl')
+ replaces=('lib32-mesa-libgl' 'lib32-libgles' 'lib32-libegl')
+ conflicts=('lib32-mesa-libgl' 'lib32-libgles' 'lib32-libegl')
- ln -sv /usr/lib32/mesa/libGL.so.1.2.0 "${pkgdir}/usr/lib32/libGL.so.1.2.0"
- ln -sv libGL.so.1.2.0 "${pkgdir}/usr/lib32/libGL.so.1"
- ln -sv libGL.so.1.2.0 "${pkgdir}/usr/lib32/libGL.so"
+ install -m755 -d "$pkgdir"/usr/lib32
+ ln -s /usr/lib32/mesa/libGL.so.1.2.0 "$pkgdir"/usr/lib32/libGL.so.1.2.0
+ ln -s libGL.so.1.2.0 "$pkgdir"/usr/lib32/libGL.so.1
+ ln -s libGL.so.1.2.0 "$pkgdir"/usr/lib32/libGL.so
- ln -sv /usr/lib32/mesa/libEGL.so.1.0.0 "${pkgdir}/usr/lib32/libEGL.so.1.0.0"
- ln -sv libEGL.so.1.0.0 "${pkgdir}/usr/lib32/libEGL.so.1"
- ln -sv libEGL.so.1.0.0 "${pkgdir}/usr/lib32/libEGL.so"
+ ln -s /usr/lib32/mesa/libEGL.so.1.0.0 "$pkgdir"/usr/lib32/libEGL.so.1.0.0
+ ln -s libEGL.so.1.0.0 "$pkgdir"/usr/lib32/libEGL.so.1
+ ln -s libEGL.so.1.0.0 "$pkgdir"/usr/lib32/libEGL.so
- ln -sv /usr/lib32/mesa/libGLESv1_CM.so.1.1.0 "${pkgdir}/usr/lib32/libGLESv1_CM.so.1.1.0"
- ln -sv libGLESv1_CM.so.1.1.0 "${pkgdir}/usr/lib32/libGLESv1_CM.so.1"
- ln -sv libGLESv1_CM.so.1.1.0 "${pkgdir}/usr/lib32/libGLESv1_CM.so"
+ ln -s /usr/lib32/mesa/libGLESv1_CM.so.1.1.0 "$pkgdir"/usr/lib32/libGLESv1_CM.so.1.1.0
+ ln -s libGLESv1_CM.so.1.1.0 "$pkgdir"/usr/lib32/libGLESv1_CM.so.1
+ ln -s libGLESv1_CM.so.1.1.0 "$pkgdir"/usr/lib32/libGLESv1_CM.so
- ln -sv /usr/lib32/mesa/libGLESv2.so.2.0.0 "${pkgdir}/usr/lib32/libGLESv2.so.2.0.0"
- ln -sv libGLESv2.so.2.0.0 "${pkgdir}/usr/lib32/libGLESv2.so.2"
- ln -sv libGLESv2.so.2.0.0 "${pkgdir}/usr/lib32/libGLESv2.so"
+ ln -s /usr/lib32/mesa/libGLESv2.so.2.0.0 "$pkgdir"/usr/lib32/libGLESv2.so.2.0.0
+ ln -s libGLESv2.so.2.0.0 "$pkgdir"/usr/lib32/libGLESv2.so.2
+ ln -s libGLESv2.so.2.0.0 "$pkgdir"/usr/lib32/libGLESv2.so
- install -v -m755 -d "${pkgdir}/usr/share/licenses/lib32-mesa-libgl-git"
- install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-mesa-libgl-git/"
+ install -m755 -d "$pkgdir"/usr/share/licenses/lib32-mesa-libgl-git
+ install -m644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/lib32-mesa-libgl-git/
}