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

Giancarlo Razzolini grazzolini at archlinux.org
Sun Sep 22 02:27:03 UTC 2019


    Date: Sunday, September 22, 2019 @ 02:27:03
  Author: grazzolini
Revision: 511460

upgpkg: lib32-primus_vk 1.2-3

Moved the package from a tarball based build to using git.
Backported the queue creation fix that solves the issue with the steamvulkanoverlay.

Modified:
  lib32-primus_vk/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-22 02:15:16 UTC (rev 511459)
+++ PKGBUILD	2019-09-22 02:27:03 UTC (rev 511460)
@@ -4,16 +4,40 @@
 _pkgname=primus_vk
 pkgname=lib32-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=('lib32-nvidia-utils' 'bumblebee' 'lib32-vulkan-icd-loader' 'lib32-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