diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-08 21:05:35 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-08 21:05:35 +0000 |
commit | e885045b6989fa9d6e8cc95ba2f9c9fb4492f9a2 (patch) | |
tree | 67b4e49fc3b709f632edea2c3f6f09017a818f4a /x11-libs/libnotify/libnotify-0.7.4.ebuild | |
parent | Version bump wrt #312497 by "hitachi" (diff) | |
download | gentoo-2-e885045b6989fa9d6e8cc95ba2f9c9fb4492f9a2.tar.gz gentoo-2-e885045b6989fa9d6e8cc95ba2f9c9fb4492f9a2.tar.bz2 gentoo-2-e885045b6989fa9d6e8cc95ba2f9c9fb4492f9a2.zip |
Version bump.
(Portage version: 2.2.0_alpha53/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libnotify/libnotify-0.7.4.ebuild')
-rw-r--r-- | x11-libs/libnotify/libnotify-0.7.4.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/x11-libs/libnotify/libnotify-0.7.4.ebuild b/x11-libs/libnotify/libnotify-0.7.4.ebuild new file mode 100644 index 000000000000..27914357e58b --- /dev/null +++ b/x11-libs/libnotify/libnotify-0.7.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libnotify/libnotify-0.7.4.ebuild,v 1.1 2011/09/08 21:05:35 ssuominen Exp $ + +EAPI=4 +inherit autotools gnome.org + +DESCRIPTION="A library for sending desktop notifications" +HOMEPAGE="http://git.gnome.org/browse/libnotify" +SRC_URI="${SRC_URI} + mirror://gentoo/introspection-20110205.m4.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc +introspection test" + +RDEPEND=">=dev-libs/glib-2.26:2 + x11-libs/gdk-pixbuf:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.12 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/gtk-doc-am + doc? ( >=dev-util/gtk-doc-1.14 ) + test? ( x11-libs/gtk+:3 )" +PDEPEND="virtual/notification-daemon" + +DOCS=( AUTHORS ChangeLog NEWS ) + +src_prepare() { + sed -i -e 's:noinst_PROG:check_PROG:' tests/Makefile.am || die + + if ! use test; then + sed -i -e '/PKG_CHECK_MODULES(TESTS/d' configure.ac || die + fi + + if has_version "dev-libs/gobject-introspection"; then + eautoreconf + else + AT_M4DIR=${WORKDIR} eautoreconf + fi +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable introspection) +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -f {} + +} |