[lxqt-base/lxqt-common] try to fix session file

This commit is contained in:
Robert Förster 2018-04-12 13:22:35 +02:00
parent 6f686ae317
commit acf43bab2b

View File

@ -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
}