Package Details: vulkan-intel-git 20.3.0_devel-1

Git Clone URL: https://aur.archlinux.org/vulkan-intel-git.git (read-only, click to copy)
Package Base: vulkan-intel-git
Description: Intel's Vulkan mesa driver
Upstream URL: http://www.mesa3d.org
Licenses: custom
Conflicts: vulkan-i965, vulkan-i965-git, vulkan-intel
Provides: vulkan-intel
Submitter: haagch
Maintainer: haagch
Last Packager: haagch
Votes: 5
Popularity: 0.000000
First Submitted: 2016-02-21 23:13
Last Updated: 2020-09-13 20:47

Latest Comments

1 2 3 Next › Last »

haagch commented on 2020-09-13 20:49

Wow this package still exists. I would recommend just installing mesa git, but I updated this nevertheless. Also replaced some of the proto deps with xorgproto.

I don't maintain this very actively but if anyone else wants to do it, I can disown.

techwiz commented on 2020-09-03 21:46

Updated PKGBUILD incorporating @hugegameartgd's changes:

# Maintainer: Christoph Haag <haagch@studi.informatik.uni-stuttgart.de>
# Maintainer: Laurent Carlier <lordheavym@gmail.com>

pkgname=vulkan-intel-git
pkgver=20.3.0-devel
pkgrel=1
pkgdesc="Intel's Vulkan mesa driver"
arch=(x86_64)
url="http://www.mesa3d.org"
license=('custom')
depends=('vulkan-icd-loader' 'libgcrypt' 'wayland' 'libxcb' 'libpthread-stubs')
provides=(vulkan-intel)
conflicts=(vulkan-intel vulkan-i965 vulkan-i965-git)
makedepends=('libdrm' 'dri2proto' 'glproto' 'libxxf86vm' 'libxdamage' 'expat>=2.0.1' 'libxmu'
             'talloc' 'wayland' 'pkgconfig' 'imake' 'xorg-server-devel' 'python2-mako' 'python' 'git')
source=('anvil::git://anongit.freedesktop.org/mesa/mesa'
        LICENSE)
sha256sums=('SKIP'
            '7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2')

#options=(debug !strip)

pkgver() {
  cd anvil
  echo $(cat VERSION | tr "-" "_").$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

prepare() {
  cd "${srcdir}/anvil"
}

build() {
  cd "${srcdir}/anvil"

  meson setup builddir
  ninja -C builddir
  # fake installation
  mkdir -p "$srcdir"/fakeinstall
  DESTDIR="${srcdir}"/fakeinstall  ninja -C builddir install
}

package() {
  cd "${srcdir}/anvil"

  install -m755 -d "${pkgdir}"/usr/share/vulkan
  mv -v "${srcdir}"/fakeinstall/usr/local/share/vulkan/icd.d "${pkgdir}"/usr/share/vulkan/

  install -m755 -d "${pkgdir}"/usr/{include/vulkan,lib}
  mv -v "${srcdir}"/fakeinstall/usr/local/lib/libvulkan_intel.so "${pkgdir}"/usr/lib/
  mv -v "${srcdir}"/fakeinstall/usr/local/include/vulkan/vulkan_intel.h "${pkgdir}"/usr/include/vulkan

  install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
  install -m644 "${srcdir}/LICENSE" "${pkgdir}"/usr/share/licenses/"${pkgname}"/
}

gatlinnewhouse commented on 2019-12-16 21:50

error: object feb356caff82e996ba0b898c02383fdfa3effc5f: 
missingSpaceBeforeDate: invalid author/committer 
line - missing space before date

hugegameartgd commented on 2019-11-11 21:40

PKGBUILD needs to be changed from make to meson/ninja as there is no autogen.sh anymore.

Example:

build() {
  cd "${srcdir}/anvil"
  meson setup builddir
  ninja -C builddir

  # fake installation
  mkdir -p "$srcdir"/fakeinstall
  DESTDIR="${srcdir}" ninja -C builddir install
}

package() {
  cd "${srcdir}/anvil"

  install -m755 -d "${pkgdir}"/usr/share/vulkan
  #mv -v "${srcdir}"/fakeinstall/usr/share/vulkan/icd.d "${pkgdir}"/usr/share/vulkan/

  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/"${pkgname}"
  install -m644 "${srcdir}/LICENSE" "${pkgdir}"/usr/share/licenses/"${pkgname}"/
}

morebitz commented on 2018-12-27 17:24

You still need to fix PKGBUILD if the package should get installed properly.

Line --with-vulkan-icddir="$srcdir/fakeinstall/usr/share/vulkan/icd.d" must be removed, because that directory does not exist.

haagch commented on 2018-03-14 11:50

Yea this package has not been updated in a long time. I take your word for it that the PKGBUILD works and updated it. I only commented out the debug and !strip options.

corrupt commented on 2018-03-14 11:45

Current pkgbuild does not install json file with driver description (/usr/share/vulkan/icd.d/intel_icd.x86_64.json) and loader cannot find the driver (/usr/lib/libvulkan_intel.so). So vkCreateInstance fails.

This pkgbuild solves the problem: https://pastebin.com/k5rxNt0q

Lone_Wolf commented on 2017-03-11 12:21

Haagch,

are you sure this package is still needed now both intel and radeon vulkan support is integrated in mesa ?

gutigen commented on 2016-05-24 01:10

configure: error: Package requirements (pthread-stubs) were not met

Needs libpthread-stubs from AUR to compile.

haagch commented on 2016-05-03 14:27

Ah I changed that locally and didn't update the AUR. Now it should work. They changed something in their configure script so --with-vulkan-icddir does something very weird now, but when removing --with-vulkan-icddir from the configure options, it does the right thing now.