public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ronny Gutbrod" <gentoo@tastytea.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-fps/assaultcube/
Date: Fri,  8 Apr 2022 02:43:45 +0000 (UTC)	[thread overview]
Message-ID: <1649319291.94f0d4472fad48bfbdd36043820b339ef2dfc3ce.tastytea@gentoo> (raw)

commit:     94f0d4472fad48bfbdd36043820b339ef2dfc3ce
Author:     Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
AuthorDate: Thu Apr  7 08:14:00 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Apr  7 08:14:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94f0d447

games-fps/assaultcube: add debug USE flag

Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr>

 games-fps/assaultcube/assaultcube-1.3.0.2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
index 9ac5610c5..d66c888b2 100644
--- a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
+++ b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild
@@ -25,6 +25,7 @@ PATCHES=(
 	"${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch
 	${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game
 )
+IUSE="debug"
 
 src_prepare() {
 	eapply ${PATCHES}
@@ -34,7 +35,11 @@ src_prepare() {
 
 src_compile() {
 	cd "${S}/source/src"
-	emake
+	if use debug; then
+		DEBUGBUILD=1 emake
+	else
+		emake
+	fi
 }
 
 src_install() {


             reply	other threads:[~2022-04-08  2:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08  2:43 Ronny Gutbrod [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-08  2:43 [gentoo-commits] repo/proj/guru:master commit in: games-fps/assaultcube/ Ronny Gutbrod
2022-04-08  2:43 Ronny Gutbrod
2022-04-08  2:43 Ronny Gutbrod
2022-04-10 12:35 Andrew Ammerlaan
2022-12-01 11:02 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2022-12-01 11:02 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-01-06  8:51 Florian Schmaus
2023-01-06  8:51 Florian Schmaus
2023-09-19  6:23 Haelwenn Monnier

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=1649319291.94f0d4472fad48bfbdd36043820b339ef2dfc3ce.tastytea@gentoo \
    --to=gentoo@tastytea.de \
    --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