diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-25 15:53:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-25 15:53:45 +0000 |
commit | 83ebb477861172671f6796999e016400b659d65f (patch) | |
tree | 0cec26d10b5fcfee34cd56a952e8111f306feefb /games-arcade | |
parent | baeb826318951e5c82b18c1e9ee120ac5dcf0b94 (diff) |
gentoo auto-resync : 25:02:2023 - 15:53:45
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/Manifest.gz | bin | 20923 -> 20924 bytes | |||
-rw-r--r-- | games-arcade/commandergenius/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild (renamed from games-arcade/commandergenius/commandergenius-2.4.0.ebuild) | 53 |
3 files changed, 27 insertions, 28 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz Binary files differindex 21bd1de85114..e99fef7766ef 100644 --- a/games-arcade/Manifest.gz +++ b/games-arcade/Manifest.gz diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest index ac19f4a277f7..5f4db796f143 100644 --- a/games-arcade/commandergenius/Manifest +++ b/games-arcade/commandergenius/Manifest @@ -1,5 +1,5 @@ AUX commandergenius-2.3.1-build.patch 451 BLAKE2B 5c82e9919262fd55ec89069c55de2ba0f18eea2af4587776c353345aef7fb1657763abfcf0956856dae3707a65f0e33210dc521f95d3a0c863461bdb851667d6 SHA512 7b567072137af294b876da4d3701deddc5bf80c52c7a9bf7f0e266885f2a5cc61b7f495725e9d3fdaf3527cf92da0437c8ed1b90f34f9925579c2fe5da8484fb AUX commandergenius-2.3.1-paths.patch 528 BLAKE2B 0d3362d1f5099206a352c47c8625fc8bf7c5bcc371576340209eb4ef978c9cd7dfe0d13206fa2fe3f25dac094fd93e33a957d942a432080c77d50bab21b0a42e SHA512 f447166227566fe914c3d50f6f8c7b1dab6161b9ff633824c8feea0cc441872cd6245572e8cb2929a9f8345c0b8592cd3b3a7d77224ed9f5bc0076d82415f66a DIST Commander-Genius-v2.4.0.tar.bz2 62351265 BLAKE2B 0a3338bee2e494f415ce5072978f050766fff16e5df5e7b27824fb4d4c699d2e5a690924f339189325383bee273cbfa5424f43aa9dc87ae4abf63c7cbf1ea6cd SHA512 76eda96fade00d164d3ea5b95acadfb28a3b24864a5ce3f2c9317837a1027cd8d0282a474b8d25bacc26008a26a6adc5062ee655f9abd350d44db58aa70d3b3b -EBUILD commandergenius-2.4.0.ebuild 2185 BLAKE2B 87219a3fa20fe8cf841bde1d2cf808eeab7698d411e12742d6c9c711a9fefa7ae283f321234416eda6df9e05181c65d3708aa74a95eaf25387bbc03d924a5190 SHA512 653844b6a37456c27c3ee7639acdf9c4c88963b92ed91174ae2610bb164d758e74a693bb5e85baa162aa43a8736030d29b32d88ccb1a4f8cc61dc857731ce9a4 +EBUILD commandergenius-2.4.0-r1.ebuild 2378 BLAKE2B 1a4bb6122624bdc89dfa998e4eef39019e8353c43ce5a40a21ff59e519589e4303a868f0fdacad1a7bff691601f0f79dd7ee10a696ecdad77a0f3f803e9951a5 SHA512 90b28652aff3d660f80d07643a2e22dd15af645354a81a82e15d621915b6a37d17d9d06483824d5c6cf685064c4728a57b177cda6c4a8f58558f638168c367b1 MISC metadata.xml 507 BLAKE2B bd158aecbbb8bf56cccd4564dc6a0d2e615e6d54bce9c0a4d826c42905056199256f7b03ff2c720a6c3c1543d983375dfa18769e299415461fa0262160735b8f SHA512 e4ec4b7b99da2d83d42450f552973a899d3f637d802658b2b90b0225f4087ee05acea913567a86777c7e96379af5d6282c935a9ec754d5ef57626feb1aab6836 diff --git a/games-arcade/commandergenius/commandergenius-2.4.0.ebuild b/games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild index 976c50c53abb..f263f3a77456 100644 --- a/games-arcade/commandergenius/commandergenius-2.4.0.ebuild +++ b/games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild @@ -1,17 +1,18 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9,10} ) +# note: version >=2.5.0 switches from python to lua +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake flag-o-matic python-single-r1 xdg -inherit python-single-r1 xdg cmake +MY_P="Commander-Genius-v${PV}" -MY_PN="Commander-Genius" -MY_P="${MY_PN}-v${PV}" DESCRIPTION="Open Source Commander Keen clone (needs original game files)" -HOMEPAGE="https://clonekeenplus.sourceforge.io" -SRC_URI="https://gitlab.com/Dringgstein/${MY_PN}/-/archive/v${PV}/${MY_P}.tar.bz2" +HOMEPAGE="https://clonekeenplus.sourceforge.io/" +SRC_URI="https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v${PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" @@ -28,50 +29,48 @@ RDEPEND=" sys-libs/zlib[minizip] downloader? ( net-misc/curl ) opengl? ( virtual/opengl ) - python? ( ${PYTHON_DEPS} ) -" - + python? ( ${PYTHON_DEPS} )" DEPEND=" ${RDEPEND} - dev-libs/boost -" - -BDEPEND="virtual/pkgconfig" + dev-libs/boost" +BDEPEND="python? ( ${PYTHON_DEPS} )" PATCHES=( "${FILESDIR}"/${PN}-2.3.1-build.patch "${FILESDIR}"/${PN}-2.3.1-paths.patch ) -S="${WORKDIR}/${MY_P}" - -SHAREDIR="/usr/share" -GAMESDIR="${SHAREDIR}/${PN}/games" -DOCS=() +pkg_setup() { + use python && python-single-r1_pkg_setup +} src_configure() { + filter-lto #858530 + local mycmakeargs=( - -DAPPDIR="${EPREFIX}/usr/bin" - -DGAMES_SHAREDIR="${EPREFIX}${SHAREDIR}" - -DDOCDIR="${EPREFIX}/usr/share/doc/${PF}" + -DAPPDIR="${EPREFIX}"/usr/bin + -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF} + -DGAMES_SHAREDIR="${EPREFIX}"/usr/share -DDOWNLOADER=$(usex downloader) -DUSE_OPENGL=$(usex opengl) -DUSE_PYTHON3=$(usex python) - -DUSE_SDL2=ON - -DUSE_SDL_TTF=ON # Crashes when disabled. + -DUSE_SDL2=yes + -DUSE_SDL_TTF=yes # crashes when disabled + $(usev python -DPython3_EXECUTABLE="${PYTHON}") ) cmake_src_configure } src_install() { + local DOCS=() # skip .in template file, can drop this on bump cmake_src_install - # The normal executable name is weird. + # default executable name is weird dosym CGeniusExe /usr/bin/${PN} - # Game data can be manually installed here. - keepdir "${GAMESDIR}" + # game data can be manually installed here + keepdir /usr/share/${PN}/games } pkg_postinst() { |