void-packages/srcpkgs/DarkRadiant/template

30 lines
1010 B
Bash

# Template file for 'DarkRadiant'
pkgname=DarkRadiant
version=3.9.0
revision=1
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=719311456ec1a86314b6c385fa46ae1356245018a041e534f15aa5ffb0a2fb58
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() {
:
}