void-packages/srcpkgs/DarkRadiant/template

29 lines
962 B
Bash

# Template file for 'DarkRadiant'
pkgname=DarkRadiant
version=3.7.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=c8d52dc1ca98ca10a93bf698e7e12c6ac761f12f8f210e403bad72e842155737
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/lib/wx/include/gtk3-unicode-3.0"
CXXFLAGS="$CXXFLAGS -I${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/include"
post_extract() {
rm -rf libs/pybind
}
do_check() {
:
}