diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-29 10:49:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-29 10:49:00 +0100 |
commit | 027b31c4fdec87ae2548c4bfea631cf5c9b1fd08 (patch) | |
tree | 53d7f56ccd6c01dc48f7dd577a6b2d08f01ee1bf /lxqt-base/lxqt-session | |
parent | 5e105e6cb91190056712b723dcb1a0dd1c5db760 (diff) |
lxqt-base/lxqt-meta : allow a vanilla lxqt build, without Redcore's patches that change the default platformplugin
Diffstat (limited to 'lxqt-base/lxqt-session')
-rw-r--r-- | lxqt-base/lxqt-session/lxqt-session-0.13.0.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lxqt-base/lxqt-session/lxqt-session-0.13.0.ebuild b/lxqt-base/lxqt-session/lxqt-session-0.13.0.ebuild index fbd4003a..b76d15fd 100644 --- a/lxqt-base/lxqt-session/lxqt-session-0.13.0.ebuild +++ b/lxqt-base/lxqt-session/lxqt-session-0.13.0.ebuild @@ -10,6 +10,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" @@ -25,7 +26,8 @@ CDEPEND=" kde-frameworks/kwindowsystem:5[X] ~lxqt-base/liblxqt-${PV} x11-libs/libX11 - x11-misc/xdg-user-dirs" + x11-misc/xdg-user-dirs + gtk? ( ~lxqt-base/lxqt-config-${PV}[gtk] )" DEPEND="${CDEPEND} dev-qt/linguist-tools:5 dev-util/intltool @@ -36,8 +38,12 @@ RDEPEND="${CDEPEND} ~lxqt-base/lxqt-themes-${PV}" src_prepare () { - epatch ${FILESDIR}/${PN}-override-default-platformplugin.patch - cmake-utils_src_prepare + if use gtk; then + epatch ${FILESDIR}/${PN}-override-default-platformplugin.patch + cmake-utils_src_prepare + else + cmake-utils_src_prepare + fi } src_configure() { |