mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
x11-wm/notion: remove useless flags USE='xinerama xrandr'
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
parent
9885fcd700
commit
863c1eac18
@ -5,9 +5,6 @@
|
||||
<email>soap@gentoo.org</email>
|
||||
<name>David Seifert</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="xrandr">Add support for xrandr</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">notion</remote-id>
|
||||
<remote-id type="github">raboof/notion</remote-id>
|
||||
|
||||
@ -23,22 +23,19 @@ fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="nls xinerama +xrandr"
|
||||
IUSE="nls"
|
||||
# needs slingshot,... not in tree
|
||||
RESTRICT="test"
|
||||
# mod_xrandr references mod_xinerama
|
||||
REQUIRED_USE="
|
||||
${LUA_REQUIRED_USE}
|
||||
xrandr? ( xinerama )"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${LUA_DEPS}
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
nls? ( sys-devel/gettext )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
nls? ( sys-devel/gettext )"
|
||||
DEPEND="${RDEPEND}"
|
||||
# luac is called at build time
|
||||
BDEPEND="
|
||||
@ -73,15 +70,6 @@ src_configure() {
|
||||
LUA_INCLUDES=$(lua_get_CFLAGS)
|
||||
$(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT")
|
||||
_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() {
|
||||
|
||||
@ -21,22 +21,19 @@ fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="nls xinerama +xrandr"
|
||||
IUSE="nls"
|
||||
# needs slingshot,... not in tree
|
||||
RESTRICT="test"
|
||||
# mod_xrandr references mod_xinerama
|
||||
REQUIRED_USE="
|
||||
${LUA_REQUIRED_USE}
|
||||
xrandr? ( xinerama )"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${LUA_DEPS}
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
nls? ( sys-devel/gettext )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xrandr? ( x11-libs/libXrandr )"
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
nls? ( sys-devel/gettext )"
|
||||
DEPEND="${RDEPEND}"
|
||||
# luac is called at build time
|
||||
BDEPEND="
|
||||
@ -66,15 +63,6 @@ src_configure() {
|
||||
LUA_INCLUDES=$(lua_get_CFLAGS)
|
||||
$(usev !nls "DEFINES+=-DCF_NO_LOCALE -DCF_NO_GETTEXT")
|
||||
_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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user