public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/wivrn/
Date: Tue, 18 Feb 2025 14:01:14 +0000 (UTC)	[thread overview]
Message-ID: <1739811450.9d593854133ba9df64c7abe62874fbb9161e8a92.davidroman@gentoo> (raw)

commit:     9d593854133ba9df64c7abe62874fbb9161e8a92
Author:     Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
AuthorDate: Mon Feb 17 16:53:04 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Feb 17 16:57:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d593854

media-libs/wivrn: add NDEBUG

Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net>

 media-libs/wivrn/{wivrn-0.23.2.ebuild => wivrn-0.23.2-r1.ebuild} | 6 ++++--
 media-libs/wivrn/wivrn-9999.ebuild                               | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-libs/wivrn/wivrn-0.23.2.ebuild b/media-libs/wivrn/wivrn-0.23.2-r1.ebuild
similarity index 94%
rename from media-libs/wivrn/wivrn-0.23.2.ebuild
rename to media-libs/wivrn/wivrn-0.23.2-r1.ebuild
index a9355e1af..55035d654 100644
--- a/media-libs/wivrn/wivrn-0.23.2.ebuild
+++ b/media-libs/wivrn/wivrn-0.23.2-r1.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=8
 
-inherit cmake fcaps xdg
+inherit cmake fcaps flag-o-matic xdg
 
 DESCRIPTION="WiVRn OpenXR streaming"
 HOMEPAGE="https://github.com/WiVRn/WiVRn"
 
 LICENSE="GPL-3 Apache-2.0 MIT"
 SLOT="0"
-IUSE="gui nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins x264"
+IUSE="debug gui nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins x264"
 REQUIRED_USE="|| ( nvenc vaapi x264 )"
 
 if [[ ${PV} == 9999 ]]; then
@@ -102,6 +102,8 @@ else
 fi
 
 src_configure() {
+	use debug || append-cflags "-DNDEBUG"
+	use debug || append-cxxflags "-DNDEBUG"
 	if [[ ${PV} == 9999 ]]; then
 		GIT_DESC=$(git describe --tags --always)
 		GIT_COMMIT=$(git rev-parse HEAD)

diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild
index a9355e1af..55035d654 100644
--- a/media-libs/wivrn/wivrn-9999.ebuild
+++ b/media-libs/wivrn/wivrn-9999.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=8
 
-inherit cmake fcaps xdg
+inherit cmake fcaps flag-o-matic xdg
 
 DESCRIPTION="WiVRn OpenXR streaming"
 HOMEPAGE="https://github.com/WiVRn/WiVRn"
 
 LICENSE="GPL-3 Apache-2.0 MIT"
 SLOT="0"
-IUSE="gui nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins x264"
+IUSE="debug gui nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins x264"
 REQUIRED_USE="|| ( nvenc vaapi x264 )"
 
 if [[ ${PV} == 9999 ]]; then
@@ -102,6 +102,8 @@ else
 fi
 
 src_configure() {
+	use debug || append-cflags "-DNDEBUG"
+	use debug || append-cxxflags "-DNDEBUG"
 	if [[ ${PV} == 9999 ]]; then
 		GIT_DESC=$(git describe --tags --always)
 		GIT_COMMIT=$(git rev-parse HEAD)


             reply	other threads:[~2025-02-18 14:01 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18 14:01 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 14:01 [gentoo-commits] repo/proj/guru:master commit in: media-libs/wivrn/ David Roman
2025-02-17  9:49 David Roman
2025-02-17  9:49 David Roman
2025-02-13  9:56 David Roman
2025-02-09 10:28 Florian Schmaus
2025-02-06  9:25 David Roman
2025-02-06  9:25 David Roman
2025-02-03 11:38 David Roman
2024-11-04 18:27 David Roman
2024-11-04 18:27 David Roman
2024-10-29 14:06 David Roman
2024-10-15 23:27 David Roman
2024-10-15 23:27 David Roman
2024-10-11  9:55 David Roman
2024-09-20 19:26 David Roman
2024-09-20 19:26 David Roman
2024-09-03 10:53 David Roman
2024-08-17 10:16 David Roman
2024-08-13 19:56 David Roman
2024-07-15 19:27 Andrew Ammerlaan
2024-07-15 19:27 Andrew Ammerlaan
2024-07-15 19:27 Andrew Ammerlaan
2024-06-28 10:57 David Roman
2024-06-17 21:40 Julien Roy
2024-06-14 23:09 Julien Roy
2024-06-14 23:09 Julien Roy
2024-06-06 10:27 David Roman
2024-05-20  0:18 Julien Roy
2024-03-31  1:01 Julien Roy
2024-03-31  1:01 Julien Roy
2024-03-31  1:01 Julien Roy
2024-03-10 21:26 Haelwenn Monnier
2024-03-07 11:34 Andrew Ammerlaan
2024-03-07 11:34 Andrew Ammerlaan
2024-03-06  0:48 Julien Roy
2024-02-18 16:18 Julien Roy
2024-02-18 16:18 Julien Roy
2024-01-07 21:23 David Roman
2023-12-20  9:10 David Roman
2023-12-20  9:10 David Roman
2023-11-29 22:40 David Roman
2023-11-24 17:20 David Roman
2023-11-24 17:20 David Roman

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=1739811450.9d593854133ba9df64c7abe62874fbb9161e8a92.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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