/[gentoo-x86]/x11-misc/notify-osd/notify-osd-0.9.34.ebuild
Gentoo

Contents of /x11-misc/notify-osd/notify-osd-0.9.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jul 30 21:01:34 2012 UTC (2 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
typo

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/notify-osd/notify-osd-0.9.34.ebuild,v 1.4 2012/07/30 20:59:57 ssuominen Exp $
4
5 EAPI=4
6 inherit autotools gnome2-utils multilib savedconfig
7
8 DESCRIPTION="Canonical's on-screen-display notification agent"
9 HOMEPAGE="http://launchpad.net/notify-osd"
10 SRC_URI="http://launchpad.net/${PN}/precise/${PV}/+download/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="minimal"
16
17 COMMON_DEPEND=">=dev-libs/dbus-glib-0.98
18 >=dev-libs/glib-2.16
19 >=x11-libs/gtk+-3.2:3
20 >=x11-libs/libnotify-0.7
21 >=x11-libs/libwnck-3
22 x11-libs/libX11
23 x11-libs/pixman
24 !x11-misc/notification-daemon
25 !x11-misc/qtnotifydaemon"
26 RDEPEND="${COMMON_DEPEND}
27 !minimal? ( x11-themes/notify-osd-icons )"
28 DEPEND="${COMMON_DEPEND}
29 virtual/pkgconfig
30 gnome-base/gnome-common
31 x11-proto/xproto"
32
33 RESTRICT="test" # virtualx.eclass: 1 of 1: FAIL: test-modules
34
35 DOCS=( AUTHORS ChangeLog NEWS README TODO )
36
37 src_prepare() {
38 sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
39 restore_config src/{bubble,defaults,dnd}.c #428134
40 eautoreconf
41 }
42
43 src_configure() {
44 econf --libexecdir=/usr/$(get_libdir)/${PN}
45 }
46
47 src_install() {
48 default
49 save_config src/{bubble,defaults,dnd}.c
50 rm -f "${ED}"/usr/share/${PN}/icons/*/*/*/README
51 }
52
53 pkg_preinst() {
54 gnome2_icon_savelist
55 gnome2_schemas_savelist
56 }
57 pkg_postinst() {
58 gnome2_icon_cache_update
59 gnome2_schemas_update
60 }
61 pkg_postrm() {
62 gnome2_icon_cache_update
63 gnome2_schemas_update
64 }

  ViewVC Help
Powered by ViewVC 1.1.20