Date: Tuesday, May 2, 2023 @ 14:23:04
  Author: lcarlier
Revision: 476336

archrelease: copy trunk to extra-x86_64

Added:
  amdvlk/repos/extra-x86_64/PKGBUILD
    (from rev 476335, amdvlk/trunk/PKGBUILD)
Deleted:
  amdvlk/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  119 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-02 14:22:54 UTC (rev 476335)
+++ PKGBUILD    2023-05-02 14:23:04 UTC (rev 476336)
@@ -1,59 +0,0 @@
-# Maintainer: Laurent Carlier <lordhea...@gmail.com>
-# Contributor: lod <a...@cyber-anlage.de>
-
-pkgname=amdvlk
-pkgver=2022.Q4.4
-pkgrel=3
-pkgdesc="AMD's standalone Vulkan driver"
-arch=(x86_64)
-url="https://github.com/GPUOpen-Drivers";
-license=('MIT')
-provides=('vulkan-driver')
-makedepends=('perl-xml-xpath' 'python' 'wayland' 'libxrandr' 
'xorg-server-devel' 'directx-shader-compiler' 'glslang'
-             'cmake' 'ninja' 'git')
-options=('!lto')
-source=("https://github.com/GPUOpen-Drivers/AMDVLK/archive/v-${pkgver}.tar.gz";)
-sha256sums=('19e1b4344b76aa52429f06bf083ba90070c2415bda90f0991dddebf846e84752')
-            
-prepare() {
-  local nrepos path name revision
-  
-  nrepos=$(xpath -q -e //project AMDVLK-v-${pkgver}/default.xml | wc -l)
-  
-  while (($nrepos>0))
-  do
-    path=$(xpath -q -e //project[$nrepos]/@path AMDVLK-v-${pkgver}/default.xml 
| sed 's/ path="drivers\/\(.*\)"/\1/g')
-    name=$(xpath -q -e //project[$nrepos]/@name AMDVLK-v-${pkgver}/default.xml 
| sed 's/ name="\(.*\)"/\1/g')
-    revision=$(xpath -q -e //project[$nrepos]/@revision 
AMDVLK-v-${pkgver}/default.xml | sed 's/ revision="\(.*\)"/\1/g')
-    git clone https://github.com/GPUOpen-Drivers/$name $path
-      pushd $path
-        git checkout $revision
-      popd
-    (( nrepos-- ))
-  done
-}
-
-build() {
-  cd ${srcdir}/xgl
-  cmake -H. -Bbuilds/Release64 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_WAYLAND_SUPPORT=On \
-    -G Ninja
-    
-  ninja -C builds/Release64
-}
-
-package() {
-  install -m755 -d "${pkgdir}"/usr/lib
-  install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d
-  install -m755 -d "${pkgdir}"/usr/share/vulkan/implicit_layer.d
-  install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
-
-  install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
-  install xgl/builds/Release64/icd/amd_icd64.json 
"${pkgdir}"/usr/share/vulkan/icd.d/
-  install xgl/builds/Release64/icd/amd_icd64.json 
"${pkgdir}"/usr/share/vulkan/implicit_layer.d/
-  install AMDVLK-v-${pkgver}/LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/
-  
-  sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
-  sed -i "s#/lib64#/lib#g" 
"${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd64.json
-}

Copied: amdvlk/repos/extra-x86_64/PKGBUILD (from rev 476335, 
amdvlk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-02 14:23:04 UTC (rev 476336)
@@ -0,0 +1,60 @@
+# Maintainer: Laurent Carlier <lordhea...@gmail.com>
+# Contributor: lod <a...@cyber-anlage.de>
+
+pkgname=amdvlk
+pkgver=2023.Q2.1
+pkgrel=1
+pkgdesc="AMD's standalone Vulkan driver"
+arch=(x86_64)
+url="https://github.com/GPUOpen-Drivers";
+license=('MIT')
+provides=('vulkan-driver')
+makedepends=('perl-xml-xpath' 'python' 'wayland' 'libxrandr' 
'xorg-server-devel' 'directx-shader-compiler' 'glslang'
+             'cmake' 'ninja' 'git')
+options=('!lto')
+source=("https://github.com/GPUOpen-Drivers/AMDVLK/archive/v-${pkgver}.tar.gz";)
+sha256sums=('14ebcd71f8f2be44244abd2fe7ae9446b522105b88583b13ed763a41efb6cb14')
+            
+prepare() {
+  local nrepos path name revision
+  
+  nrepos=$(xpath -q -e //project AMDVLK-v-${pkgver}/default.xml | wc -l)
+  
+  while (($nrepos>0))
+  do
+    path=$(xpath -q -e //project[$nrepos]/@path AMDVLK-v-${pkgver}/default.xml 
| sed 's/ path="drivers\/\(.*\)"/\1/g')
+    name=$(xpath -q -e //project[$nrepos]/@name AMDVLK-v-${pkgver}/default.xml 
| sed 's/ name="\(.*\)"/\1/g')
+    revision=$(xpath -q -e //project[$nrepos]/@revision 
AMDVLK-v-${pkgver}/default.xml | sed 's/ revision="\(.*\)"/\1/g')
+    git clone --recurse-submodules https://github.com/GPUOpen-Drivers/$name 
$path
+      pushd $path
+        git checkout $revision
+        git submodule update
+      popd
+    (( nrepos-- ))
+  done
+}
+
+build() {
+  cd ${srcdir}/xgl
+  cmake -H. -Bbuilds/Release64 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_WAYLAND_SUPPORT=On \
+    -G Ninja
+    
+  ninja -C builds/Release64
+}
+
+package() {
+  install -m755 -d "${pkgdir}"/usr/lib
+  install -m755 -d "${pkgdir}"/usr/share/vulkan/icd.d
+  install -m755 -d "${pkgdir}"/usr/share/vulkan/implicit_layer.d
+  install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
+
+  install xgl/builds/Release64/icd/amdvlk64.so "${pkgdir}"/usr/lib/
+  install xgl/builds/Release64/icd/amd_icd64.json 
"${pkgdir}"/usr/share/vulkan/icd.d/
+  install xgl/builds/Release64/icd/amd_icd64.json 
"${pkgdir}"/usr/share/vulkan/implicit_layer.d/
+  install AMDVLK-v-${pkgver}/LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/
+  
+  sed -i "s#/lib64#/lib#g" "${pkgdir}"/usr/share/vulkan/icd.d/amd_icd64.json
+  sed -i "s#/lib64#/lib#g" 
"${pkgdir}"/usr/share/vulkan/implicit_layer.d/amd_icd64.json
+}

Reply via email to