Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libnotify/
Date: Sun, 28 Feb 2016 11:09:15
Message-Id: 1456657694.c03f400fe5d89b1c9fad5cb0daecc6fa29dac35c.pacho@gentoo
1 commit: c03f400fe5d89b1c9fad5cb0daecc6fa29dac35c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 10:33:36 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 11:08:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03f400f
7
8 x11-libs/libnotify: Take advantage of previous bump to also clean up dependencies
9
10 Package-Manager: portage-2.2.27
11
12 x11-libs/libnotify/libnotify-0.7.6-r3.ebuild | 65 ++++++++++++++++++++++++++++
13 1 file changed, 65 insertions(+)
14
15 diff --git a/x11-libs/libnotify/libnotify-0.7.6-r3.ebuild b/x11-libs/libnotify/libnotify-0.7.6-r3.ebuild
16 new file mode 100644
17 index 0000000..e1cbb58
18 --- /dev/null
19 +++ b/x11-libs/libnotify/libnotify-0.7.6-r3.ebuild
20 @@ -0,0 +1,65 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit autotools eutils gnome.org multilib-minimal xdg-utils
27 +
28 +DESCRIPTION="A library for sending desktop notifications"
29 +HOMEPAGE="https://git.gnome.org/browse/libnotify"
30 +
31 +LICENSE="LGPL-2.1+"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
34 +IUSE="+introspection test"
35 +
36 +RDEPEND="
37 + app-eselect/eselect-notify-send
38 + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
39 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
40 + introspection? ( >=dev-libs/gobject-introspection-1.32:= )
41 +"
42 +DEPEND="${RDEPEND}
43 + >=dev-libs/gobject-introspection-common-1.32
44 + >=dev-util/gtk-doc-am-1.14
45 + virtual/pkgconfig
46 + test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
47 +"
48 +PDEPEND="virtual/notification-daemon"
49 +
50 +src_prepare() {
51 + xdg_environment_reset
52 + sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die
53 +
54 + if ! use test; then
55 + sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die
56 + fi
57 +
58 + eautoreconf
59 +}
60 +
61 +multilib_src_configure() {
62 + ECONF_SOURCE=${S} econf \
63 + --disable-static \
64 + $(multilib_native_use_enable introspection)
65 +
66 + # work-around gtk-doc out-of-source brokedness
67 + if multilib_is_native_abi; then
68 + ln -s "${S}"/docs/reference/html docs/reference/html || die
69 + fi
70 +}
71 +
72 +multilib_src_install() {
73 + default
74 + prune_libtool_files
75 +
76 + mv "${ED}"/usr/bin/{,libnotify-}notify-send #379941
77 +}
78 +
79 +pkg_postinst() {
80 + eselect notify-send update ifunset
81 +}
82 +
83 +pkg_postrm() {
84 + eselect notify-send update ifunset
85 +}