public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeorion/
Date: Sat, 14 May 2022 02:32:26 +0000 (UTC)	[thread overview]
Message-ID: <1652495530.47b0dd1c7c2e1d2c213203020493383f2b9283c3.sam@gentoo> (raw)

commit:     47b0dd1c7c2e1d2c213203020493383f2b9283c3
Author:     Cengiz Gunay <cengique <AT> users <DOT> sf <DOT> net>
AuthorDate: Sun Apr  3 21:08:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 14 02:32:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b0dd1c

games-strategy/freeorion: stable release 0.4.10.2

Tested-by: Cengiz Gunay <cengique <AT> users.sf.net>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Cengiz Gunay <cengique <AT> users.sf.net>
Closes: https://github.com/gentoo/gentoo/pull/24886
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-strategy/freeorion/Manifest                  |  1 +
 games-strategy/freeorion/freeorion-0.4.10.2.ebuild | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest
index 649be95583bd..44124c4f61bd 100644
--- a/games-strategy/freeorion/Manifest
+++ b/games-strategy/freeorion/Manifest
@@ -1,2 +1,3 @@
 DIST freeorion-0.4.10.1.tar.gz 124693099 BLAKE2B d24c481e7be6f718897bb095209673f24cb7d43842f148cf1e8665254970d22449bf7a4ee4ba7a8cb3b5b515d6bed38a24e2862810959a63b29ba9d3c054e6c4 SHA512 b28a8bdc2428778480ff8404ad7d84153939f4f8b4a75f51775354e3e563f7f309d479e499ea1be8b57822d725cc57ece8dd14f2e40360ab6c07d70c917bc256
 DIST freeorion-0.4.10.1_p20200629.tar.gz 142041599 BLAKE2B a9c14409f31f5ad4d8db95fa33e8f1adb35f7b2a74ea7f173365c7d09979b9a3aa7981ee9deec0427c64844da14ecc323ee54e3331217e2978b49eb86a7a18fb SHA512 b2d4f52e968852569d549c03eca2545b7adac560e5716a21da612dc363b23d790c4481fbd5762f1f1f8da9a8e04894e247ce19363cd96cc2001728912e027d9a
+DIST freeorion-0.4.10.2.tar.gz 124720711 BLAKE2B 4f707b5296bdbc05b2b775b62f0393d1770bcf64c48f08d3332fbbb4b78e1bdc3e8111a1e421a8d0f0e03ca7454bba981809b9486d3d803e39faf042f1145059 SHA512 13832992efe17fe48615ccdf284d1e9f391c35ed518abd15276992128a02894f4b30c8fe3d950e41935efb823cf834dc430330f0bcc6c9e91f13a3dea9812628

diff --git a/games-strategy/freeorion/freeorion-0.4.10.2.ebuild b/games-strategy/freeorion/freeorion-0.4.10.2.ebuild
new file mode 100644
index 000000000000..a4ce29bba4d5
--- /dev/null
+++ b/games-strategy/freeorion/freeorion-0.4.10.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_8,3_9} )
+inherit cmake python-single-r1 xdg
+
+DESCRIPTION="A free turn-based space empire and galactic conquest game"
+HOMEPAGE="https://www.freeorion.org"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/freeorion/freeorion.git"
+else
+	KEYWORDS="~amd64"
+	if [[ ${PV} = *_p* ]]; then
+		COMMIT=""
+		SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+		S="${WORKDIR}/${PN}-${COMMIT}"
+	else
+		SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+		S="${WORKDIR}/${PN}-${PV/_/-}"
+	fi
+fi
+
+LICENSE="GPL-2 LGPL-2.1 CC-BY-SA-3.0"
+SLOT="0"
+IUSE="dedicated"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+	virtual/pkgconfig
+"
+RDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-libs/boost-1.58:=[nls,python,threads(+),${PYTHON_USEDEP}]
+	')
+	!dedicated? (
+		media-libs/freealut
+		>=media-libs/freetype-2.5.5
+		media-libs/glew:=
+		>=media-libs/libogg-1.1.3
+		media-libs/libpng:0=
+		media-libs/libsdl2[X,opengl,video]
+		>=media-libs/libvorbis-1.1.2
+		media-libs/openal
+		sci-physics/bullet:=
+		virtual/opengl
+	)
+	sys-libs/zlib
+	${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -e "s/-O3//" -i CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_BUILD_TYPE=Release
+		-DCMAKE_SKIP_RPATH=ON
+		-DBUILD_HEADLESS="$(usex dedicated)"
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	newenvd "${FILESDIR}/${PN}.envd" 99${PN}
+}


             reply	other threads:[~2022-05-14  2:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14  2:32 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-22  3:07 [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeorion/ Ionen Wolkens
2024-06-01  5:32 Ionen Wolkens
2024-05-26 14:52 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2024-05-05 23:44 Ionen Wolkens
2023-02-08 13:45 Ionen Wolkens
2023-02-08 12:32 Ionen Wolkens
2022-07-25  6:11 Ionen Wolkens
2022-07-25  6:11 Ionen Wolkens
2022-07-24 15:03 Ionen Wolkens
2022-07-24 15:03 Ionen Wolkens
2022-05-14  2:32 Sam James
2021-07-01 16:02 Adam Feldman
2021-07-01 16:02 Adam Feldman
2021-06-18 19:18 David Seifert
2020-10-12  3:19 Adam Feldman
2020-10-06 18:12 Adam Feldman
2020-05-09 15:31 Adam Feldman
2020-04-09 20:55 Adam Feldman
2020-04-09 20:55 Adam Feldman
2020-02-09 16:25 Michał Górny
2019-08-12 19:58 Michał Górny
2019-05-11  8:24 Andreas Sturmlechner
2019-05-11  8:24 Andreas Sturmlechner
2019-04-23 10:05 Lars Wendler
2018-03-27  4:06 NP Hardass
2017-12-08  0:35 NP Hardass
2017-12-04  6:27 NP Hardass
2017-09-13 19:48 NP Hardass
2017-05-07  6:36 NP Hardass
2017-04-26 18:43 NP Hardass
2017-04-25 18:58 NP Hardass
2017-03-16  4:24 NP Hardass
2017-03-16  4:24 NP Hardass
2016-10-25  8:55 Thomas Kahle
2015-09-29 12:16 Thomas Kahle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652495530.47b0dd1c7c2e1d2c213203020493383f2b9283c3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox