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
|
||||
pkgname=('mesa' 'mesa-libgl' 'libva-mesa-driver')
|
||||
pkgver=13.0.4
|
||||
pkgver=17.0.0
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
|
||||
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm'
|
||||
'libomxil-bellagio' 'libgcrypt' 'clang')
|
||||
'libomxil-bellagio' 'clang')
|
||||
url="http://mesa3d.sourceforge.net"
|
||||
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
|
||||
remove-libpthread-stubs.patch)
|
||||
sha256sums=('a95d7ce8f7bd5f88585e4be3144a341236d8c0fc91f6feaec59bb8ba3120e726'
|
||||
sha256sums=('39db3d59700159add7f977307d12a7dfe016363e760ad82280ac4168ea668481'
|
||||
'SKIP'
|
||||
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
|
||||
'75ab53ad44b95204c788a2988e97a5cb963bdbf6072a5466949a2afb79821c8f')
|
||||
|
@ -44,7 +44,6 @@ build() {
|
|||
--with-gallium-drivers=freedreno,nouveau,swrast,virgl,vc4 \
|
||||
--with-dri-drivers=nouveau,swrast \
|
||||
--with-egl-platforms=x11,drm,wayland \
|
||||
--with-sha1=libgcrypt \
|
||||
--disable-xvmc \
|
||||
--enable-gallium-llvm \
|
||||
--enable-llvm-shared-libs \
|
||||
|
@ -61,6 +60,7 @@ build() {
|
|||
--enable-omx \
|
||||
--enable-nine \
|
||||
--with-clang-libdir=/usr/lib
|
||||
#--with-sha1=libgcrypt \
|
||||
|
||||
make
|
||||
|
||||
|
@ -71,7 +71,7 @@ build() {
|
|||
|
||||
package_libva-mesa-driver() {
|
||||
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
|
||||
cp -rv ${srcdir}/fakeinstall/usr/lib/dri ${pkgdir}/usr/lib
|
||||
|
@ -83,7 +83,7 @@ package_libva-mesa-driver() {
|
|||
package_mesa() {
|
||||
pkgdesc="an open-source implementation of the OpenGL specification"
|
||||
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'
|
||||
'mesa-vdpau: for accelerated video playback'
|
||||
'libva-mesa-driver: for accelerated video playback')
|
||||
|
@ -93,7 +93,7 @@ package_mesa() {
|
|||
|
||||
install -m755 -d ${pkgdir}/etc
|
||||
cp -rv ${srcdir}/fakeinstall/etc/drirc ${pkgdir}/etc
|
||||
|
||||
|
||||
install -m755 -d ${pkgdir}/usr/lib/xorg/modules/dri
|
||||
# ati-dri, nouveau-dri, intel-dri, svga-dri, swrast
|
||||
cp -av ${srcdir}/fakeinstall/usr/lib/xorg/modules/dri/* ${pkgdir}/usr/lib/xorg/modules/dri
|
||||
|
@ -130,9 +130,7 @@ package_mesa-libgl() {
|
|||
install -m755 -d ${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/xorg/modules/extensions"
|
||||
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so"
|
||||
install -m755 -d "${pkgdir}/usr/lib/"
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue