[lxqt-base/lxqt-common] try to fix session file
This commit is contained in:
parent
6f686ae317
commit
acf43bab2b
@ -17,15 +17,9 @@ DEPEND=">=lxqt-base/liblxqt-0.11.1"
|
|||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
PDEPEND=">=lxqt-base/lxqt-session-0.11.1"
|
PDEPEND=">=lxqt-base/lxqt-session-0.11.1"
|
||||||
|
|
||||||
src_configure() {
|
src_prepare() {
|
||||||
local mycmakeargs=(
|
sed -e ':/etc/X11/sessions:{s:#::g;s:/etc:${CMAKE_INSTALL_SYSCONFDIR}:g;}' \
|
||||||
-DPULL_TRANSLATIONS=OFF
|
-i xsession/CMakeLists.txt \
|
||||||
)
|
|| die "Failed to fix install rule for Session file"
|
||||||
cmake-utils_src_configure
|
cmake-utils_src_prepare
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
dodir "/etc/X11/Sessions"
|
|
||||||
dosym "/usr/bin/startlxqt" "/etc/X11/Sessions/lxqt"
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user