void-packages/srcpkgs/SLADE/template

24 lines
808 B
Bash
Raw Normal View History

# Template file for 'SLADE'
pkgname=SLADE
version=3.1.1.5
revision=4
build_style=cmake
configure_args="-DUSE_WEBVIEW_STARTPAGE=OFF"
hostmakedepends="pkg-config zip"
makedepends="SFML-devel fluidsynth-devel freeimage-devel ftgl-devel glew-devel
gtk+-devel libcurl-devel wxWidgets-devel"
short_desc="Modern editor for Doom-engine based games"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="https://github.com/sirjuddington/SLADE"
changelog="https://github.com/sirjuddington/SLADE/releases/tag/${version}"
distfiles="https://github.com/sirjuddington/SLADE/archive/${version}.tar.gz"
checksum=1b1c9e8267d8749f6087297ec629d1ca81777bb1b74e51853508a570e4368e2a
pre_configure() {
case $XBPS_TARGET_MACHINE in
x86_64* | i686*);;
*) sed -i '/D_USE_SSE/d' src/CMakeLists.txt;;
esac
}