x11-misc/root-notify-send - 9999 (nitratesky)

Search

Install

Install this version:

emerge -a =x11-misc/root-notify-send-9999

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

autounmask =x11-misc/root-notify-send-9999

Or alternatively:

emerge --autounmask-write -a =x11-misc/root-notify-send-9999

Package Information

Description:
Allows calling notify-send as root for it to appear on a user's desktop
Homepage:
https://github.com/VTimofeenko/root-notify-send
License:
Unlicense

Ebuild Details

Version EAPI Keywords Slot
9999 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit git-r3

DESCRIPTION="Allows calling notify-send as root for it to appear on a user's desktop"
HOMEPAGE="https://github.com/VTimofeenko/root-notify-send"
EGIT_REPO_URI="https://github.com/VTimofeenko/root-notify-send"

if [[ ${PV} = 9999 ]] ; then
	EGIT_COMMIT=""
else
	EGIT_COMMIT="v${PV}"
fi

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dunstify"

DEPEND="
x11-libs/libnotify
dunstify? ( || ( ~x11-misc/dunst-1.4.1[dunstify] >=x11-misc/dunst-1.5.0 ) )
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_prepare() {
	default
	if use dunstify; then
		sed -i 's/notify-send/dunstify/' root-notify-* || die "Sed failed!"
	fi
}

src_install () {
	dobin root-notify-send
	dobin root-notify-user
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-misc/root-notify-send | euse -E <flag> -p x11-misc/root-notify-send | euse -D <flag> -p x11-misc/root-notify-send

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

x11-libs/libnotify
dunstify? ( || ( ~x11-misc/dunst-1.4.1[dunstify] >=x11-misc/dunst-1.5.0 ) )

RDEPEND

x11-libs/libnotify
dunstify? ( || ( ~x11-misc/dunst-1.4.1[dunstify] >=x11-misc/dunst-1.5.0 ) )