From acf43bab2b89fa6b9e29c0d2e1457749aafb2323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Thu, 12 Apr 2018 13:22:35 +0200 Subject: [PATCH] [lxqt-base/lxqt-common] try to fix session file --- lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild b/lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild index 011cb21..278d941 100644 --- a/lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild +++ b/lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild @@ -17,15 +17,9 @@ DEPEND=">=lxqt-base/liblxqt-0.11.1" RDEPEND="${DEPEND}" PDEPEND=">=lxqt-base/lxqt-session-0.11.1" -src_configure() { - local mycmakeargs=( - -DPULL_TRANSLATIONS=OFF - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodir "/etc/X11/Sessions" - dosym "/usr/bin/startlxqt" "/etc/X11/Sessions/lxqt" +src_prepare() { + sed -e ':/etc/X11/sessions:{s:#::g;s:/etc:${CMAKE_INSTALL_SYSCONFDIR}:g;}' \ + -i xsession/CMakeLists.txt \ + || die "Failed to fix install rule for Session file" + cmake-utils_src_prepare }