[arch-commits] Commit in primus_vk/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon Jul 22 13:06:00 UTC 2019


    Date: Monday, July 22, 2019 @ 13:06:00
  Author: archange
Revision: 492555

archrelease: copy trunk to community-x86_64

Added:
  primus_vk/repos/community-x86_64/PKGBUILD
    (from rev 492554, primus_vk/trunk/PKGBUILD)
Deleted:
  primus_vk/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++-------------------------------
 1 file changed, 28 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-22 13:05:47 UTC (rev 492554)
+++ PKGBUILD	2019-07-22 13:06:00 UTC (rev 492555)
@@ -1,31 +0,0 @@
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-
-pkgname=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=('nvidia-utils' 'bumblebee' 'vulkan-icd-loader' '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+=' -DNV_DRIVER_PATH=\"/usr/lib/libGLX_nvidia.so.0\"'
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-
-  install -D libnv_vulkan_wrapper.so "$pkgdir"/usr/lib/libnv_vulkan_wrapper.so
-  install -D libprimus_vk.so "$pkgdir"/usr/lib/libprimus_vk.so
-  install -Dm644 primus_vk.json "$pkgdir"/usr/share/vulkan/implicit_layer.d/primus_vk.json
-  install -Dm644 nv_vulkan_wrapper.json "$pkgdir"/usr/share/vulkan/icd.d/nv_vulkan_wrapper.json
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
-  install -Dm755 pvkrun.in.sh "$pkgdir"/usr/bin/pvkrun
-}

Copied: primus_vk/repos/community-x86_64/PKGBUILD (from rev 492554, primus_vk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-22 13:06:00 UTC (rev 492555)
@@ -0,0 +1,28 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=primus_vk
+pkgver=1.1
+pkgrel=1
+pkgdesc="Nvidia Vulkan offloading for Bumblebee"
+arch=('x86_64')
+url="https://github.com/felixdoerre/primus_vk"
+license=('BSD')
+depends=('nvidia-utils' 'bumblebee' 'vulkan-icd-loader' 'primus')
+makedepends=('vulkan-validation-layers')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('37304476836c4d0cdd238d902d55d1ae772541827804eab8d4841644525c25a12f1aa24c6cfaae1729c325c6dbb731758b51a952a00c3f3c96d8f26da5d5ceda')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  export CXXFLAGS+=' -DNV_DRIVER_PATH=\"/usr/lib/libGLX_nvidia.so.0\"'
+  make all primus_vk_diag
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX="${pkgdir}"/usr install
+  install -Dm755 primus_vk_diag -t "${pkgdir}"/usr/bin/
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list