blob: 2a5ed1f6fd6ef08685c1420fa41234352442714d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: loathingkernel <loathingkernel @at gmail .dot com>
pkgname=dxvk-nvapi-vkreflex-layer-git
pkgver=0.9.0.r1.g1734269
pkgrel=1
pkgdesc='Alternative NVAPI implementation on top of DXVK, Vulkan Reflex layer'
arch=('x86_64')
url="https://github.com/jp7677/dxvk-nvapi"
license=('MIT')
makedepends=('ninja' 'meson>=0.43' 'glslang' 'git')
provides=('dxvk-nvapi-vkreflex-layer' "dxvk-nvapi-vkreflex-layer=$pkgver")
conflicts=('dxvk-nvapi-vkreflex-layer')
source=(
"git+https://github.com/jp7677/dxvk-nvapi.git"
)
pkgver() {
cd dxvk-nvapi
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g')"
}
prepare() {
cd dxvk-nvapi
# Explicitly set origin URL for submodules using relative paths
git remote set-url origin https://github.com/jp7677/dxvk-nvapi.git
git submodule update --init --filter=tree:0 --recursive external/{Vulkan-Headers,vkroots}
}
build() {
arch-meson dxvk-nvapi/layer build \
--buildtype "release" \
--strip \
-Dabsolute_library_path=false
ninja -C build -v
}
package() {
depends=('vulkan-icd-loader')
DESTDIR="$pkgdir" ninja -C build install
}
sha256sums=('SKIP')
|