public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-emulation/melonds/
Date: Mon, 17 May 2021 19:11:52 +0000 (UTC)	[thread overview]
Message-ID: <1621196320.2d49a493401a1471868b5731983efd51ff8a73f5.andrewammerlaan@gentoo> (raw)

commit:     2d49a493401a1471868b5731983efd51ff8a73f5
Author:     Anna Vyalkova <cyber <AT> sysrq <DOT> in>
AuthorDate: Sun May 16 19:23:10 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun May 16 20:18:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d49a493

games-emulation/melonds: add USE flags

Other changes:
* removed unneeded dependencies
* added licenses for bundled deps

Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in>

 games-emulation/melonds/melonds-0.9.2.ebuild | 23 +++++++++++++----------
 games-emulation/melonds/melonds-9999.ebuild  | 23 ++++++++++++-----------
 2 files changed, 25 insertions(+), 21 deletions(-)

diff --git a/games-emulation/melonds/melonds-0.9.2.ebuild b/games-emulation/melonds/melonds-0.9.2.ebuild
index 46d1babd9..81582477d 100644
--- a/games-emulation/melonds/melonds-0.9.2.ebuild
+++ b/games-emulation/melonds/melonds-0.9.2.ebuild
@@ -23,26 +23,21 @@ else
 	S="${WORKDIR}/${MY_P}"
 fi
 
-LICENSE="GPL-3"
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
 DEPEND="
 	app-arch/libarchive
 	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
 	dev-qt/qtgui:5
 	dev-qt/qtwidgets:5
-	media-libs/libepoxy
 	media-libs/libsdl2[sound,video]
-	net-libs/gnutls
-	net-libs/libpcap
 	net-libs/libslirp
-	net-misc/curl
-	x11-libs/cairo
-"
-RDEPEND="
-	${DEPEND}
+	net-libs/libpcap
+	opengl? ( media-libs/libepoxy )
 "
+RDEPEND="${DEPEND}"
 
 # used for JIT recompiler
 QA_EXECSTACK="usr/bin/melonDS"
@@ -51,6 +46,14 @@ src_prepare() {
 	cmake_src_prepare
 }
 
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
+	cmake_src_configure
+}
+
 src_compile() {
 	tc-export AR
 	cmake_src_compile

diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild
index 9113b2611..81582477d 100644
--- a/games-emulation/melonds/melonds-9999.ebuild
+++ b/games-emulation/melonds/melonds-9999.ebuild
@@ -23,33 +23,34 @@ else
 	S="${WORKDIR}/${MY_P}"
 fi
 
-LICENSE="GPL-3"
+IUSE="+jit +opengl"
+LICENSE="BSD-2 GPL-2 GPL-3 Unlicense"
 SLOT="0"
 
 DEPEND="
 	app-arch/libarchive
 	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
 	dev-qt/qtgui:5
 	dev-qt/qtwidgets:5
-	media-libs/libepoxy
 	media-libs/libsdl2[sound,video]
-	net-libs/gnutls
-	net-libs/libpcap
 	net-libs/libslirp
-	net-misc/curl
-	x11-libs/cairo
-"
-RDEPEND="
-	${DEPEND}
+	net-libs/libpcap
+	opengl? ( media-libs/libepoxy )
 "
+RDEPEND="${DEPEND}"
+
+# used for JIT recompiler
+QA_EXECSTACK="usr/bin/melonDS"
 
 src_prepare() {
 	cmake_src_prepare
 }
 
 src_configure() {
-	append-ldflags -Wl,-z,noexecstack
+	local mycmakeargs=(
+		-DENABLE_JIT=$(usex jit)
+		-DENABLE_OGLRENDERER=$(usex opengl)
+	)
 	cmake_src_configure
 }
 


             reply	other threads:[~2021-05-17 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17 19:11 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-08 15:20 [gentoo-commits] repo/proj/guru:master commit in: games-emulation/melonds/ Arthur Zamarin
2021-05-06  9:55 Andrew Ammerlaan
2021-04-29  8:23 Michał Górny
2021-04-27 23:24 Theo Anderson
2020-12-25 20:42 Haelwenn Monnier
2020-12-06 10:49 Andrew Ammerlaan
2020-11-18 16:03 Andrew Ammerlaan

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=1621196320.2d49a493401a1471868b5731983efd51ff8a73f5.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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