gnome-extra/polkit-gnome - 0.105-r2 (gentoo)

Search

Package Information

Description:
A dbus session bus service that is used to bring up authentication dialogs
Homepage:
https://gitlab.freedesktop.org/polkit/polkit/
License:
LGPL-2

Ebuild Details

Version EAPI Keywords Slot
0.105-r2 7 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit gnome.org

DESCRIPTION="A dbus session bus service that is used to bring up authentication dialogs"
HOMEPAGE="https://gitlab.freedesktop.org/polkit/polkit/"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE=""

DEPEND=">=dev-libs/glib-2.30
	>=sys-auth/polkit-0.102
	x11-libs/gtk+:3"
RDEPEND="${DEPEND}"
BDEPEND="dev-util/intltool
	virtual/pkgconfig
	sys-devel/gettext"

DOCS=( AUTHORS HACKING NEWS README TODO )

src_install() {
	default

	cat <<-EOF > "${T}"/polkit-gnome-authentication-agent-1.desktop
	[Desktop Entry]
	Name=PolicyKit Authentication Agent
	Comment=PolicyKit Authentication Agent
	Exec=/usr/libexec/polkit-gnome-authentication-agent-1
	Terminal=false
	Type=Application
	Categories=
	NoDisplay=true
	NotShowIn=MATE;KDE;
	AutostartCondition=GNOME3 if-session gnome-fallback
	EOF

	insinto /etc/xdg/autostart
	doins "${T}"/polkit-gnome-authentication-agent-1.desktop
}

Dependencies

DEPEND

>=dev-libs/glib-2.30
	>=sys-auth/polkit-0.102
	x11-libs/gtk+:3

RDEPEND

>=dev-libs/glib-2.30
	>=sys-auth/polkit-0.102
	x11-libs/gtk+:3

BDEPEND

dev-util/intltool
	virtual/pkgconfig
	sys-devel/gettext