2018-06-27 01:25:07 +02:00
|
|
|
# Template file for 'SLADE'
|
|
|
|
pkgname=SLADE
|
2018-12-26 20:06:59 +01:00
|
|
|
version=3.1.4
|
2018-11-28 17:34:57 +01:00
|
|
|
revision=1
|
2018-06-27 01:25:07 +02:00
|
|
|
build_style=cmake
|
2018-11-28 17:34:57 +01:00
|
|
|
hostmakedepends="pkg-config p7zip"
|
2018-06-27 01:25:07 +02:00
|
|
|
makedepends="SFML-devel fluidsynth-devel freeimage-devel ftgl-devel glew-devel
|
2018-11-28 17:34:57 +01:00
|
|
|
gtk+3-devel libcurl-devel wxWidgets-gtk3-devel"
|
2018-06-27 01:25:07 +02:00
|
|
|
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"
|
2018-12-26 20:06:59 +01:00
|
|
|
checksum=ee3acaaf27292c90a46eea509c3a56564e1339b3080a9648dc6edf5b731be57e
|
2018-11-28 17:34:57 +01:00
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
|
|
|
|
fi
|
2018-06-27 01:25:07 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
|
|
x86_64* | i686*);;
|
|
|
|
*) sed -i '/D_USE_SSE/d' src/CMakeLists.txt;;
|
|
|
|
esac
|
|
|
|
}
|