[arch-commits] Commit in lib32-primus_vk/repos (2 files)

Giancarlo Razzolini grazzolini at archlinux.org
Wed Apr 17 17:30:53 UTC 2019


    Date: Wednesday, April 17, 2019 @ 17:30:53
  Author: grazzolini
Revision: 451886

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-primus_vk/repos/multilib-x86_64/
  lib32-primus_vk/repos/multilib-x86_64/PKGBUILD
    (from rev 451883, lib32-primus_vk/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: lib32-primus_vk/repos/multilib-x86_64/PKGBUILD (from rev 451883, lib32-primus_vk/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2019-04-17 17:30:53 UTC (rev 451886)
@@ -0,0 +1,29 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+
+_pkgname=primus_vk
+pkgname=lib32-primus_vk
+pkgver=1.0
+pkgrel=1
+pkgdesc="Primus-Vk Nvidia Vulkan offloading for Bumblebee"
+arch=('x86_64')
+url="https://github.com/felixdoerre/$_pkgname"
+license=('BSD')
+depends=('lib32-nvidia-utils' 'bumblebee' 'lib32-vulkan-icd-loader' 'lib32-primus')
+makedepends=('vulkan-validation-layers')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/felixdoerre/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('5d4bb4be4e958f039144d90c33dc94dcdfcbaf0925f1f70676ae46ea3022d4a11ba07fa23974b434188fad0c54f4df1c590d20b76186634a852a99203e3a76c1')
+
+build() {
+  cd "${_pkgname}-${pkgver}"
+
+  export CXXFLAGS+=' -m32 -DNV_DRIVER_PATH=\"/usr/lib32/libGLX_nvidia.so.0\"'
+  make
+}
+
+package() {
+  cd "${_pkgname}-${pkgver}"
+
+  install -D libnv_vulkan_wrapper.so "$pkgdir"/usr/lib32/libnv_vulkan_wrapper.so
+  install -D libprimus_vk.so "$pkgdir"/usr/lib32/libprimus_vk.so
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}


More information about the arch-commits mailing list