From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeciv/
Date: Sat, 5 Jun 2021 17:48:17 +0000 (UTC) [thread overview]
Message-ID: <1622915286.520793f9e323a38d14456e058d69c539735e2f9d.marecki@gentoo> (raw)
commit: 520793f9e323a38d14456e058d69c539735e2f9d
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 17:45:29 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 17:48:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520793f9
games-strategy/freeciv: migrate to lua-single.eclass
Builds and installs fine against lua5-3. Against lua5-4, src_configure
dies with
"configure: error: Use of included lua disabled, and no lua found from system"
Note: USE=system-lua is still masked for this package, leaving it up to
its maintainers to unmask it.
Closes: https://bugs.gentoo.org/752711
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
games-strategy/freeciv/freeciv-2.6.4.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/games-strategy/freeciv/freeciv-2.6.4.ebuild b/games-strategy/freeciv/freeciv-2.6.4.ebuild
index 93312c18dcb..93e090d0ab5 100644
--- a/games-strategy/freeciv/freeciv-2.6.4.ebuild
+++ b/games-strategy/freeciv/freeciv-2.6.4.ebuild
@@ -3,10 +3,12 @@
EAPI=7
+LUA_COMPAT=( lua5-3 )
+
MY_PV="${PV/_beta/-beta}"
MY_PV="${MY_PV/_rc/-RC}"
MY_P="${PN}-${MY_PV}"
-inherit desktop flag-o-matic qmake-utils xdg
+inherit desktop flag-o-matic lua-single qmake-utils xdg
DESCRIPTION="Multiplayer strategy game (Civilization Clone)"
HOMEPAGE="http://www.freeciv.org/"
@@ -20,6 +22,8 @@ LICENSE="GPL-2+"
SLOT="0"
IUSE="aimodules auth dedicated +gtk ipv6 mapimg modpack mysql nls qt5 readline sdl +server +sound sqlite system-lua"
+REQUIRED_USE="system-lua? ( ${LUA_REQUIRED_USE} )"
+
RDEPEND="
app-arch/bzip2
app-arch/xz-utils
@@ -56,7 +60,7 @@ RDEPEND="
)
)
readline? ( sys-libs/readline:0= )
- system-lua? ( >=dev-lang/lua-5.3:= )
+ system-lua? ( ${LUA_DEPS} )
"
DEPEND="${RDEPEND}
!dedicated? ( x11-base/xorg-proto )
@@ -74,6 +78,8 @@ pkg_setup() {
ewarn "Disabling server USE flag will make it impossible to start local"
ewarn "games, but you will still be able to join multiplayer games."
fi
+
+ use system-lua && lua-single_pkg_setup
}
src_prepare() {
next reply other threads:[~2021-06-05 17:48 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-05 17:48 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-16 6:46 [gentoo-commits] repo/gentoo:master commit in: games-strategy/freeciv/ Matt Jolly
2025-04-16 5:52 Matt Jolly
2025-04-16 5:52 Matt Jolly
2025-04-10 7:16 Matt Jolly
2025-04-03 15:33 Sam James
2025-04-03 5:58 Matt Jolly
2025-04-03 5:58 Matt Jolly
2025-04-03 5:58 Matt Jolly
2024-11-11 8:53 Matt Jolly
2024-09-25 8:31 Ionen Wolkens
2024-09-25 8:31 Ionen Wolkens
2024-08-25 23:54 Conrad Kostecki
2024-08-25 23:54 Conrad Kostecki
2024-04-01 4:15 Matt Jolly
2024-04-01 3:59 Matt Jolly
2024-04-01 3:59 Matt Jolly
2024-04-01 3:59 Matt Jolly
2024-02-10 21:15 Matt Jolly
2024-02-10 21:15 Matt Jolly
2024-02-10 21:15 Matt Jolly
2023-07-05 20:41 Conrad Kostecki
2022-04-15 6:32 Sam James
2022-04-15 5:53 Sam James
2022-04-15 5:53 Sam James
2022-04-14 21:34 James Le Cuirot
2022-04-14 21:34 James Le Cuirot
2022-02-03 5:46 Stefan Strogin
2021-09-12 20:20 Ionen Wolkens
2021-08-01 18:27 Sam James
2021-05-15 16:25 Andreas Sturmlechner
2021-04-19 7:58 Andreas Sturmlechner
2021-04-16 10:25 David Seifert
2020-11-24 0:59 Andreas Sturmlechner
2020-11-21 21:59 Sergei Trofimovich
2020-03-08 21:43 James Le Cuirot
2020-02-19 13:24 Lars Wendler
2020-02-19 12:49 Lars Wendler
2020-02-19 12:49 Lars Wendler
2019-12-28 11:53 Lars Wendler
2019-02-24 20:42 Brian Evans
2019-02-14 23:06 Andreas Sturmlechner
2018-09-15 8:45 Lars Wendler
2018-09-14 7:06 Lars Wendler
2018-07-21 4:43 Lars Wendler
2018-05-16 19:20 Lars Wendler
2018-05-16 19:12 Lars Wendler
2018-04-03 14:19 Lars Wendler
2018-04-03 14:19 Lars Wendler
2018-02-04 6:06 Lars Wendler
2017-12-03 13:32 Lars Wendler
2017-12-03 13:32 Lars Wendler
2017-08-22 13:18 Lars Wendler
2017-08-22 13:18 Lars Wendler
2017-08-15 10:03 Lars Wendler
2017-05-14 10:05 Lars Wendler
2017-05-14 10:05 Lars Wendler
2017-05-14 10:05 Lars Wendler
2016-11-27 14:29 Lars Wendler
2016-11-26 21:18 Lars Wendler
2016-09-19 13:17 Lars Wendler
2016-09-19 13:17 Lars Wendler
2016-05-24 20:44 Michael Sterrett
2016-03-16 3:58 Michael Sterrett
2016-03-14 22:12 Agostino Sarubbo
2016-02-16 1:38 Michael Sterrett
2016-02-10 3:24 Michael Sterrett
2016-01-28 15:21 Michael Sterrett
2015-10-08 6:19 Michael Sterrett
2015-09-25 14:13 Agostino Sarubbo
2015-09-25 10:42 Agostino Sarubbo
2015-08-22 8:56 Lars Wendler
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=1622915286.520793f9e323a38d14456e058d69c539735e2f9d.marecki@gentoo \
--to=marecki@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