diff --git a/srcpkgs/DarkRadiant/patches/wayland.patch b/srcpkgs/DarkRadiant/patches/wayland.patch new file mode 100644 index 00000000000..5dff9e9adf5 --- /dev/null +++ b/srcpkgs/DarkRadiant/patches/wayland.patch @@ -0,0 +1,13 @@ +wxGLCanvas does not work on Wayland yet, so force the usage of X11 +--- +--- a/install/darkradiant.desktop.in 2021-08-09 17:21:39.000000000 +0200 ++++ - 2021-09-26 16:41:36.762610338 +0200 +@@ -11,7 +11,7 @@ + + # The %f means a single, local, absolute file. Remote files will be + # first copied in a local temp location and then given to the program: +-Exec=@CMAKE_INSTALL_PREFIX@/bin/darkradiant %f ++Exec=env GDK_BACKEND=x11 @CMAKE_INSTALL_PREFIX@/bin/darkradiant %f + + Terminal=false + diff --git a/srcpkgs/DarkRadiant/template b/srcpkgs/DarkRadiant/template index 1d47801303d..0c656d3566e 100644 --- a/srcpkgs/DarkRadiant/template +++ b/srcpkgs/DarkRadiant/template @@ -1,20 +1,20 @@ # Template file for 'DarkRadiant' pkgname=DarkRadiant -version=2.12.0 +version=2.13.0 revision=1 build_style=cmake build_helper=cmake-wxWidgets-gtk3 -hostmakedepends="pkg-config" +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" + eigen libglib-devel freealut-devel libgit2-devel" checkdepends="gtest-devel" short_desc="Map editor for The Dark Mod and other idTech4/Doom3-based games" maintainer="John " license="GPL-2.0-or-later" homepage="https://github.com/codereader/DarkRadiant/" distfiles="https://github.com/codereader/DarkRadiant/archive/${version}.tar.gz" -checksum=8c5dc0f7d160dea7e9c735f9739e36462dd8c8719a3022156f9584250fc3b867 +checksum=a95488989dfce5c1e366059d6ca22ee144fe86583dd55285e5ecba612b1b93c2 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/lib/wx/include/gtk3-unicode-3.0"