From 695e32c3b4763e1c325257bbf1b791f6884b8faf Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 21 Oct 2020 11:54:21 -0400 Subject: [PATCH] games-strategy/augustus: new package Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Horea Christian --- games-strategy/augustus/ChangeLog | 5 ++ games-strategy/augustus/Manifest | 1 + .../augustus/augustus-1.4.1a.ebuild | 46 +++++++++++++++++++ games-strategy/augustus/files/90augustus.sh | 2 + games-strategy/augustus/metadata.xml | 17 +++++++ 5 files changed, 71 insertions(+) create mode 100644 games-strategy/augustus/ChangeLog create mode 100644 games-strategy/augustus/Manifest create mode 100644 games-strategy/augustus/augustus-1.4.1a.ebuild create mode 100644 games-strategy/augustus/files/90augustus.sh create mode 100644 games-strategy/augustus/metadata.xml diff --git a/games-strategy/augustus/ChangeLog b/games-strategy/augustus/ChangeLog new file mode 100644 index 0000000..4f9c112 --- /dev/null +++ b/games-strategy/augustus/ChangeLog @@ -0,0 +1,5 @@ +*augustus-1.4.1a (21 Oct 2020) + + 21 Oct 2020; +augustus-1.4.1a.ebuild, + +files/90augustus.sh, +metadata.xml: + games-strategy/augustus: new package diff --git a/games-strategy/augustus/Manifest b/games-strategy/augustus/Manifest new file mode 100644 index 0000000..008dbcf --- /dev/null +++ b/games-strategy/augustus/Manifest @@ -0,0 +1 @@ +DIST augustus-1.4.1a.tar.gz 8613703 SHA256 ab0f75357b07b9183d3f09a92c759f8c7016bc8ac24a3d45b0b42a63dd9b4a42 SHA512 9534b6afe87178cdd1592d4647413a094a35d4b2962048b3813ae9ec4951bf4476a899c65365fddf8436971b68c0ddd099ca902a3ee6af4360b6fb71291b6cf2 WHIRLPOOL ad456e7ad1e96bf032b89d5d5932a1361c314a2feac1e316a774fe8c5b6bbe949268535c5d77ea2705a33867fcec91d23d9f3ca8b2bdd9e5a6c89ba6319c9dbd diff --git a/games-strategy/augustus/augustus-1.4.1a.ebuild b/games-strategy/augustus/augustus-1.4.1a.ebuild new file mode 100644 index 0000000..f120ca2 --- /dev/null +++ b/games-strategy/augustus/augustus-1.4.1a.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Feature-enhanced open source re-implementation of Caesar III" +HOMEPAGE="https://github.com/Keriew/augustus" +SRC_URI="https://github.com/Keriew/augustus/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}"/90augustus.sh + cmake_src_install +} + +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." +} diff --git a/games-strategy/augustus/files/90augustus.sh b/games-strategy/augustus/files/90augustus.sh new file mode 100644 index 0000000..20e8b7b --- /dev/null +++ b/games-strategy/augustus/files/90augustus.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +alias augustus='augustus ~/.cache/julius/app' diff --git a/games-strategy/augustus/metadata.xml b/games-strategy/augustus/metadata.xml new file mode 100644 index 0000000..717ccdf --- /dev/null +++ b/games-strategy/augustus/metadata.xml @@ -0,0 +1,17 @@ + + + + + chr@chymera.eu + Horea Christian + + + The aim of this project is to provide enhanced, customizable gameplay + to Caesar 3 using project Julius UI enhancements. Augustus is able to + load Caesar 3 and Julius saves, however saves made with Augustus will + not work outside Augustus. + + + Keriew/augustus + +