diff options
author | xiota | 2024-04-27 05:52:34 +0000 |
---|---|---|
committer | xiota | 2024-04-27 05:52:34 +0000 |
commit | 464b5cc38ba2ca213d94f661fa201a5f02596e48 (patch) | |
tree | 2e9ffe8a38937b069d4f53c02adfbd50a62a6dbd /PKGBUILD | |
parent | 7bb2252e152d5c238b16b8259fb3ea0020ca6771 (diff) | |
download | aur-464b5cc38ba2ca213d94f661fa201a5f02596e48.tar.gz |
0.1.6658
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -14,7 +14,7 @@ unset _pkgtype # basic info _pkgname="duckstation" pkgname="$_pkgname${_pkgtype:-}" -pkgver=0.1.6461 +pkgver=0.1.6658 pkgrel=1 pkgdesc="Playstation emulator" url="https://github.com/stenzek/duckstation" @@ -51,7 +51,7 @@ makedepends=( ) if [ "${_build_git::1}" != "t" ]; then - _commit=359678a1678137f584760991dd4d45574fdbae12 + _commit=4e0c417add264226b3db065c1466791f0591a1b5 _pkgsrc="$_pkgname" source+=("$_pkgsrc"::"git+$url.git#commit=$_commit") @@ -80,6 +80,13 @@ else } fi +prepare() { + # remove shaderc semantic debug + sed -e '/vk_khr_shader_non_semantic_info/d' \ + -e '/SetEmitNonSemanticDebugInfo/d' \ + -i "$_pkgsrc/src/util/vulkan_pipeline.cpp" +} + build() { export CC CXX CFLAGS CXXFLAGS LDFLAGS LTOFLAGS CC="clang" @@ -130,5 +137,5 @@ END install -dm755 "$pkgdir/usr/share/pixmaps/" ln "$pkgdir/opt/$_pkgname/resources/images/duck.png" "$pkgdir/usr/share/pixmaps/duckstation-qt.png" - chmod -R u=rwX,go=rX "$pkgdir/" + chmod -R u+rwX,go+rX,go-w "$pkgdir/" } |