gui-apps/qtgreet - 9999 (wayland-desktop)

Search

Install

Install this version:

emerge -a =gui-apps/qtgreet-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/qtgreet-9999

Or alternatively:

emerge --autounmask-write -a =gui-apps/qtgreet-9999

Package Information

Description:
QT based greeter for greetd
Homepage:
https://gitlab.com/marcusbritanicus/QtGreet
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2023 Aisha Tammy
# Copyright 2021 Ichika Zou
# Distributed under the terms of the ISC License

EAPI=8

inherit meson

DESCRIPTION="QT based greeter for greetd"
HOMEPAGE="https://gitlab.com/marcusbritanicus/QtGreet"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://gitlab.com/marcusbritanicus/QtGreet"
else
	SRC_URI="https://gitlab.com/marcusbritanicus/QtGreet/-/archive/v${PV}/QtGreet-v${PV}.tar.bz2 -> ${P}.tar.bz2"
	S="${WORKDIR}"/QtGreet-v${PV}
	KEYWORDS="~amd64"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE="greetwl qt5 +qt6"
REQUIRED_USE="^^ ( qt5 qt6 )"

CDEPEND="
	dev-libs/json-c
	dev-libs/wayland
	media-video/mpv:=
	x11-libs/libxkbcommon:=
	greetwl? ( gui-libs/wlroots:0/18 )
	qt5? (
		dev-qt/qtcore:5
		dev-qt/qtdbus:5
		dev-qt/qtgui:5
		dev-qt/qtwayland:5
		dev-qt/qtwidgets:5
		gui-dfl/dfl-applications:=[qt5]
		gui-dfl/dfl-ipc:=[qt5]
		gui-dfl/dfl-login1:=[qt5]
		gui-dfl/dfl-utils:=[qt5]
		gui-libs/wayqt:=[qt5]
	)
	qt6? (
		dev-qt/qtbase:6=[dbus,gui,widgets]
		dev-qt/qtwayland:6
		gui-dfl/dfl-applications:=[qt6]
		gui-dfl/dfl-ipc:=[qt6]
		gui-dfl/dfl-login1:=[qt6]
		gui-dfl/dfl-utils:=[qt6]
		gui-libs/wayqt:=[qt6]
	)
"
DEPEND="
	dev-libs/wayland-protocols
	${CDEPEND}
"
RDEPEND="
	${CDEPEND}
	gui-libs/greetd
"
BDEPEND="
	dev-util/wayland-scanner
	virtual/pkgconfig
"

src_configure() {
	local emesonargs=(
		"$(meson_use greetwl build_greetwl)"
		"-Duse_qt_version=$(usex qt5 qt5 qt6)"
	)
	meson_src_configure
}

src_install() {
	meson_src_install
	keepdir "/var/lib/qtgreet"
}

USE Flags

Manage flags for this package: euse -i <flag> -p gui-apps/qtgreet | euse -E <flag> -p gui-apps/qtgreet | euse -D <flag> -p gui-apps/qtgreet

Global/Standard Flags

qt5
qt6
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/wayland-protocols
	
	dev-libs/json-c
	dev-libs/wayland
	media-video/mpv:=
	x11-libs/libxkbcommon:=
	greetwl? ( gui-libs/wlroots:0/18 )
	qt5? (
		dev-qt/qtcore:5
		dev-qt/qtdbus:5
		dev-qt/qtgui:5
		dev-qt/qtwayland:5
		dev-qt/qtwidgets:5
		gui-dfl/dfl-applications:=[qt5]
		gui-dfl/dfl-ipc:=[qt5]
		gui-dfl/dfl-login1:=[qt5]
		gui-dfl/dfl-utils:=[qt5]
		gui-libs/wayqt:=[qt5]
	)
	qt6? (
		dev-qt/qtbase:6=[dbus,gui,widgets]
		dev-qt/qtwayland:6
		gui-dfl/dfl-applications:=[qt6]
		gui-dfl/dfl-ipc:=[qt6]
		gui-dfl/dfl-login1:=[qt6]
		gui-dfl/dfl-utils:=[qt6]
		gui-libs/wayqt:=[qt6]
	)

RDEPEND

	
	dev-libs/json-c
	dev-libs/wayland
	media-video/mpv:=
	x11-libs/libxkbcommon:=
	greetwl? ( gui-libs/wlroots:0/18 )
	qt5? (
		dev-qt/qtcore:5
		dev-qt/qtdbus:5
		dev-qt/qtgui:5
		dev-qt/qtwayland:5
		dev-qt/qtwidgets:5
		gui-dfl/dfl-applications:=[qt5]
		gui-dfl/dfl-ipc:=[qt5]
		gui-dfl/dfl-login1:=[qt5]
		gui-dfl/dfl-utils:=[qt5]
		gui-libs/wayqt:=[qt5]
	)
	qt6? (
		dev-qt/qtbase:6=[dbus,gui,widgets]
		dev-qt/qtwayland:6
		gui-dfl/dfl-applications:=[qt6]
		gui-dfl/dfl-ipc:=[qt6]
		gui-dfl/dfl-login1:=[qt6]
		gui-dfl/dfl-utils:=[qt6]
		gui-libs/wayqt:=[qt6]
	)

	gui-libs/greetd

BDEPEND

	dev-util/wayland-scanner
	virtual/pkgconfig