1
0
Fork 0

games-strategy/augustus: new package

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2020-10-21 11:54:21 -04:00
parent 3f75912e1f
commit 695e32c3b4
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
5 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,5 @@
*augustus-1.4.1a (21 Oct 2020)
21 Oct 2020; <chymera@gentoo.org> +augustus-1.4.1a.ebuild,
+files/90augustus.sh, +metadata.xml:
games-strategy/augustus: new package

View File

@ -0,0 +1 @@
DIST augustus-1.4.1a.tar.gz 8613703 SHA256 ab0f75357b07b9183d3f09a92c759f8c7016bc8ac24a3d45b0b42a63dd9b4a42 SHA512 9534b6afe87178cdd1592d4647413a094a35d4b2962048b3813ae9ec4951bf4476a899c65365fddf8436971b68c0ddd099ca902a3ee6af4360b6fb71291b6cf2 WHIRLPOOL ad456e7ad1e96bf032b89d5d5932a1361c314a2feac1e316a774fe8c5b6bbe949268535c5d77ea2705a33867fcec91d23d9f3ca8b2bdd9e5a6c89ba6319c9dbd

View File

@ -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."
}

View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
alias augustus='augustus ~/.cache/julius/app'

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chr@chymera.eu</email>
<name>Horea Christian</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">Keriew/augustus</remote-id>
</upstream>
</pkgmetadata>