games-strategy/julius: new package
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
cdfdd554d8
commit
3a76bcddc6
5
games-strategy/julius/ChangeLog
Normal file
5
games-strategy/julius/ChangeLog
Normal file
@ -0,0 +1,5 @@
|
||||
*julius-1.3.1 (04 May 2020)
|
||||
|
||||
04 May 2020; <chymera@gentoo.org> +files/90julius.sh, +julius-1.3.1.ebuild,
|
||||
+metadata.xml:
|
||||
games-strategy/julius: new package
|
1
games-strategy/julius/Manifest
Normal file
1
games-strategy/julius/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST julius-1.3.1.tar.gz 8536096 SHA256 7ffbee8f05c6e4b03615853b366c4e3a7037e22c63929fdeae1bedb1f1ebea73 SHA512 380bb478c6f41cee9a23b93b2acc2d6f91dccfc70a27bed89fb03cb7db20f259a3eb64e7889b32cbaa1600ba38dd3a7fa3e0a6701de73e9da174f1167369fefe WHIRLPOOL 5ec6277d78ea45627a2af2b4438da6d7679a8908a3235fb0218c618bfd9d367bab4e172acc16bd6a2ae76cf9f566f8c41fe7c9372064e1245c88d24bd9678564
|
2
games-strategy/julius/files/90julius.sh
Normal file
2
games-strategy/julius/files/90julius.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
alias julius='julius ~/.cache/julius/app'
|
50
games-strategy/julius/julius-1.3.1.ebuild
Normal file
50
games-strategy/julius/julius-1.3.1.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="An 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="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
media-libs/libpng
|
||||
media-libs/libsdl2
|
||||
media-libs/sdl2-mixer
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
mkdir build
|
||||
pushd build > /dev/null
|
||||
cmake .. && emake
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
src_test() {
|
||||
sed -i -e "s: && cd \.\. && \./coverage.sh::" runtests.sh || die
|
||||
./runtests.sh || die "test phase failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/julius
|
||||
insinto /etc/profile.d
|
||||
doins "${FILESDIR}"/90julius.sh
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
21
games-strategy/julius/metadata.xml
Normal file
21
games-strategy/julius/metadata.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?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 create an open-source version of
|
||||
Caesar 3, with the same logic as the original, but with some UI
|
||||
enhancements, that is able to be played on multiple platforms.
|
||||
The same logic means that the saved games are 100% compatible,
|
||||
and any gameplay bugs present in the original Caesar 3 game will
|
||||
also be present in Julius. It is meant as a drop-in replacement
|
||||
for Caesar 3, with the same look and feel, so there will be no
|
||||
major UI changes.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">bvschaik/julius</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user