30 lines
1010 B
Bash
30 lines
1010 B
Bash
# Template file for 'DarkRadiant'
|
|
pkgname=DarkRadiant
|
|
version=3.8.0
|
|
revision=5
|
|
build_style=cmake
|
|
build_helper=cmake-wxWidgets-gtk3
|
|
hostmakedepends="pkg-config ruby-asciidoctor"
|
|
makedepends="ftgl-devel glew-devel libjpeg-turbo-devel libsigc++-devel
|
|
libvorbis-devel libxml2-devel wxWidgets-gtk3-devel python3-devel
|
|
eigen libglib-devel freealut-devel libgit2-devel python3-pybind11"
|
|
checkdepends="gtest-devel"
|
|
short_desc="Map editor for The Dark Mod and other idTech4/Doom3-based games"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/codereader/DarkRadiant/"
|
|
distfiles="https://github.com/codereader/DarkRadiant/archive/${version}.tar.gz"
|
|
checksum=7b9ccd6de65d7e55f6aad5e1f9a2f49600c6a0d9d70e67bda2e625cd721b5635
|
|
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/lib/wx/include/gtk3-unicode-3.0"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/include"
|
|
CXXFLAGS+=" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
|
|
|
post_extract() {
|
|
rm -rf libs/pybind
|
|
}
|
|
|
|
do_check() {
|
|
:
|
|
}
|