Skip to content

Commit

Permalink
gui-wm/wayfire: remove debug symbols
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aisha Tammy <[email protected]>
Signed-off-by: Aaron Bauman <[email protected]>
  • Loading branch information
epsilon-0 authored and FuzzyGophers committed Jun 7, 2020
1 parent 7646a49 commit ac6d97b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
3 changes: 1 addition & 2 deletions gui-wm/wayfire/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="gles2">use libglvnd to do animations more efficiently</flag>
<flag name="gles">use libglvnd to do animations more efficiently</flag>
<flag name='system-wfconfig'>use the system-wide wf-config, else build it as a submodule. DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.</flag>
<flag name='system-wlroots'>use the system wide wlroots, else build it as a submodule. DO NOT DISABLE UNLESS YOU KNOW WHAT YOU ARE DOING.</flag>
<flag name='debug'>add debugging symbols for error reporting. DISABLE ALL SYSTEM USE FLAGS BEFORE REPORTING BUGS.</flag>
</use>
</pkgmetadata>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi

LICENSE="MIT"
SLOT="0"
IUSE="+gles2 +system-wfconfig +system-wlroots elogind systemd debug"
IUSE="+gles +system-wfconfig +system-wlroots elogind systemd"
REQUIRED_USE="?? ( elogind systemd )"

DEPEND="
Expand All @@ -35,10 +35,10 @@ DEPEND="
x11-libs/cairo:=[X,svg]
x11-libs/libxkbcommon:=[X]
x11-libs/pixman
gles2? ( media-libs/libglvnd[X] )
system-wfconfig? ( ~gui-libs/wf-config-${PV}[debug=] )
gles? ( media-libs/libglvnd[X] )
system-wfconfig? ( ~gui-libs/wf-config-${PV} )
!system-wfconfig? ( !gui-libs/wf-config )
system-wlroots? ( ~gui-libs/wlroots-0.10.0[elogind=,systemd=,X] )
system-wlroots? ( ~gui-libs/wlroots-0.10.1[elogind=,systemd=,X] )
!system-wlroots? ( !gui-libs/wlroots )
"

Expand All @@ -59,13 +59,8 @@ src_configure() {
local emesonargs=(
$(meson_feature system-wfconfig use_system_wfconfig)
$(meson_feature system-wlroots use_system_wlroots)
$(meson_use gles2 enable_gles32)
$(meson_use gles enable_gles32)
)
if use debug; then
emesonargs+=(
"-Db_sanitize=address,undefined"
)
fi
meson_src_configure
}

Expand Down
15 changes: 5 additions & 10 deletions gui-wm/wayfire/wayfire-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi

LICENSE="MIT"
SLOT="0"
IUSE="+gles2 +system-wfconfig +system-wlroots elogind systemd debug"
IUSE="+gles +system-wfconfig +system-wlroots elogind systemd"
REQUIRED_USE="?? ( elogind systemd )"

DEPEND="
Expand All @@ -35,10 +35,10 @@ DEPEND="
x11-libs/cairo:=[X,svg]
x11-libs/libxkbcommon:=[X]
x11-libs/pixman
gles2? ( media-libs/libglvnd[X] )
system-wfconfig? ( ~gui-libs/wf-config-${PV}[debug=] )
gles? ( media-libs/libglvnd[X] )
system-wfconfig? ( ~gui-libs/wf-config-${PV} )
!system-wfconfig? ( !gui-libs/wf-config )
system-wlroots? ( >=gui-libs/wlroots-0.10.1[elogind=,systemd=,X] )
system-wlroots? ( ~gui-libs/wlroots-9999[elogind=,systemd=,X] )
!system-wlroots? ( !gui-libs/wlroots )
"

Expand All @@ -59,13 +59,8 @@ src_configure() {
local emesonargs=(
$(meson_feature system-wfconfig use_system_wfconfig)
$(meson_feature system-wlroots use_system_wlroots)
$(meson_use gles2 enable_gles32)
$(meson_use gles enable_gles32)
)
if use debug; then
emesonargs+=(
"-Db_sanitize=address,undefined"
)
fi
meson_src_configure
}

Expand Down

0 comments on commit ac6d97b

Please sign in to comment.