From 67b58518006a09a1857d2676db69e91a6eccddab Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 21 Oct 2020 10:45:18 -0400 Subject: [PATCH] games-strategy/julius: version bump 1.4.1 and DESCRIPTION improvement Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Horea Christian --- games-strategy/julius/ChangeLog | 5 +++ games-strategy/julius/Manifest | 1 + games-strategy/julius/julius-1.3.1.ebuild | 2 +- games-strategy/julius/julius-1.4.1.ebuild | 48 +++++++++++++++++++++++ 4 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 games-strategy/julius/julius-1.4.1.ebuild diff --git a/games-strategy/julius/ChangeLog b/games-strategy/julius/ChangeLog index ebc53d0..8fa042e 100644 --- a/games-strategy/julius/ChangeLog +++ b/games-strategy/julius/ChangeLog @@ -1,3 +1,8 @@ +*julius-1.4.1 (21 Oct 2020) + + 21 Oct 2020; +julius-1.4.1.ebuild, julius-1.3.1.ebuild: + games-strategy/julius: version bump 1.4.1 and DESCRIPTION improvement + 05 May 2020; julius-1.3.1.ebuild: games-strategy/julius: updated license diff --git a/games-strategy/julius/Manifest b/games-strategy/julius/Manifest index e9c3dca..fe3a4d8 100644 --- a/games-strategy/julius/Manifest +++ b/games-strategy/julius/Manifest @@ -1 +1,2 @@ DIST julius-1.3.1.tar.gz 8536096 SHA256 7ffbee8f05c6e4b03615853b366c4e3a7037e22c63929fdeae1bedb1f1ebea73 SHA512 380bb478c6f41cee9a23b93b2acc2d6f91dccfc70a27bed89fb03cb7db20f259a3eb64e7889b32cbaa1600ba38dd3a7fa3e0a6701de73e9da174f1167369fefe WHIRLPOOL 5ec6277d78ea45627a2af2b4438da6d7679a8908a3235fb0218c618bfd9d367bab4e172acc16bd6a2ae76cf9f566f8c41fe7c9372064e1245c88d24bd9678564 +DIST julius-1.4.1.tar.gz 8592785 SHA256 0ac0cbd5bc562c61eba3fc552f92a94e9f2189566ccbc0e62f71f3dde6962cb1 SHA512 8488cee4a229299fd771f7ebddf076888b2e11458b2edbb6058b29b1f7e79d372ec2f913df3afacd8191551ba692a900508e64661ead1029916e28f356f79f7b WHIRLPOOL be0d8f62a52cd91b9820f108818ff2614c30aec4ad8d3e54edf5e7586662dca7cef9e07c6b360f78786eba7ab2a14a8d980ad135f0f04c4b566e61224dc60873 diff --git a/games-strategy/julius/julius-1.3.1.ebuild b/games-strategy/julius/julius-1.3.1.ebuild index f51cf54..992b54e 100644 --- a/games-strategy/julius/julius-1.3.1.ebuild +++ b/games-strategy/julius/julius-1.3.1.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit cmake-utils -DESCRIPTION="An open source re-implementation of Caesar III" +DESCRIPTION="Feature-faithful open source re-implementation of Caesar III" HOMEPAGE="https://github.com/bvschaik/julius" SRC_URI="https://github.com/bvschaik/julius/archive/v${PV}.tar.gz -> ${P}.tar.gz" diff --git a/games-strategy/julius/julius-1.4.1.ebuild b/games-strategy/julius/julius-1.4.1.ebuild new file mode 100644 index 0000000..992b54e --- /dev/null +++ b/games-strategy/julius/julius-1.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Feature-faithful open source re-implementation of Caesar III" +HOMEPAGE="https://github.com/bvschaik/julius" +SRC_URI="https://github.com/bvschaik/julius/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + media-libs/libpng + media-libs/libsdl2 + media-libs/sdl2-mixer +" +RDEPEND="" + +src_test() { + sed -i -e "s: && cd \.\. && \./coverage.sh::" runtests.sh || die + ./runtests.sh || die "test phase failed" +} + +src_install() { + insinto /etc/profile.d + doins "${FILESDIR}"/90julius.sh + cmake-utils_src_install + mv "${ED}"/usr/bin/julius "${ED}"/usr/bin/julius-game || + die "Failed to rename executable (required as per conflict with app-accessibility/julius)" +} + +pkg_postinst() { + ewarn "Julius requires you to download the original Caesar 3 resources." + ewarn + ewarn "You need to obtain these files from a vendor of the proprietary software." + ewarn "You will then need to copy the 'app' directory into '~/.cache/julius/'." + ewarn "One way to obtain this directory is to download the GOG Cesar 3 edition." + ewarn "You can then produce this directory by running:" + ewarn " innoextract -m setup_caesar3_2.0.0.9.exe" + ewarn + ewarn "Lastly, run 'source /etc/profile' to refresh your environment and be able" + ewarn "to start the game directly by running 'julius' in the command line." +}