27 lines
925 B
Bash
27 lines
925 B
Bash
# Template file for 'SLADE'
|
|
pkgname=SLADE
|
|
version=3.1.8
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCL_WX_CONFIG=wx-config-gtk3"
|
|
hostmakedepends="pkg-config p7zip"
|
|
makedepends="SFML-devel fluidsynth-devel freeimage-devel ftgl-devel glew-devel
|
|
gtk+3-devel libcurl-devel wxWidgets-gtk3-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=8c6f44b0ad5867e04116d615f159f6e87592a5e48fd32f026e3ccaede65a9f12
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
|
|
fi
|
|
|
|
pre_configure() {
|
|
case $XBPS_TARGET_MACHINE in
|
|
x86_64* | i686*);;
|
|
*) sed -i '/D_USE_SSE/d' src/CMakeLists.txt;;
|
|
esac
|
|
}
|