media-libs/wivrn: add NDEBUG

Signed-off-by: Patrick Nicolas <patricknicolas@laposte.net>
This commit is contained in:
Patrick Nicolas
2025-02-17 17:53:04 +01:00
parent 2f975585f7
commit 9d59385413
2 changed files with 8 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)