diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /games-strategy/freeciv/freeciv-2.6.4.ebuild | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'games-strategy/freeciv/freeciv-2.6.4.ebuild')
-rw-r--r-- | games-strategy/freeciv/freeciv-2.6.4.ebuild | 10 |
1 files 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 93312c18dcb0..93e090d0ab52 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() { |