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 (UTC)
Last Updated: 2020-09-13 20:47 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 Next › Last »

fezzik commented on 2022-11-13 21:09 (UTC)

Fails to build with: vulkan-intel-git/src/fakeinstall/usr/local/include/vulkan/vulkan_intel.h': No such file or directory

acsuhllteuyr commented on 2022-03-21 11:04 (UTC)

meson is required for the build but the pkgbuild doesn't contain it. It'd be great if you updated it : )

haagch commented on 2020-09-13 20:49 (UTC)

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 (UTC) (edited on 2020-09-03 21:51 (UTC) by techwiz)

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 (UTC) (edited on 2019-12-16 21:56 (UTC) by gatlinnewhouse)

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

hugegameartgd commented on 2019-11-11 21:40 (UTC) (edited on 2019-11-11 22:00 (UTC) by hugegameartgd)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-03-14 11:45 (UTC) by corrupt)

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