summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-wayland-session/lxqt-wayland-session-0.2.1.ebuild
blob: b91213deb56c747b2bf3f3ecc95873791dc56077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="LXQt Wayland Session Support"
HOMEPAGE="https://lxqt-project.org/"

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"
fi

LICENSE="BSD CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-2.1 MIT"
SLOT="0"

BDEPEND="
	>=dev-qt/qttools-6.6:6[linguist]
	>=dev-util/lxqt-build-tools-2.2.0
	virtual/pkgconfig
"
DEPEND="
	>=app-misc/qtxdg-tools-4.2.0
	kde-plasma/layer-shell-qt:6
	>=lxqt-base/lxqt-session-2.2.0
	x11-misc/xdg-user-dirs
"
RDEPEND="${DEPEND}"

pkg_postinst() {
	einfo "By default, the labwc compositor will be used."
	einfo "To use something else, define, for example, the following in '.config/lxqt/session.conf':"
	einfo "    compositor=kwin_wayland"
	einfo ""
	einfo "For more configuration details, and a list of supported compositors, see:"
	einfo "    /usr/share/doc/${P}/README*"
}