28 lines
951 B
Bash
28 lines
951 B
Bash
# Template file for 'SLADE'
|
|
pkgname=SLADE
|
|
version=3.1.11
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config p7zip which"
|
|
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=83cea24520d57f6bd23f146925eab55e2413f7c91e24c84bcda550b94ecedc08
|
|
|
|
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*);;
|
|
*) vsed -e '/D_USE_SSE/d' -i src/CMakeLists.txt;;
|
|
esac
|
|
vsed -e 's/wx-config/wx-config-gtk3/g' -i src/CMakeLists.txt
|
|
}
|