diff options
Diffstat (limited to 'lxqt-base/lxqt-session')
-rw-r--r-- | lxqt-base/lxqt-session/Manifest | 1 | ||||
-rw-r--r-- | lxqt-base/lxqt-session/files/lxqt-session-qt5ct.patch | 16 | ||||
-rw-r--r-- | lxqt-base/lxqt-session/lxqt-session-2.1.0-r1.ebuild | 60 |
3 files changed, 77 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-session/Manifest b/lxqt-base/lxqt-session/Manifest new file mode 100644 index 00000000..54130789 --- /dev/null +++ b/lxqt-base/lxqt-session/Manifest @@ -0,0 +1 @@ +DIST lxqt-session-2.1.0.tar.xz 212308 BLAKE2B 4036295e6cb61b8f94ee0c56e46c3792894de55f32de0dcd2d121881d1f68450bf9fa9c36f0b9740cb6eaccbbd11aa8e210eaa77e16e97c8f03de1008def4d00 SHA512 b0f70ef1f166fd5c48394f66794c655f1a26411d69c831f671c07ca5eaf9434d2902fbcda507f3b75b69d165a6e234a774c5f8f3f85d7cb924fa3152866d88b5 diff --git a/lxqt-base/lxqt-session/files/lxqt-session-qt5ct.patch b/lxqt-base/lxqt-session/files/lxqt-session-qt5ct.patch new file mode 100644 index 00000000..ef83e373 --- /dev/null +++ b/lxqt-base/lxqt-session/files/lxqt-session-qt5ct.patch @@ -0,0 +1,16 @@ +diff '--color=auto' -Nur a/startlxqt.in b/startlxqt.in +--- a/startlxqt.in 2024-04-17 12:22:25.000000000 +0100 ++++ b/startlxqt.in 2024-09-30 03:19:21.606222756 +0100 +@@ -53,11 +53,8 @@ + fi + fi + +-# Qt4 platform plugin +-export QT_PLATFORM_PLUGIN=lxqt +- + # Qt5 platform plugin +-export QT_QPA_PLATFORMTHEME=lxqt ++export QT_QPA_PLATFORMTHEME=qt5ct + + # use lxqt-applications.menu for main app menu + export XDG_MENU_PREFIX="lxqt-" diff --git a/lxqt-base/lxqt-session/lxqt-session-2.1.0-r1.ebuild b/lxqt-base/lxqt-session/lxqt-session-2.1.0-r1.ebuild new file mode 100644 index 00000000..6b914af7 --- /dev/null +++ b/lxqt-base/lxqt-session/lxqt-session-2.1.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="LXQt Session Manager" +HOMEPAGE="https://lxqt-project.org/" + +MY_PV="$(ver_cut 1-2)" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" +else + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1 LGPL-2.1+" +SLOT="0" +IUSE="+udev" + +BDEPEND=" + >=dev-qt/qttools-6.6:6[linguist] + >=dev-util/lxqt-build-tools-2.1.0 +" +DEPEND=" + >=app-misc/qtxdg-tools-4.1.0 + >=dev-libs/libqtxdg-4.1.0 + >=dev-qt/qtbase-6.6:6[dbus,gui,widgets] + kde-frameworks/kwindowsystem:6[X] + kde-plasma/layer-shell-qt:6 + =lxqt-base/liblxqt-${MY_PV}*:= + sys-process/procps:= + x11-libs/libX11 + x11-misc/xdg-user-dirs + udev? ( virtual/libudev:= ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/"${PN}"-qt5ct.patch ) + +src_configure() { + local mycmakeargs=( + -DWITH_LIBUDEV=$(usex udev) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + doman lxqt-config-session/man/*.1 lxqt-session/man/*.1 + + newenvd - 91lxqt-config-dir <<- _EOF_ + XDG_CONFIG_DIRS='${EPREFIX}/usr/share' + _EOF_ +} |