mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 00:12:56 +02:00
solarus-quest-editor: update to 2.0.0.
This commit is contained in:
parent
604fff35a3
commit
cdfa0969d4
2 changed files with 26 additions and 5 deletions
|
@ -0,0 +1,14 @@
|
||||||
|
--- a/cmake/AddDependencies.cmake
|
||||||
|
+++ b/cmake/AddDependencies.cmake
|
||||||
|
@@ -48,10 +48,4 @@
|
||||||
|
set(DL_LIBRARY "")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-include(FetchContent)
|
||||||
|
-FetchContent_Declare(
|
||||||
|
- qlementine
|
||||||
|
- GIT_REPOSITORY https://github.com/oclero/qlementine.git
|
||||||
|
- GIT_TAG v1.2.0
|
||||||
|
-)
|
||||||
|
-FetchContent_MakeAvailable(qlementine)
|
||||||
|
+find_package(qlementine REQUIRED)
|
|
@ -1,15 +1,22 @@
|
||||||
# Template file for 'solarus-quest-editor'
|
# Template file for 'solarus-quest-editor'
|
||||||
pkgname=solarus-quest-editor
|
pkgname=solarus-quest-editor
|
||||||
version=1.6.5
|
version=2.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="qt5-host-tools qt5-qmake"
|
hostmakedepends="qt6-base qt6-tools"
|
||||||
makedepends="glm libmodplug-devel libopenal-devel LuaJIT-devel
|
makedepends="glm libmodplug-devel libopenal-devel LuaJIT-devel
|
||||||
physfs-devel qt5-tools-devel SDL2_image-devel SDL2_ttf-devel
|
physfs-devel qt6-tools-devel SDL2_image-devel SDL2_ttf-devel
|
||||||
solarus-devel"
|
solarus-devel qlementine-devel qt6-svg-devel"
|
||||||
short_desc="Quest editor for the Solarus RPG game engine"
|
short_desc="Quest editor for the Solarus RPG game engine"
|
||||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://www.solarus-games.org"
|
homepage="http://www.solarus-games.org"
|
||||||
distfiles="https://gitlab.com/solarus-games/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.bz2"
|
distfiles="https://gitlab.com/solarus-games/${pkgname}/-/archive/v${version}/${pkgname}-v${version}.tar.bz2"
|
||||||
checksum=d556e5b02c943953beaf1bf1c42c3c7ce02ed5c1821789c47afdc3aed715540d
|
checksum=66ad19c46ec3c7a47ceb7727401012090efe32691dc3a6f36a57143532626fba
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
# use host lrelease instead of target
|
||||||
|
vsed -i build/build.ninja -e "s|${XBPS_CROSS_BASE}/usr/lib.*/qt6/bin/lrelease|/usr/lib/qt6/bin/lrelease|g"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue