mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/mesa to 17.0.0-1
This commit is contained in:
parent
a1f2eaf0b2
commit
43c627e4c1
1 changed files with 9 additions and 11 deletions
|
@ -9,18 +9,18 @@
|
||||||
|
|
||||||
pkgbase=mesa
|
pkgbase=mesa
|
||||||
pkgname=('mesa' 'mesa-libgl' 'libva-mesa-driver')
|
pkgname=('mesa' 'mesa-libgl' 'libva-mesa-driver')
|
||||||
pkgver=13.0.4
|
pkgver=17.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
|
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
|
||||||
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm'
|
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm'
|
||||||
'libomxil-bellagio' 'libgcrypt' 'clang')
|
'libomxil-bellagio' 'clang')
|
||||||
url="http://mesa3d.sourceforge.net"
|
url="http://mesa3d.sourceforge.net"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
source=(https://mesa.freedesktop.org/archive/${pkgver}/mesa-${pkgver}.tar.xz{,.sig}
|
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
|
||||||
LICENSE
|
LICENSE
|
||||||
remove-libpthread-stubs.patch)
|
remove-libpthread-stubs.patch)
|
||||||
sha256sums=('a95d7ce8f7bd5f88585e4be3144a341236d8c0fc91f6feaec59bb8ba3120e726'
|
sha256sums=('39db3d59700159add7f977307d12a7dfe016363e760ad82280ac4168ea668481'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
|
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
|
||||||
'75ab53ad44b95204c788a2988e97a5cb963bdbf6072a5466949a2afb79821c8f')
|
'75ab53ad44b95204c788a2988e97a5cb963bdbf6072a5466949a2afb79821c8f')
|
||||||
|
@ -44,7 +44,6 @@ build() {
|
||||||
--with-gallium-drivers=freedreno,nouveau,swrast,virgl,vc4 \
|
--with-gallium-drivers=freedreno,nouveau,swrast,virgl,vc4 \
|
||||||
--with-dri-drivers=nouveau,swrast \
|
--with-dri-drivers=nouveau,swrast \
|
||||||
--with-egl-platforms=x11,drm,wayland \
|
--with-egl-platforms=x11,drm,wayland \
|
||||||
--with-sha1=libgcrypt \
|
|
||||||
--disable-xvmc \
|
--disable-xvmc \
|
||||||
--enable-gallium-llvm \
|
--enable-gallium-llvm \
|
||||||
--enable-llvm-shared-libs \
|
--enable-llvm-shared-libs \
|
||||||
|
@ -61,6 +60,7 @@ build() {
|
||||||
--enable-omx \
|
--enable-omx \
|
||||||
--enable-nine \
|
--enable-nine \
|
||||||
--with-clang-libdir=/usr/lib
|
--with-clang-libdir=/usr/lib
|
||||||
|
#--with-sha1=libgcrypt \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ build() {
|
||||||
|
|
||||||
package_libva-mesa-driver() {
|
package_libva-mesa-driver() {
|
||||||
pkgdesc="VA-API implementation for gallium"
|
pkgdesc="VA-API implementation for gallium"
|
||||||
depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libgcrypt' 'libxshmfence')
|
depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libxshmfence')
|
||||||
|
|
||||||
install -m755 -d ${pkgdir}/usr/lib
|
install -m755 -d ${pkgdir}/usr/lib
|
||||||
cp -rv ${srcdir}/fakeinstall/usr/lib/dri ${pkgdir}/usr/lib
|
cp -rv ${srcdir}/fakeinstall/usr/lib/dri ${pkgdir}/usr/lib
|
||||||
|
@ -83,7 +83,7 @@ package_libva-mesa-driver() {
|
||||||
package_mesa() {
|
package_mesa() {
|
||||||
pkgdesc="an open-source implementation of the OpenGL specification"
|
pkgdesc="an open-source implementation of the OpenGL specification"
|
||||||
depends=('libdrm' 'wayland' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
|
depends=('libdrm' 'wayland' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
|
||||||
'libomxil-bellagio' 'libgcrypt' 'libtxc_dxtn' 'llvm-libs')
|
'libomxil-bellagio' 'libtxc_dxtn' 'llvm-libs')
|
||||||
optdepends=('opengl-man-pages: for the OpenGL API man pages'
|
optdepends=('opengl-man-pages: for the OpenGL API man pages'
|
||||||
'mesa-vdpau: for accelerated video playback'
|
'mesa-vdpau: for accelerated video playback'
|
||||||
'libva-mesa-driver: for accelerated video playback')
|
'libva-mesa-driver: for accelerated video playback')
|
||||||
|
@ -130,9 +130,7 @@ package_mesa-libgl() {
|
||||||
install -m755 -d ${pkgdir}/usr/lib/pkgconfig
|
install -m755 -d ${pkgdir}/usr/lib/pkgconfig
|
||||||
cp ${srcdir}/fakeinstall/usr/lib/pkgconfig/{egl,gl,glesv1_cm,glesv2}.pc ${pkgdir}/usr/lib/pkgconfig
|
cp ${srcdir}/fakeinstall/usr/lib/pkgconfig/{egl,gl,glesv1_cm,glesv2}.pc ${pkgdir}/usr/lib/pkgconfig
|
||||||
|
|
||||||
# See FS#26284
|
install -m755 -d "${pkgdir}/usr/lib/"
|
||||||
install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions"
|
|
||||||
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so"
|
|
||||||
|
|
||||||
ln -s /usr/lib/mesa/libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1.2.0
|
ln -s /usr/lib/mesa/libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1.2.0
|
||||||
ln -s libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1
|
ln -s libGL.so.1.2.0 ${pkgdir}/usr/lib/libGL.so.1
|
||||||
|
|
Loading…
Reference in a new issue