mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
games-action/violetland: Patch for CMake 4, EAPI 8
I didn't bother sending the CMake patch upstream. They're clearly gone. Closes: https://bugs.gentoo.org/957832 Closes: https://bugs.gentoo.org/957833 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
parent
ff27832024
commit
f9087de7b9
28
games-action/violetland/files/violetland-0.5-cmake4.patch
Normal file
28
games-action/violetland/files/violetland-0.5-cmake4.patch
Normal file
@ -0,0 +1,28 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
-PROJECT(violetland)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0...4.0 FATAL_ERROR)
|
||||
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
|
||||
+PROJECT(violetland)
|
||||
|
||||
find_package(SDL REQUIRED)
|
||||
find_package(SDL_image REQUIRED)
|
||||
--- a/lib/fcitx/CMakeLists.txt
|
||||
+++ b/lib/fcitx/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required (VERSION 2.6)
|
||||
+cmake_minimum_required (VERSION 2.6...4.0)
|
||||
|
||||
project(fcitx)
|
||||
|
||||
--- a/po/CMakeLists.txt
|
||||
+++ b/po/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0...4.0 FATAL_ERROR)
|
||||
PROJECT(po)
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../lib/CMake-Gettext")
|
||||
set(GettextTranslate_ALL true)
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake desktop xdg-utils
|
||||
inherit cmake desktop xdg
|
||||
|
||||
DESCRIPTION="Help a girl named Violet in the struggle with hordes of monsters"
|
||||
HOMEPAGE="https://violetland.github.io/"
|
||||
@ -15,11 +15,11 @@ KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
media-libs/libglvnd
|
||||
media-libs/libsdl[opengl,sound,video]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-ttf
|
||||
virtual/opengl
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
@ -30,6 +30,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost1.85.patch
|
||||
"${FILESDIR}"/${P}-cmake4.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@ -57,8 +58,5 @@ src_install() {
|
||||
rm -r "${ED}"/usr/share/${PN}/README* || die
|
||||
|
||||
newicon -s 64 icon-light.png ${PN}.png
|
||||
make_desktop_entry ${PN} VioletLand
|
||||
make_desktop_entry ${PN} Violetland
|
||||
}
|
||||
|
||||
pkg_postinst() { xdg_icon_cache_update; }
|
||||
pkg_postrm() { xdg_icon_cache_update; }
|
||||
Loading…
x
Reference in New Issue
Block a user