Package Details: vkdevicechooser 1-1

Git Clone URL: https://aur.archlinux.org/vkdevicechooser.git (read-only, click to copy)
Package Base: vkdevicechooser
Description: Vulkan layer to force a specific physical GPU device to be used
Upstream URL: https://github.com/aejsmith/vkdevicechooser
Licenses: MIT
Submitter: Vorpal
Maintainer: Vorpal
Last Packager: Vorpal
Votes: 0
Popularity: 0.000000
First Submitted: 2019-12-16 15:53
Last Updated: 2019-12-16 15:53

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

stas-t commented on 2020-09-07 19:11

@Vorpal: here is the patch to keep PKGBUILD up to date:

diff --git a/PKGBUILD b/PKGBUILD
index 795cb19..7b6ec82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,24 @@
 # Maintainer: Vorpal <vorpal@riseup.net>
 pkgname=vkdevicechooser
-pkgver=1
+pkgver=1.0
 pkgrel=1
 pkgdesc="Vulkan layer to force a specific physical GPU device to be used"
 arch=('x86_64')
 url="https://github.com/aejsmith/vkdevicechooser"
 license=('MIT')
+depends=('vulkan-icd-loader')
+makedepends=('git' 'vulkan-headers' 'vulkan-validation-layers' 'meson' 'ninja')
 source=(https://github.com/aejsmith/vkdevicechooser/archive/master.zip)
-md5sums=('22df9532f1f89855a0db8ad068ba0145')
+md5sums=('0f87f5ba56076f16d56a4c0b008e5763')

 build() {
   cd "${pkgname}-master"
-  make CXXFLAGS="$CXXFLAGS"
+  meson --prefix=/usr build
+  ninja -C build
 }

 package() {
   cd "${pkgname}-master"
-  make install DESTDIR="${HOME}"
+  echo "pkgdir $pkgdir"
+  DESTDIR="$pkgdir" ninja -C build install
 }