diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /games-strategy/openra | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'games-strategy/openra')
-rw-r--r-- | games-strategy/openra/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/openra/openra-20190314.ebuild | 169 |
2 files changed, 0 insertions, 170 deletions
diff --git a/games-strategy/openra/Manifest b/games-strategy/openra/Manifest index 2f9dc1032298..751ce52fc116 100644 --- a/games-strategy/openra/Manifest +++ b/games-strategy/openra/Manifest @@ -12,5 +12,4 @@ DIST SharpZipLib-0.86.0.zip 463599 BLAKE2B 5d6374c5daef33afc1faf814992df1ef7001b DIST openra-20190314.tar.gz 24551126 BLAKE2B ed6289bbfab9f55aa88ac834dab3a2bab4cea3cb5a3b6934e24feb78bea1df71d839d4434242df666cda6180027a8e6d5b7766b6155ab2e85a4ee639a7950e12 SHA512 a16884cf626a31b3cf21662c307aef505bfcf6d34330f09b10510aa6c88d9d1026f17f2037565827fc95148776b0651fe0559c65db493295957df428793b2d71 DIST rix0rrr.BeaconLib-1.0.1.zip 17989 BLAKE2B 2a65c9276b725ac6c433eb2cf6e4a13d6e5c07446dbff1e096b100a20eebb2a432c81cfbc13c11fdf672fbd37eb5985497b3fa425a317afe39049a6a967e3a7e SHA512 4fe4c6dfd7ad0f7eb5549c66fe53cd38f74026a8202d3553481bdfdab8ce0788f8b31f05092d93f9751a687badf75a1ec22da201235f2e505893192bb371367f EBUILD openra-20190314-r100.ebuild 5055 BLAKE2B 772c610a2432159ac3bff97bb74a577b543f0b49cad12572c588363fb531462ed702108baf9199d320fd75cca0dfe63c316c8ce36f2b59edca7f77e5cf96ee9e SHA512 301b69fa0f05373b8ea1e3180e403d038332962dd66aed84123e9095742198100651083d039b86ee855a224bcc1e488fba157e32a8707b9f92c801f6954a5c3f -EBUILD openra-20190314.ebuild 4955 BLAKE2B b589837560638ead51cd6eb525b480471bb3e7fe452aba3eeb4d5db09c90a2aa503f39e0c57c018d2ec575de7a3243328fdbfc9bd3d0c86760fe52f90a16761d SHA512 db49ddce14d00a9b3649b2bc5b14e1c89a98d769f2aafd93d2f1052893f70584cc7236b663b8b814cfbbbdae565ecdb628ee242e18d1ade17bb7d47f21c81da0 MISC metadata.xml 507 BLAKE2B 41509ed4d51adffd4aaf548f986ff19ccdf2b382e6265eeca268ccf693fcbf47468fad4ba1fcafb73f2a7fd5893942944f4118ca3b388a2b9299fd9130621d5e SHA512 ffeb53c6a7368c79336656bee82ea41fcdec13ef68f22e70a2ef70b5ba644ae1ad3832406cf54c7afd888ebe3357d2530528f39b07d515b813cf090248fa5186 diff --git a/games-strategy/openra/openra-20190314.ebuild b/games-strategy/openra/openra-20190314.ebuild deleted file mode 100644 index 89952527033d..000000000000 --- a/games-strategy/openra/openra-20190314.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit mono-env xdg-utils - -MY_PV=release-${PV} -#MY_PV=playtest-${PV} - -DESCRIPTION="A free RTS engine supporting games like Command & Conquer, Red Alert and Dune2k" -HOMEPAGE="https://www.openra.net/" - -# This sed one-liner was used to generate the SRC_URI list -# below. Ideally we would package these DLLs separately instead but -# Gentoo Dotnet doesn't seem to be in great shape right now. -# -# sed -n -r -e 's@.*curl.*(https:[^ ]+/([^/]+)/([^.]+)([^ ]+)).*@\1 -> \3-\2\4@p' \ -# -e 's@.*noget\.sh ([^ ]+) ([^ ]+).*@https://www.nuget.org/api/v2/package/\1/\2 -> \1-\2.zip@p' \ -# "${S}"/thirdparty/fetch-thirdparty-deps.sh | grep -v 'NUnit\|StyleCop' | sort - -SRC_URI="https://github.com/OpenRA/OpenRA/archive/${MY_PV}.tar.gz -> ${P}.tar.gz - https://github.com/OpenRA/Eluant/releases/download/20160124/Eluant.dll -> Eluant-20160124.dll - https://github.com/OpenRA/OpenAL-CS/releases/download/20151227/OpenAL-CS.dll.config -> OpenAL-CS-20151227.dll.config - https://github.com/OpenRA/OpenAL-CS/releases/download/20151227/OpenAL-CS.dll -> OpenAL-CS-20151227.dll - https://github.com/OpenRA/SDL2-CS/releases/download/20161223/SDL2-CS.dll.config -> SDL2-CS-20161223.dll.config - https://github.com/OpenRA/SDL2-CS/releases/download/20161223/SDL2-CS.dll -> SDL2-CS-20161223.dll - https://www.nuget.org/api/v2/package/FuzzyLogicLibrary/1.2.0 -> FuzzyLogicLibrary-1.2.0.zip - https://www.nuget.org/api/v2/package/MaxMind.Db/2.0.0 -> MaxMind.Db-2.0.0.zip - https://www.nuget.org/api/v2/package/Open.Nat/2.1.0 -> Open.Nat-2.1.0.zip - https://www.nuget.org/api/v2/package/rix0rrr.BeaconLib/1.0.1 -> rix0rrr.BeaconLib-1.0.1.zip - https://www.nuget.org/api/v2/package/SharpFont/4.0.1 -> SharpFont-4.0.1.zip - https://www.nuget.org/api/v2/package/SharpZipLib/0.86.0 -> SharpZipLib-0.86.0.zip" - -# Engine is GPL-3, dependent DLLs are mixed. -LICENSE="GPL-3 Apache-2.0 BSD GPL-2 MIT" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+debug geoip" -RESTRICT="mirror test" - -MONO_DEP=">=dev-lang/mono-4.2" -BDEPEND=" - app-arch/unzip - ${MONO_DEP} -" -DEPEND=" - >=dev-lang/mono-4.2 - dev-dotnet/libgdiplus - ${MONO_DEP} -" -RDEPEND="${DEPEND} - app-misc/ca-certificates - =dev-lang/lua-5.1*:0 - media-libs/freetype:2 - media-libs/libsdl2[opengl,video] - media-libs/openal - geoip? ( net-misc/geoipupdate )" - -S="${WORKDIR}/OpenRA-${MY_PV}" - -PATCHES=( - "${FILESDIR}"/${PN}-system-geoip.patch -) - -DOCS=( - AUTHORS - CODE_OF_CONDUCT.md - CONTRIBUTING.md - README.md -) - -src_unpack() { - local DOWNLOADS="${S}"/thirdparty/download - mkdir -p "${DOWNLOADS}" || die - - # Stub out unnecessary development dependencies. - touch "${DOWNLOADS}"/{{nunit.framework,StyleCop{,Plus}}.dll,nunit3-console.exe} || die - - for a in ${A}; do - case ${a} in - # Unpack engine sources. - ${P}.tar.gz) unpack ${a} ;; - - # Symlink other downloads, Makefile will extract and copy. - *) ln -snf "${DISTDIR}/${a}" "${DOWNLOADS}/${a%-[0-9]*}${a##*[0-9]}" || die ;; - esac - done -} - -src_prepare() { - # Stub out attempts to download anything. - sed -i -r 's/^\s*(curl|wget)\b/: #\1/' thirdparty/{fetch-thirdparty-deps,noget}.sh || die - - # Extract what is needed from the downloads. - emake cli-dependencies - - default -} - -src_compile() { - emake $(usex debug "" DEBUG=false) - emake VERSION=${MY_PV} version man-page -} - -src_install() { - emake $(usex debug "" DEBUG=false) \ - prefix="${EPREFIX}"/usr \ - gameinstalldir='$(prefix)'/share/${PN} \ - DESTDIR="${D}" \ - VERSION=${MY_PV} \ - install \ - install-linux-mime \ - install-linux-shortcuts \ - install-man-page - - einstalldocs -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update - - if [[ ! -s ${EROOT}/usr/share/GeoIP/GeoLite2-Country.mmdb ]]; then - echo - ewarn "Multiplayer server locations will show as unknown until you install" - - if use geoip; then - ewarn "a GeoIP database. Run emerge --config ${CATEGORY}/${PN}" - ewarn "occasionally to fetch one and keep it current." - else - ewarn "a GeoIP database. Start by enabling the geoip USE flag." - fi - fi - - if [[ ! -d ${EROOT}/usr/share/.mono/certs ]]; then - echo - ewarn "The multiplayer server listing will not work at all until you install" - ewarn "CA certificates using Mono's cert-sync. Run emerge --config" - ewarn "${CATEGORY}/${PN} occasionally to set them up and keep them" - ewarn "current." - fi -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_config() { - if use geoip; then - ebegin "Updating GeoIP database" - geoipupdate -d "${EROOT}"/usr/share/GeoIP - eend $? - fi - - ebegin "Updating Mono CA certificates" - cert-sync --quiet "${EROOT}"/etc/ssl/certs/ca-certificates.crt - eend $? - - if [[ -n ${ROOT} ]]; then - echo - ewarn "Mono's cert-sync cannot write to your ROOT system so you must manually" - ewarn "copy the certificates from ${BROOT}/usr/share/.mono to ${EROOT}/usr/share/.mono." - fi -} |