summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild')
-rw-r--r--lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild
index 0bb4c209..a2a1d5a5 100644
--- a/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild
+++ b/lxqt-base/lxqt-config/lxqt-config-0.13.0.ebuild
@@ -9,6 +9,7 @@ HOMEPAGE="http://lxqt.org/"
SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~amd64"
+IUSE="+gtk"
LICENSE="GPL-2 LGPL-2.1+"
SLOT="0"
@@ -39,8 +40,12 @@ RDEPEND="${CDEPEND}
x11-apps/setxkbmap"
src_prepare() {
- epatch "${FILESDIR}"/"${PN}"-hide-unwanted-appearance-settings.patch
- cmake-utils_src_prepare
+ if use gtk; then
+ epatch "${FILESDIR}"/"${PN}"-hide-unwanted-appearance-settings.patch
+ cmake-utils_src_prepare
+ else
+ cmake-utils_src_prepare
+ fi
}
src_configure() {