From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/stratagus/
Date: Fri, 29 Jul 2022 18:02:42 +0000 (UTC) [thread overview]
Message-ID: <1659117755.2cdaaad53b9e11f00c97c66e462299c36b646323.mgorny@gentoo> (raw)
commit: 2cdaaad53b9e11f00c97c66e462299c36b646323
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 16:07:16 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 18:02:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cdaaad5
games-engines/stratagus: Bump to 3.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-engines/stratagus/Manifest | 1 +
games-engines/stratagus/stratagus-3.3.0.ebuild | 83 ++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/games-engines/stratagus/Manifest b/games-engines/stratagus/Manifest
index 580e155d06cf..00c2e1b9c0f9 100644
--- a/games-engines/stratagus/Manifest
+++ b/games-engines/stratagus/Manifest
@@ -4,3 +4,4 @@ DIST stratagus-3.1.0.tar.gz 1188722 BLAKE2B 7eefd0d1c2ab35e657d8dc3c90c279deab07
DIST stratagus-3.1.1.tar.gz 1189631 BLAKE2B dd81b354d90cd3483674d0b9728abf9a7c6b8e2c2ab49683d8da37a80dca26eafe3bfed022b3917ab7f6f1d09c68724def5a8d107dd735dbab58cc72b224fbd3 SHA512 b5c5e3d767cd96be0fcc13476452e76ea106ddf870117f0e0b97113455c8a54a6547065b242d9a255d87c59ee755e604489e68a5ecc2e5275b32b7b5b5cfae6b
DIST stratagus-3.1.2.tar.gz 1190124 BLAKE2B 35e9b8d33a0b6926ba7a450b893679d323dca9507b9fe2cd27ec8ee5c80deeecf8e35fd8b92eed86f308b5a8abd017d6306a08b4268c06de3c3d0fac7b74eba1 SHA512 c12012b08b04a419b0d3d35860b22fa426e06181d6ecd2998b11419227f3c226a6d584a5c3443939dfe63e0cc657eaad914f04810431bc72b7697cf8f4465b18
DIST stratagus-3.2.0.tar.gz 1537172 BLAKE2B cd0ce92a1532cdf57245f6ef234ee1f55418f28f06bb34f358bd623b1e83d21b9a04cfa86e8129931043e480de5a9de0ef6458b75dcb2f8c40c3457d4ef31eef SHA512 7a1b4f99fa3a080905b976439435c62fa885c0895f3f9f7692404a207822520d6b71189f24627c31bec192503d6504bf98485cce393036950f6bac0a49cb17dc
+DIST stratagus-3.3.0.tar.gz 1582643 BLAKE2B 7307ac59dc4ff112f0be8f85165eb14e61b83cbd7fa2e1a58599e1422b025c42cb2527bbb08d3231a45b07b116712f020605b6ec0f79d3696acda8577e3c1e24 SHA512 9510bd85f8dff284d912b68e377041345cf141af32f98298cbd712f932cff88cbf91733f97396b1d0e9671eafddc36897383bc3f39c1497a65d270432dab0876
diff --git a/games-engines/stratagus/stratagus-3.3.0.ebuild b/games-engines/stratagus/stratagus-3.3.0.ebuild
new file mode 100644
index 000000000000..c6eac6df2815
--- /dev/null
+++ b/games-engines/stratagus/stratagus-3.3.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-1 )
+inherit cmake lua-single optfeature
+
+DESCRIPTION="A realtime strategy game engine"
+HOMEPAGE="
+ https://stratagus.com/stratagus.html
+ https://github.com/Wargus/stratagus/
+"
+SRC_URI="
+ https://github.com/Wargus/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 debug doc mng theora vorbis"
+REQUIRED_USE="
+ ${LUA_REQUIRED_USE}
+ theora? ( vorbis )
+"
+
+DEPEND="
+ ${LUA_DEPS}
+ dev-db/sqlite:3
+ dev-lua/toluapp[${LUA_SINGLE_USEDEP}]
+ media-libs/libpng:0
+ x11-libs/libX11
+ media-libs/libsdl2[sound,opengl,video]
+ media-libs/sdl2-mixer[vorbis]
+ media-libs/sdl2-image[png]
+ sys-libs/zlib
+ bzip2? ( app-arch/bzip2 )
+ mng? ( media-libs/libmng )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ theora? ( media-libs/libtheora )
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}"-2.3.0-doc.patch
+)
+
+src_prepare() {
+ sed -i -e 's:-Werror::' CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ # there are in-source switches
+ use debug && CMAKE_BUILD_TYPE=Debug
+
+ local mycmakeargs=(
+ -DGAMEDIR="${EPREFIX}/usr/bin"
+ -DDOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+ -DWITH_BZIP2=$(usex bzip2)
+ -DWITH_MNG=$(usex mng)
+ -DWITH_OGGVORBIS=$(usex vorbis)
+ -DWITH_THEORA=$(usex theora)
+ -DENABLE_DOC=$(usex doc)
+ -DENABLE_DEV=ON
+ )
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ optfeature "MIDI music support" "media-libs/sdl2-mixer[midi]"
+}
next reply other threads:[~2022-07-29 18:02 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 18:02 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-15 15:15 [gentoo-commits] repo/gentoo:master commit in: games-engines/stratagus/ Michał Górny
2024-02-15 15:15 Michał Górny
2024-02-15 15:15 Michał Górny
2022-12-18 17:04 Andreas Sturmlechner
2022-08-10 20:44 Michał Górny
2022-08-01 11:07 Michał Górny
2022-08-01 11:07 Michał Górny
2021-12-24 22:52 Michał Górny
2021-07-17 6:18 Michał Górny
2021-07-15 17:33 Michał Górny
2021-07-03 21:46 Michał Górny
2021-03-26 19:46 Conrad Kostecki
2020-12-25 11:25 Michał Górny
2020-12-20 10:40 Michał Górny
2020-12-19 8:59 Michał Górny
2020-11-23 0:33 Michał Górny
2020-11-22 22:33 Michał Górny
2020-11-22 22:33 Michał Górny
2018-04-29 13:06 Pacho Ramos
2017-10-16 0:08 David Seifert
2017-10-03 22:03 Patrice Clement
2015-12-14 14:12 Agostino Sarubbo
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=1659117755.2cdaaad53b9e11f00c97c66e462299c36b646323.mgorny@gentoo \
--to=mgorny@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