26 lines
800 B
Bash
26 lines
800 B
Bash
# Template file for 'vkQuake'
|
|
pkgname=vkQuake
|
|
version=1.30.1
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="glslang SPIRV-Tools pkg-config"
|
|
makedepends="SDL2-devel libvorbis-devel libmad-devel
|
|
Vulkan-Headers vulkan-loader opusfile-devel"
|
|
short_desc="Vulkan Quake port based on QuakeSpasm"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/Novum/vkQuake"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=b88d3dfc869d89820766e2dd18bdadb9681adfc4c9d05e09cbbebcc17ef1d150
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS+=" -latomic"
|
|
fi
|
|
|
|
do_install() {
|
|
vbin build/vkquake
|
|
vinstall Misc/vkQuake_512.png 644 usr/share/pixmaps vkquake.png
|
|
vinstall ${FILESDIR}/vkquake.desktop 644 usr/share/applications
|
|
}
|