You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/notification-daemon/notification-daemon-0.7.4.e...

44 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/notification-daemon/notification-daemon-0.7.4.ebuild,v 1.3 2012/05/29 13:28:04 aballier Exp $
EAPI=4
inherit gnome.org
DESCRIPTION="Notification daemon"
HOMEPAGE="http://git.gnome.org/browse/notification-daemon/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND=">=dev-libs/glib-2.28
x11-libs/gtk+:3
sys-apps/dbus
media-libs/libcanberra[gtk3]
>=x11-libs/libnotify-0.7
x11-libs/libX11
!x11-misc/notify-osd
!x11-misc/qtnotifydaemon"
DEPEND="${RDEPEND}
app-arch/xz-utils
>=dev-util/intltool-0.40
virtual/pkgconfig
sys-devel/gettext"
DOCS=( AUTHORS ChangeLog NEWS )
src_install() {
default
cat <<-EOF > "${T}"/org.freedesktop.Notifications.service
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/libexec/notification-daemon
EOF
insinto /usr/share/dbus-1/services
doins "${T}"/org.freedesktop.Notifications.service
}