vulkan try 3
This commit is contained in:
parent
4780a2a119
commit
1ed15e5e0b
26
.SRCINFO
26
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = mesa-git
|
pkgbase = mesa-git
|
||||||
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
||||||
pkgver = 11.3.0_devel.80247.f30f6e2
|
pkgver = 11.3.0_devel.80298.1d2ac7a
|
||||||
pkgrel = 2
|
pkgrel = 2
|
||||||
url = http://mesa3d.sourceforge.net
|
url = http://mesa3d.sourceforge.net
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -47,7 +47,7 @@ pkgname = opencl-mesa-git
|
|||||||
depends = libcl
|
depends = libcl
|
||||||
depends = libclc
|
depends = libclc
|
||||||
depends = nettle
|
depends = nettle
|
||||||
depends = mesa-git=11.3.0_devel.80247.f30f6e2
|
depends = mesa-git=11.3.0_devel.80298.1d2ac7a
|
||||||
optdepends = opencl-headers: headers necessary for OpenCL development
|
optdepends = opencl-headers: headers necessary for OpenCL development
|
||||||
provides = opencl-mesa=11.3.0-devel
|
provides = opencl-mesa=11.3.0-devel
|
||||||
conflicts = opencl-mesa
|
conflicts = opencl-mesa
|
||||||
@ -59,7 +59,7 @@ pkgname = mesa-vulkan-intel-git
|
|||||||
depends = libgcrypt
|
depends = libgcrypt
|
||||||
depends = wayland
|
depends = wayland
|
||||||
depends = libxcb
|
depends = libxcb
|
||||||
depends = mesa-git=11.3.0_devel.80247.f30f6e2
|
depends = mesa-git=11.3.0_devel.80298.1d2ac7a
|
||||||
provides = vulkan-intel
|
provides = vulkan-intel
|
||||||
conflicts = vulkan-intel
|
conflicts = vulkan-intel
|
||||||
replaces = vulkan-intel
|
replaces = vulkan-intel
|
||||||
@ -67,18 +67,26 @@ pkgname = mesa-vulkan-intel-git
|
|||||||
pkgname = libva-mesa-driver-git
|
pkgname = libva-mesa-driver-git
|
||||||
pkgdesc = VA-API implementation for gallium
|
pkgdesc = VA-API implementation for gallium
|
||||||
depends = nettle
|
depends = nettle
|
||||||
depends = mesa-git=11.3.0_devel.80247.f30f6e2
|
depends = mesa-git=11.3.0_devel.80298.1d2ac7a
|
||||||
provides = libva-mesa-driver=11.3.0-devel
|
provides = libva-mesa-driver=11.3.0-devel
|
||||||
conflicts = libva-mesa-driver
|
conflicts = libva-mesa-driver
|
||||||
|
|
||||||
pkgname = mesa-vdpau-git
|
pkgname = mesa-vdpau-git
|
||||||
pkgdesc = Mesa VDPAU drivers
|
pkgdesc = Mesa VDPAU drivers
|
||||||
depends = nettle
|
depends = nettle
|
||||||
depends = mesa-git=11.3.0_devel.80247.f30f6e2
|
depends = mesa-git=11.3.0_devel.80298.1d2ac7a
|
||||||
provides = mesa-vdpau=11.3.0-devel
|
provides = mesa-vdpau=11.3.0-devel
|
||||||
conflicts = mesa-vdpau
|
conflicts = mesa-vdpau
|
||||||
replaces = mesa-vdpau
|
replaces = mesa-vdpau
|
||||||
|
|
||||||
|
pkgname = mesa-libgl-git
|
||||||
|
pkgdesc = Mesa 3-D graphics library
|
||||||
|
depends = mesa-git=11.3.0_devel.80298.1d2ac7a
|
||||||
|
provides = mesa-libgl=11.3.0-devel
|
||||||
|
provides = libgl=11.3.0-devel
|
||||||
|
conflicts = mesa-libgl
|
||||||
|
replaces = mesa-libgl
|
||||||
|
|
||||||
pkgname = mesa-git
|
pkgname = mesa-git
|
||||||
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
pkgdesc = an open-source implementation of the OpenGL specification, git version
|
||||||
depends = libdrm>=2.4.66
|
depends = libdrm>=2.4.66
|
||||||
@ -105,11 +113,3 @@ pkgname = mesa-git
|
|||||||
replaces = mesa-r300-r600-radeonsi-git
|
replaces = mesa-r300-r600-radeonsi-git
|
||||||
replaces = mesa-dri
|
replaces = mesa-dri
|
||||||
|
|
||||||
pkgname = mesa-libgl-git
|
|
||||||
pkgdesc = Mesa 3-D graphics library
|
|
||||||
depends = mesa-git=11.3.0_devel.80247.f30f6e2
|
|
||||||
provides = mesa-libgl=11.3.0-devel
|
|
||||||
provides = libgl=11.3.0-devel
|
|
||||||
conflicts = mesa-libgl
|
|
||||||
replaces = mesa-libgl
|
|
||||||
|
|
||||||
|
37
PKGBUILD
37
PKGBUILD
@ -10,21 +10,23 @@
|
|||||||
# Contributor: Diego Jose <diegoxter1006@gmail.com>
|
# Contributor: Diego Jose <diegoxter1006@gmail.com>
|
||||||
|
|
||||||
pkgbase=mesa-git
|
pkgbase=mesa-git
|
||||||
pkgname=('opencl-mesa-git' 'libva-mesa-driver-git' 'mesa-vdpau-git' 'mesa-git' 'mesa-libgl-git')
|
pkgname=('opencl-mesa-git' 'mesa-vulkan-intel-git' 'libva-mesa-driver-git' 'mesa-vdpau-git' 'mesa-libgl-git' 'mesa-git')
|
||||||
pkgdesc="an open-source implementation of the OpenGL specification, git version"
|
pkgdesc="an open-source implementation of the OpenGL specification, git version"
|
||||||
pkgver=11.2.0_devel.75996.9c78cfd
|
pkgver=11.3.0_devel.80298.1d2ac7a
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm>=2.4.66' 'dri2proto' 'dri3proto' 'presentproto'
|
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm>=2.4.66' 'dri2proto' 'dri3proto' 'presentproto'
|
||||||
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm-svn'
|
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm-svn'
|
||||||
'libomxil-bellagio' 'libcl' 'libclc' 'clang-svn' 'git' 'nettle' 'libtxc_dxtn' 'ocl-icd'
|
'libomxil-bellagio' 'libcl' 'libclc' 'clang-svn' 'git' 'nettle' 'libtxc_dxtn' 'ocl-icd'
|
||||||
'libxvmc')
|
'libxvmc' 'vulkan-icd-loader' 'libgcrypt')
|
||||||
url="http://mesa3d.sourceforge.net"
|
url="http://mesa3d.sourceforge.net"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
source=('mesa::git://anongit.freedesktop.org/mesa/mesa#branch=master'
|
source=('mesa::git://anongit.freedesktop.org/mesa/mesa#branch=master'
|
||||||
'LICENSE')
|
'LICENSE'
|
||||||
|
'vulkan-fix-install-data-local.patch')
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'5c65a0fe315dd347e09b1f2826a1df5a')
|
'5c65a0fe315dd347e09b1f2826a1df5a'
|
||||||
|
'3db37a8e69dc3580ceb634305e654ec2')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd mesa
|
cd mesa
|
||||||
@ -36,6 +38,11 @@ _mesaver() {
|
|||||||
[ -f $path ] && cat "$path"
|
[ -f $path ] && cat "$path"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd mesa
|
||||||
|
patch -p1 -i "${srcdir}/vulkan-fix-install-data-local.patch"
|
||||||
|
}
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd mesa
|
cd mesa
|
||||||
|
|
||||||
@ -44,6 +51,7 @@ build () {
|
|||||||
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
|
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
|
||||||
--with-gallium-drivers=i915,ilo,r300,r600,radeonsi,nouveau,svga,swrast,virgl \
|
--with-gallium-drivers=i915,ilo,r300,r600,radeonsi,nouveau,svga,swrast,virgl \
|
||||||
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
|
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
|
||||||
|
--with-vulkan-drivers=intel \
|
||||||
--with-egl-platforms=x11,drm,wayland \
|
--with-egl-platforms=x11,drm,wayland \
|
||||||
--with-clang-libdir=/usr/lib \
|
--with-clang-libdir=/usr/lib \
|
||||||
--with-sha1=libnettle \
|
--with-sha1=libnettle \
|
||||||
@ -126,6 +134,25 @@ package_opencl-mesa-git () {
|
|||||||
install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/opencl-mesa-git/"
|
install -v -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/opencl-mesa-git/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package_mesa-vulkan-intel-git() {
|
||||||
|
# using vulkan-intel-git would be better, but thatpackage already exists
|
||||||
|
pkgdesc="Vulkan driver for selected intel graphic chipsets"
|
||||||
|
depends=('vulkan-icd-loader' 'libgcrypt' 'wayland' 'libxcb' "mesa-git=${pkgver}")
|
||||||
|
provides=('vulkan-intel')
|
||||||
|
replaces=('vulkan-intel')
|
||||||
|
conflicts=('vulkan-intel')
|
||||||
|
|
||||||
|
install -m755 -d ${pkgdir}/etc
|
||||||
|
mv -v ${srcdir}/fakeinstall/etc/vulkan ${pkgdir}/etc/
|
||||||
|
|
||||||
|
install -m755 -d ${pkgdir}/usr/{include/vulkan,lib}
|
||||||
|
mv -v ${srcdir}/fakeinstall/usr/lib/libvulkan_intel.so ${pkgdir}/usr/lib/
|
||||||
|
mv -v ${srcdir}/fakeinstall/usr/include/vulkan/vulkan_intel.h ${pkgdir}/usr/include/vulkan
|
||||||
|
|
||||||
|
install -m755 -d "${pkgdir}/usr/share/licenses/mesa-vulkan-intel-git"
|
||||||
|
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-vulkan-intel-git/"
|
||||||
|
}
|
||||||
|
|
||||||
package_libva-mesa-driver-git() {
|
package_libva-mesa-driver-git() {
|
||||||
pkgdesc="VA-API implementation for gallium"
|
pkgdesc="VA-API implementation for gallium"
|
||||||
depends=('nettle' "mesa-git=${pkgver}")
|
depends=('nettle' "mesa-git=${pkgver}")
|
||||||
|
Loading…
Reference in New Issue
Block a user