From a4e148cda0da3ea237771e124a4594ca95554584 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Mon, 1 Nov 2021 20:52:56 +0100 Subject: games-engines/fs2_open: Version bump to 21.4.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jonas Frei --- .../fs2_open-21.2.0-make-arch-independent.patch | 14 ----- .../fs2_open-21.4.0-make-arch-independent.patch | 14 +++++ games-engines/fs2_open/fs2_open-21.2.0.ebuild | 61 ---------------------- games-engines/fs2_open/fs2_open-21.4.0.ebuild | 61 ++++++++++++++++++++++ 4 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 games-engines/fs2_open/files/fs2_open-21.2.0-make-arch-independent.patch create mode 100644 games-engines/fs2_open/files/fs2_open-21.4.0-make-arch-independent.patch delete mode 100644 games-engines/fs2_open/fs2_open-21.2.0.ebuild create mode 100644 games-engines/fs2_open/fs2_open-21.4.0.ebuild (limited to 'games-engines') diff --git a/games-engines/fs2_open/files/fs2_open-21.2.0-make-arch-independent.patch b/games-engines/fs2_open/files/fs2_open-21.2.0-make-arch-independent.patch deleted file mode 100644 index 8bd511129..000000000 --- a/games-engines/fs2_open/files/fs2_open-21.2.0-make-arch-independent.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- fs2_open-21.2.0/cmake/version.cmake 2021-05-22 20:20:18.448441242 +0200 -+++ fs2_open-21.2.0/cmake/version.cmake 2021-05-22 20:21:05.493447003 +0200 -@@ -35,11 +35,6 @@ - SET(FSO_BINARY_SUFFIX "${FSO_VERSION_MAJOR}_${FSO_VERSION_MINOR}_${FSO_VERSION_BUILD}_${FSO_VERSION_REVISION_STR}") - ENDIF() - --IF(IS_64BIT) -- # This is a 64-bit builds -- SET(FSO_BINARY_SUFFIX "${FSO_BINARY_SUFFIX}_x64") --ENDIF() -- - IF (NOT "${FSO_INSTRUCTION_SET}" STREQUAL "") - SET(FSO_BINARY_SUFFIX "${FSO_BINARY_SUFFIX}_${FSO_INSTRUCTION_SET}") - ENDIF() diff --git a/games-engines/fs2_open/files/fs2_open-21.4.0-make-arch-independent.patch b/games-engines/fs2_open/files/fs2_open-21.4.0-make-arch-independent.patch new file mode 100644 index 000000000..8bd511129 --- /dev/null +++ b/games-engines/fs2_open/files/fs2_open-21.4.0-make-arch-independent.patch @@ -0,0 +1,14 @@ +--- fs2_open-21.2.0/cmake/version.cmake 2021-05-22 20:20:18.448441242 +0200 ++++ fs2_open-21.2.0/cmake/version.cmake 2021-05-22 20:21:05.493447003 +0200 +@@ -35,11 +35,6 @@ + SET(FSO_BINARY_SUFFIX "${FSO_VERSION_MAJOR}_${FSO_VERSION_MINOR}_${FSO_VERSION_BUILD}_${FSO_VERSION_REVISION_STR}") + ENDIF() + +-IF(IS_64BIT) +- # This is a 64-bit builds +- SET(FSO_BINARY_SUFFIX "${FSO_BINARY_SUFFIX}_x64") +-ENDIF() +- + IF (NOT "${FSO_INSTRUCTION_SET}" STREQUAL "") + SET(FSO_BINARY_SUFFIX "${FSO_BINARY_SUFFIX}_${FSO_INSTRUCTION_SET}") + ENDIF() diff --git a/games-engines/fs2_open/fs2_open-21.2.0.ebuild b/games-engines/fs2_open/fs2_open-21.2.0.ebuild deleted file mode 100644 index efd95c55d..000000000 --- a/games-engines/fs2_open/fs2_open-21.2.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit git-r3 -inherit cmake - -# Replace "." with "_" in version -_PV=${PV//./_} - -DESCRIPTION="FreeSpace2 Source Code Project game engine" -HOMEPAGE="https://github.com/scp-fs2open/fs2open.github.com/" -EGIT_REPO_URI="https://github.com/scp-fs2open/fs2open.github.com.git" -EGIT_COMMIT="release_${_PV}" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="" - -DEPEND=" - media-libs/libjpeg-turbo - media-libs/libpng - media-libs/libtheora - media-libs/libvorbis - >=dev-lang/lua-5.1.0:* - media-libs/mesa - media-libs/openal - media-libs/libsdl2 - media-libs/glu - dev-libs/jansson - app-arch/lz4 -" -RDEPEND="${DEPEND}" -BDEPEND="" - -CMAKE_BUILD_TYPE=Release - -src_prepare() { - eapply "${FILESDIR}/${P}-make-arch-independent.patch" - eapply_user - cmake_src_prepare -} - -src_install() { - exeinto "/opt/${PN}" - doexe "${BUILD_DIR}/bin/${PN}_${_PV}" - insinto "/opt/${PN}" - doins "${BUILD_DIR}/bin/libRocketControls.so" - doins "${BUILD_DIR}/bin/libRocketControlsLua.so" - doins "${BUILD_DIR}/bin/libRocketCore.so" - doins "${BUILD_DIR}/bin/libRocketCoreLua.so" - doins "${BUILD_DIR}/bin/libRocketDebugger.so" - doins "${BUILD_DIR}/bin/libdiscord-rpc.so" -} - -pkg_postinst() { - einfo "This package only generates the engine binary." - einfo "The retail Freespace 2 data is required to play the" - einfo "original game and most mods." -} diff --git a/games-engines/fs2_open/fs2_open-21.4.0.ebuild b/games-engines/fs2_open/fs2_open-21.4.0.ebuild new file mode 100644 index 000000000..efd95c55d --- /dev/null +++ b/games-engines/fs2_open/fs2_open-21.4.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 +inherit cmake + +# Replace "." with "_" in version +_PV=${PV//./_} + +DESCRIPTION="FreeSpace2 Source Code Project game engine" +HOMEPAGE="https://github.com/scp-fs2open/fs2open.github.com/" +EGIT_REPO_URI="https://github.com/scp-fs2open/fs2open.github.com.git" +EGIT_COMMIT="release_${_PV}" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="" + +DEPEND=" + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/libtheora + media-libs/libvorbis + >=dev-lang/lua-5.1.0:* + media-libs/mesa + media-libs/openal + media-libs/libsdl2 + media-libs/glu + dev-libs/jansson + app-arch/lz4 +" +RDEPEND="${DEPEND}" +BDEPEND="" + +CMAKE_BUILD_TYPE=Release + +src_prepare() { + eapply "${FILESDIR}/${P}-make-arch-independent.patch" + eapply_user + cmake_src_prepare +} + +src_install() { + exeinto "/opt/${PN}" + doexe "${BUILD_DIR}/bin/${PN}_${_PV}" + insinto "/opt/${PN}" + doins "${BUILD_DIR}/bin/libRocketControls.so" + doins "${BUILD_DIR}/bin/libRocketControlsLua.so" + doins "${BUILD_DIR}/bin/libRocketCore.so" + doins "${BUILD_DIR}/bin/libRocketCoreLua.so" + doins "${BUILD_DIR}/bin/libRocketDebugger.so" + doins "${BUILD_DIR}/bin/libdiscord-rpc.so" +} + +pkg_postinst() { + einfo "This package only generates the engine binary." + einfo "The retail Freespace 2 data is required to play the" + einfo "original game and most mods." +} -- cgit v1.2.3-65-gdbad