From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B8E91382C5 for ; Wed, 9 Dec 2020 22:44:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D278CE09DB; Wed, 9 Dec 2020 22:44:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 446D1E09DB for ; Wed, 9 Dec 2020 22:44:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0E62335CEF for ; Wed, 9 Dec 2020 22:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5700C473 for ; Wed, 9 Dec 2020 22:44:31 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1607553673.2ecbc25f3925991ea36559f0b0e25fa634c34a02.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/julius/files/, games-strategy/julius/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/julius/Manifest games-strategy/julius/files/90julius.sh games-strategy/julius/julius-1.4.1.ebuild games-strategy/julius/metadata.xml X-VCS-Directories: games-strategy/julius/files/ games-strategy/julius/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 2ecbc25f3925991ea36559f0b0e25fa634c34a02 X-VCS-Branch: master Date: Wed, 9 Dec 2020 22:44:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a636a31-745c-413d-afe8-29ed1e45d96e X-Archives-Hash: 9b9256dcf375ceebb7894d846c8a78af commit: 2ecbc25f3925991ea36559f0b0e25fa634c34a02 Author: Horea Christian chymera eu> AuthorDate: Tue May 5 19:59:34 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Dec 9 22:41:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecbc25f games-strategy/julius: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Horea Christian chymera.eu> Closes: https://github.com/gentoo/gentoo/pull/15660 Signed-off-by: James Le Cuirot gentoo.org> games-strategy/julius/Manifest | 1 + games-strategy/julius/files/90julius.sh | 2 ++ games-strategy/julius/julius-1.4.1.ebuild | 42 +++++++++++++++++++++++++++++++ games-strategy/julius/metadata.xml | 25 ++++++++++++++++++ 4 files changed, 70 insertions(+) diff --git a/games-strategy/julius/Manifest b/games-strategy/julius/Manifest new file mode 100644 index 00000000000..1e31cd76e50 --- /dev/null +++ b/games-strategy/julius/Manifest @@ -0,0 +1 @@ +DIST julius-1.4.1.tar.gz 8592785 BLAKE2B 8eb91522fccdee33600b02de766727beb19f138c0f695eb92aaa77ea2f25ec293906d0c75d31d42159097a12317ba38b22c01e7edf722670f51fe56d625d9ae7 SHA512 8488cee4a229299fd771f7ebddf076888b2e11458b2edbb6058b29b1f7e79d372ec2f913df3afacd8191551ba692a900508e64661ead1029916e28f356f79f7b diff --git a/games-strategy/julius/files/90julius.sh b/games-strategy/julius/files/90julius.sh new file mode 100644 index 00000000000..e88111f8994 --- /dev/null +++ b/games-strategy/julius/files/90julius.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +alias julius-game='julius-game ~/.cache/julius/app' 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 00000000000..06b33f139f8 --- /dev/null +++ b/games-strategy/julius/julius-1.4.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +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" + +DEPEND=" + media-libs/libpng:0= + media-libs/libsdl2[joystick,video,sound] + media-libs/sdl2-mixer +" +RDEPEND="${DEPEND}" + +src_install() { + insinto /etc/profile.d + doins "${FILESDIR}"/90julius.sh + cmake_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-game' in the command line." +} diff --git a/games-strategy/julius/metadata.xml b/games-strategy/julius/metadata.xml new file mode 100644 index 00000000000..88f523bf415 --- /dev/null +++ b/games-strategy/julius/metadata.xml @@ -0,0 +1,25 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + chr@chymera.eu + Horea Christian + + + 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. + + + bvschaik/julius + +