public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/love/
Date: Mon, 25 Jan 2021 17:38:30 +0000 (UTC)	[thread overview]
Message-ID: <1611596256.97039cf3e175068534a5ee2baab6c133865fdaea.marecki@gentoo> (raw)

commit:     97039cf3e175068534a5ee2baab6c133865fdaea
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 14:24:27 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 17:37:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97039cf3

games-engines/love-9999: sync with latest release ebuild

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 games-engines/love/love-9999.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/games-engines/love/love-9999.ebuild b/games-engines/love/love-9999.ebuild
index 6265299294f..4de07ea8e79 100644
--- a/games-engines/love/love-9999.ebuild
+++ b/games-engines/love/love-9999.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit xdg-utils
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua-single xdg-utils
 
 if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
@@ -14,15 +16,15 @@ else
 fi
 
 DESCRIPTION="A framework for 2D games in Lua"
-HOMEPAGE="http://love2d.org/"
+HOMEPAGE="https://love2d.org/"
 
 LICENSE="ZLIB"
 SLOT="0"
-IUSE="+luajit"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 RDEPEND="sys-libs/zlib
-	!luajit? ( dev-lang/lua:0 )
-	luajit? ( dev-lang/luajit:2 )
+	${LUA_DEPS}
 	media-libs/freetype
 	media-libs/libmodplug
 	media-libs/libsdl2[joystick,opengl]
@@ -44,7 +46,8 @@ src_prepare() {
 }
 
 src_configure() {
-	econf --with-lua=$(usex luajit luajit lua)
+	econf --with-lua=$(usex lua_single_target_luajit luajit lua) \
+		--with-luaversion=$(ver_cut 1-2 $(lua_get_version))
 }
 
 src_install() {


             reply	other threads:[~2021-01-25 17:38 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 17:38 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-15  3:50 [gentoo-commits] repo/gentoo:master commit in: games-engines/love/ Michał Górny
2023-12-24 21:57 Marek Szuba
2023-12-24 21:57 Marek Szuba
2022-10-04 13:19 Marek Szuba
2022-10-04 12:50 Marek Szuba
2022-07-26  8:50 Marek Szuba
2022-03-26 22:31 Marek Szuba
2022-01-07 17:37 Marek Szuba
2022-01-07 16:13 Marek Szuba
2021-01-25 17:38 Marek Szuba
2020-10-14 14:44 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-10-13 16:55 Marek Szuba
2020-09-06 19:52 Jonas Stein
2018-07-20 21:24 Michał Górny
2018-07-20 21:24 Michał Górny
2018-07-20 21:24 Michał Górny
2018-07-20 21:24 Michał Górny
2018-07-20 21:24 Michał Górny
2018-07-17 12:23 Michał Górny
2018-07-17 12:23 Michał Górny
2018-07-17 12:23 Michał Górny
2018-07-17 12:23 Michał Górny
2018-07-17 12:19 Michał Górny
2018-07-17 12:19 Michał Górny
2018-07-17 12:19 Michał Górny
2018-07-17 12:19 Michał Górny
2018-04-22 19:40 Pacho Ramos
2018-04-22 19:40 Pacho Ramos
2018-04-22 19:40 Pacho Ramos
2018-04-22 19:40 Pacho Ramos
2018-04-22 19:40 Pacho Ramos
2018-02-01 13:11 Chí-Thanh Christopher Nguyễn

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=1611596256.97039cf3e175068534a5ee2baab6c133865fdaea.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