[arch-commits] Commit in primus_vk/trunk (PKGBUILD)

Giancarlo Razzolini grazzolini at archlinux.org
Sun Sep 22 02:13:12 UTC 2019


    Date: Sunday, September 22, 2019 @ 02:13:12
  Author: grazzolini
Revision: 511458

upgpkg: primus_vk 1.2-3

Backported the queue creation fix that solves the issue with the steamvulkanoverlay.

Modified:
  primus_vk/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-22 02:04:50 UTC (rev 511457)
+++ PKGBUILD	2019-09-22 02:13:12 UTC (rev 511458)
@@ -3,16 +3,40 @@
 
 pkgname=primus_vk
 pkgver=1.2
-pkgrel=1
+pkgrel=3
 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=('48c03a2f0fdb7d4609c3f6e0bf24ee2306805330e381722a2fd0485c9916daa802725117c8b3cc0d13d80376c7384193ea9aff69c9e13a4f48becf6dbf94d0f0')
+makedepends=('git' 'vulkan-validation-layers')
+source=("${pkgname}-${pkgver}::git+${url}.git#tag=v${pkgver}")
+sha512sums=('SKIP')
 
+_backports=(
+  #fix queue creation
+  '9b8c4492a3e9c8652a366a7acf14b6a28584a150'
+)
+
+_reverts=(
+)
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  local _c
+  
+  for _c in "${_backports[@]}"; do
+    git log --oneline -1 "${_c}"  
+    git cherry-pick -n "${_c}"
+  done
+
+  for _c in "${_reverts[@]}"; do
+    git log --oneline -1 "${_c}"
+    git revert -n "${_c}"
+  done
+}
+
 build() {
   cd ${pkgname}-${pkgver}
 


More information about the arch-commits mailing list