From 00a61cdc5950f4aa53bdb38d43a3423dc916b1b5 Mon Sep 17 00:00:00 2001 From: SpidFightFR Date: Sat, 7 Oct 2023 14:23:34 +0000 Subject: [PATCH] New package: vkdoom-0.9. --- srcpkgs/vkdoom/patches/vkdoom-pk3.patch | 13 +++++++++++++ srcpkgs/vkdoom/template | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/vkdoom/patches/vkdoom-pk3.patch create mode 100644 srcpkgs/vkdoom/template diff --git a/srcpkgs/vkdoom/patches/vkdoom-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-pk3.patch new file mode 100644 index 0000000000000..ae2a03dc8416b --- /dev/null +++ b/srcpkgs/vkdoom/patches/vkdoom-pk3.patch @@ -0,0 +1,13 @@ +diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp +index a054d59..3d390dc 100644 +--- a/src/gameconfigfile.cpp ++++ b/src/gameconfigfile.cpp +@@ -120,6 +120,8 @@ FGameConfigFile::FGameConfigFile () + // Arch Linux likes them in /usr/share/doom + // Debian likes them in /usr/share/games/doom + // I assume other distributions don't do anything radically different ++ // Adds the correct locations of the pk3file for Voidlinux - Patch by SpidFightFR ++ SetValueForKey ("Path", "/usr/local/share/vkdoom", true); + SetValueForKey ("Path", "/usr/local/share/doom", true); + SetValueForKey ("Path", "/usr/local/share/games/doom", true); + SetValueForKey ("Path", "/usr/share/doom", true); diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template new file mode 100644 index 0000000000000..e797229cc454e --- /dev/null +++ b/srcpkgs/vkdoom/template @@ -0,0 +1,16 @@ +# Template file for 'vkdoom' +pkgname=vkdoom +version=0.9 +revision=1 +archs="~i686* ~arm*" +build_style=cmake +configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF" +hostmakedepends="pkg-config tar xz" +makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel" +short_desc="Advanced Doom source port with OpenGL support" +maintainer="SpidFightFR " +license="GPL-3.0-or-later" +homepage="https://vkdoom.org/" +distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz" +checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613" +nocross=yes