summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-session
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-16 12:22:43 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-16 12:22:43 +0000
commitdd631fe14bf663efcba35eee2a3f097822278263 (patch)
tree0e2165580601b39b9038ff581ce64638020c85ca /lxqt-base/lxqt-session
parenta3f64a4119248e58114fc9d800148f1b72682521 (diff)
lxqt-base/lxqt-session : lxqt platformtheme seems to be broken with qt5.9, so override it
Diffstat (limited to 'lxqt-base/lxqt-session')
-rw-r--r--lxqt-base/lxqt-session/files/lxqt-session-override-default-platformplugin.patch16
-rw-r--r--lxqt-base/lxqt-session/lxqt-session-0.12.0-r3.ebuild (renamed from lxqt-base/lxqt-session/lxqt-session-0.12.0-r2.ebuild)7
2 files changed, 22 insertions, 1 deletions
diff --git a/lxqt-base/lxqt-session/files/lxqt-session-override-default-platformplugin.patch b/lxqt-base/lxqt-session/files/lxqt-session-override-default-platformplugin.patch
new file mode 100644
index 00000000..b026a0fa
--- /dev/null
+++ b/lxqt-base/lxqt-session/files/lxqt-session-override-default-platformplugin.patch
@@ -0,0 +1,16 @@
+diff -Nur a/startlxqt.in b/startlxqt.in
+--- a/startlxqt.in 2017-10-21 20:39:00.000000000 +0100
++++ b/startlxqt.in 2017-12-16 12:15:51.224228628 +0000
+@@ -84,11 +84,8 @@
+ fi
+ fi
+
+-# Qt4 platform plugin
+-export QT_PLATFORM_PLUGIN=lxqt
+-
+ # Qt5 platform plugin
+-export QT_QPA_PLATFORMTHEME=lxqt
++export QT_QPA_PLATFORMTHEME=gtk2
+
+ # use lxqt-applications.menu for main app menu
+ export XDG_MENU_PREFIX="lxqt-"
diff --git a/lxqt-base/lxqt-session/lxqt-session-0.12.0-r2.ebuild b/lxqt-base/lxqt-session/lxqt-session-0.12.0-r3.ebuild
index 626d986f..7f2881c0 100644
--- a/lxqt-base/lxqt-session/lxqt-session-0.12.0-r2.ebuild
+++ b/lxqt-base/lxqt-session/lxqt-session-0.12.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit cmake-utils
+inherit cmake-utils eutils
DESCRIPTION="LXQT session manager"
HOMEPAGE="http://lxqt.org/"
@@ -40,6 +40,11 @@ DEPEND="${CDEPEND}
RDEPEND="${CDEPEND}
~lxqt-base/lxqt-themes-${PV}"
+src_prepare () {
+ epatch ${FILESDIR}/${PN}-override-default-platformplugin.patch
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=( -DPULL_TRANSLATIONS=OFF )
cmake-utils_src_configure