mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
app-office/sc-im: remove unnecessary flag logic
This part is already handled by the Makefile Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
@@ -60,11 +60,8 @@ pkg_setup() {
|
|||||||
export LUA=$(usex lua)
|
export LUA=$(usex lua)
|
||||||
( use xlsx || use ods ) && export XML_ZIP="yes"
|
( use xlsx || use ods ) && export XML_ZIP="yes"
|
||||||
|
|
||||||
# Prefer wayland support over X, and tmux support over both wayland and X.
|
|
||||||
use wayland && export X="no"
|
|
||||||
use tmux && export X="no" && export WAYLAND="no"
|
|
||||||
|
|
||||||
# Notifying the user about which clipboard support is enabled if conflicting flags are set
|
# Notifying the user about which clipboard support is enabled if conflicting flags are set
|
||||||
|
# Prefer wayland support over X, and tmux support over both wayland and X.
|
||||||
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex X "X" "")
|
||||||
if ( use tmux && ( use wayland || use X ) ) ; then
|
if ( use tmux && ( use wayland || use X ) ) ; then
|
||||||
elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
|
elog "Conflicting flags for clipboard support are set: ${CONFLICTING}"
|
||||||
|
|||||||
Reference in New Issue
Block a user