diff options
author | 2021-05-24 15:51:31 +0500 | |
---|---|---|
committer | 2021-05-25 12:58:00 +0500 | |
commit | 9ab8b1b5a36ba166994f1edc88d5f3e659d716dc (patch) | |
tree | 1702b5c9af473cbf05704ef32c946714ce74b26d /games-arcade | |
parent | dev-util/osc: add 0.173.0, drop 0.172.0 (diff) | |
download | guru-9ab8b1b5a36ba166994f1edc88d5f3e659d716dc.tar.gz guru-9ab8b1b5a36ba166994f1edc88d5f3e659d716dc.tar.bz2 guru-9ab8b1b5a36ba166994f1edc88d5f3e659d716dc.zip |
games-arcade/opensurge: add 0.5.2.1, drop 0.5.1.2
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/opensurge/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/opensurge/files/opensurge-0.5.1.2-fix_executable_install_path.patch | 23 | ||||
-rw-r--r-- | games-arcade/opensurge/opensurge-0.5.2.1.ebuild (renamed from games-arcade/opensurge/opensurge-0.5.1.2.ebuild) | 11 |
3 files changed, 5 insertions, 31 deletions
diff --git a/games-arcade/opensurge/Manifest b/games-arcade/opensurge/Manifest index 58c252b8b..d94587769 100644 --- a/games-arcade/opensurge/Manifest +++ b/games-arcade/opensurge/Manifest @@ -1 +1 @@ -DIST opensurge-0.5.1.2.tar.gz 27992793 BLAKE2B a52194969c0e49f560a5eb256b86b6b11538e20fe75449685b4f3a37d51c940eed4a9b7be604b92877a68b0fa68aaf03ce250b7c0b6698a52e4c372e17c3fa63 SHA512 b58e1fb410147a883523ed7ae765a9499994f8f07a195400f4df6bcee386602ab91392a7cf5eb54445819ca68a06695cf23be773d0d8a750657cadff6e79a4fd +DIST opensurge-0.5.2.1.tar.gz 33482890 BLAKE2B 05a0a354dcf88254e35878c83587d480d02f6d1a8654e2fa0f694addbf9d428d5703275dba9870b64ed7e53b4a9892c69a3036e00324f7ccddbebaa1974e81d5 SHA512 1f407ca33ef6d6bd72848f3db1b0b51f42a19648c1164d3547bdc2126dba310f318527f3bf04af0dfe78998a3a53bf057af92f8b1ff36e33255ee270a97bf2f3 diff --git a/games-arcade/opensurge/files/opensurge-0.5.1.2-fix_executable_install_path.patch b/games-arcade/opensurge/files/opensurge-0.5.1.2-fix_executable_install_path.patch deleted file mode 100644 index 95d31574d..000000000 --- a/games-arcade/opensurge/files/opensurge-0.5.1.2-fix_executable_install_path.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 0ad31f29ace91c1f542f8e25d8456b4473f7f91a Mon Sep 17 00:00:00 2001 -From: Haelwenn Monnier <contact@hacktivis.me> -Date: Sat, 11 Apr 2020 01:52:33 +0200 -Subject: [PATCH] CMakeLists.txt: Fix executable install path - -This installs the unix executable into a `$PREFIX/bin` folder so it is present into the PATH. ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8a0a18c..6f0d5d0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -661,7 +661,7 @@ SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CM - # Installing on *nix - IF(UNIX) - INSTALL(CODE "MESSAGE(\"Installing ${GAME_NAME} ${GAME_VERSION}... Make sure that you have the appropriate privileges.\")") -- INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}") -+ INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/") - INSTALL(FILES LICENSE README.md CHANGES.md logo.png surge.png surge.rocks DESTINATION "${GAME_DATADIR}") - INSTALL(DIRECTORY characters scripts sprites config images levels musics quests samples scripts themes languages fonts licenses DESTINATION "${GAME_DATADIR}" PATTERN ".git" EXCLUDE) - INSTALL(FILES src/misc/opensurge.png DESTINATION "${DESKTOP_ICON_PATH}") diff --git a/games-arcade/opensurge/opensurge-0.5.1.2.ebuild b/games-arcade/opensurge/opensurge-0.5.2.1.ebuild index c4a7aee12..198219ae8 100644 --- a/games-arcade/opensurge/opensurge-0.5.1.2.ebuild +++ b/games-arcade/opensurge/opensurge-0.5.2.1.ebuild @@ -15,7 +15,7 @@ fi DESCRIPTION="fun 2D retro platformer inspired by old-school Sonic games" HOMEPAGE="https://opensurge2d.org/" -LICENSE="GPL-3" +LICENSE="Allegro Apache-2.0 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 GPL-3+ MIT OFL-1.1 WTFPL-2" SLOT="0" # Allegro:5 libs to USE @@ -26,18 +26,15 @@ SLOT="0" # - dialog: gtk # allegro[vorbis] isn't in CMakeList.txt but is required for the .ogg assets DEPEND=" - >=media-libs/allegro-5.2.5:= - media-libs/allegro[jpeg,png,opengl,truetype(-),gtk(-),vorbis] + >=media-libs/allegro-5.2.5:5[jpeg,png,opengl,truetype(-),gtk(-),vorbis] >=dev-games/surgescript-0.5.4.3:= " RDEPEND="${DEPEND}" -# https://github.com/alemart/opensurge/pull/30 -PATCHES=( "${FILESDIR}/${P}-fix_executable_install_path.patch" ) - src_configure() { local mycmakeargs=( - -DUSE_STATIC=OFF + -DGAME_BINDIR="/usr/bin" + -DGAME_DATADIR="/usr/share/${PN}" ) cmake_src_configure |