x11-wm/notion: remove useless flags USE='xinerama xrandr'

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert 2025-12-12 16:51:30 +01:00
parent 9885fcd700
commit 863c1eac18
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
3 changed files with 10 additions and 37 deletions

View File

@ -5,9 +5,6 @@
<email>soap@gentoo.org</email> <email>soap@gentoo.org</email>
<name>David Seifert</name> <name>David Seifert</name>
</maintainer> </maintainer>
<use>
<flag name="xrandr">Add support for xrandr</flag>
</use>
<upstream> <upstream>
<remote-id type="sourceforge">notion</remote-id> <remote-id type="sourceforge">notion</remote-id>
<remote-id type="github">raboof/notion</remote-id> <remote-id type="github">raboof/notion</remote-id>

View File

@ -23,22 +23,19 @@ fi
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
IUSE="nls xinerama +xrandr" IUSE="nls"
# needs slingshot,... not in tree # needs slingshot,... not in tree
RESTRICT="test" RESTRICT="test"
# mod_xrandr references mod_xinerama REQUIRED_USE="${LUA_REQUIRED_USE}"
REQUIRED_USE="
${LUA_REQUIRED_USE}
xrandr? ( xinerama )"
RDEPEND=" RDEPEND="
${LUA_DEPS} ${LUA_DEPS}
x11-libs/libSM x11-libs/libSM
x11-libs/libX11 x11-libs/libX11
x11-libs/libXext x11-libs/libXext
nls? ( sys-devel/gettext ) x11-libs/libXinerama
xinerama? ( x11-libs/libXinerama ) x11-libs/libXrandr
xrandr? ( x11-libs/libXrandr )" nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
# luac is called at build time # luac is called at build time
BDEPEND=" BDEPEND="
@ -73,15 +70,6 @@ src_configure() {
LUA_INCLUDES=$(lua_get_CFLAGS) LUA_INCLUDES=$(lua_get_CFLAGS)
$(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT") $(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT")
_EOF_ _EOF_
if ! use xinerama ; then
sed -e 's/mod_xinerama//g' -i modulelist.mk || die
fi
if ! use xrandr ; then
sed -e 's/mod_xrandr//g' -i modulelist.mk || die
sed -e '/mod_xrandr/d' -i etc/cfg_defaults.lua || die
fi
} }
src_install() { src_install() {

View File

@ -21,22 +21,19 @@ fi
LICENSE="LGPL-2.1" LICENSE="LGPL-2.1"
SLOT="0" SLOT="0"
IUSE="nls xinerama +xrandr" IUSE="nls"
# needs slingshot,... not in tree # needs slingshot,... not in tree
RESTRICT="test" RESTRICT="test"
# mod_xrandr references mod_xinerama REQUIRED_USE="${LUA_REQUIRED_USE}"
REQUIRED_USE="
${LUA_REQUIRED_USE}
xrandr? ( xinerama )"
RDEPEND=" RDEPEND="
${LUA_DEPS} ${LUA_DEPS}
x11-libs/libSM x11-libs/libSM
x11-libs/libX11 x11-libs/libX11
x11-libs/libXext x11-libs/libXext
nls? ( sys-devel/gettext ) x11-libs/libXinerama
xinerama? ( x11-libs/libXinerama ) x11-libs/libXrandr
xrandr? ( x11-libs/libXrandr )" nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
# luac is called at build time # luac is called at build time
BDEPEND=" BDEPEND="
@ -66,15 +63,6 @@ src_configure() {
LUA_INCLUDES=$(lua_get_CFLAGS) LUA_INCLUDES=$(lua_get_CFLAGS)
$(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT") $(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT")
_EOF_ _EOF_
if ! use xinerama ; then
sed -e 's/mod_xinerama//g' -i modulelist.mk || die
fi
if ! use xrandr ; then
sed -e 's/mod_xrandr//g' -i modulelist.mk || die
sed -e '/mod_xrandr/d' -i etc/cfg_defaults.lua || die
fi
} }
src_install() { src_install() {