summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-05-12 12:25:28 +0000
committerPacho Ramos <pacho@gentoo.org>2013-05-12 12:25:28 +0000
commit754ea7c61fc0d66828852fd65a45fe0ad493fac1 (patch)
tree454bc7471d48521b3d5c37a0d7022f2810a1ded9 /dev-libs/libindicate
parentUse vala.eclass (#467400) (diff)
downloadgentoo-2-754ea7c61fc0d66828852fd65a45fe0ad493fac1.tar.gz
gentoo-2-754ea7c61fc0d66828852fd65a45fe0ad493fac1.tar.bz2
gentoo-2-754ea7c61fc0d66828852fd65a45fe0ad493fac1.zip
Use vala.eclass (#467392)
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'dev-libs/libindicate')
-rw-r--r--dev-libs/libindicate/ChangeLog6
-rw-r--r--dev-libs/libindicate/libindicate-12.10.0.ebuild67
-rw-r--r--dev-libs/libindicate/libindicate-12.10.1.ebuild16
3 files changed, 15 insertions, 74 deletions
diff --git a/dev-libs/libindicate/ChangeLog b/dev-libs/libindicate/ChangeLog
index 28d8ea66af29..e3fee7245879 100644
--- a/dev-libs/libindicate/ChangeLog
+++ b/dev-libs/libindicate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libindicate
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.34 2013/05/04 09:16:20 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/ChangeLog,v 1.35 2013/05/12 12:25:28 pacho Exp $
+
+ 12 May 2013; Pacho Ramos <pacho@gentoo.org> -libindicate-12.10.0.ebuild,
+ libindicate-12.10.1.ebuild:
+ Use vala.eclass (#467392)
04 May 2013; Patrick Lauer <patrick@gentoo.org> libindicate-12.10.0.ebuild,
libindicate-12.10.1.ebuild:
diff --git a/dev-libs/libindicate/libindicate-12.10.0.ebuild b/dev-libs/libindicate/libindicate-12.10.0.ebuild
deleted file mode 100644
index c41c48ff794f..000000000000
--- a/dev-libs/libindicate/libindicate-12.10.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-12.10.0.ebuild,v 1.2 2013/05/04 09:16:20 patrick Exp $
-
-EAPI=4
-
-AYATANA_VALA_VERSION=0.16
-
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize"
-HOMEPAGE="http://launchpad.net/libindicate"
-SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz"
-
-LICENSE="LGPL-2.1 LGPL-3"
-SLOT="3"
-KEYWORDS="~amd64 ~x86"
-IUSE="gtk +introspection"
-
-RESTRICT="test" # consequence of the -no-mono.patch
-
-RDEPEND=">=dev-libs/dbus-glib-0.100
- >=dev-libs/glib-2.30
- >=dev-libs/libdbusmenu-0.6.2:3[gtk?,introspection?]
- dev-libs/libxml2
- gtk? ( >=x11-libs/gtk+-3.2:3 )
- introspection? ( >=dev-libs/gobject-introspection-1 )
- !<${CATEGORY}/${PN}-0.6.1-r201"
-EAUTORECONF_DEPEND="dev-util/gtk-doc-am
- gnome-base/gnome-common"
-DEPEND="${RDEPEND}
- ${EAUTORECONF_DEPEND}
- app-text/gnome-doc-utils
- dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen]
- virtual/pkgconfig"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch
- sed -i -e "s:vapigen:vapigen-${AYATANA_VALA_VERSION}:" configure.ac || die
- sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- append-flags -Wno-error
-
- # python bindings are only for GTK+-2.x
- econf \
- --docdir=/usr/share/doc/${PF} \
- --disable-silent-rules \
- --disable-static \
- $(use_enable gtk) \
- $(use_enable introspection) \
- --disable-python \
- --disable-scrollkeeper \
- --with-gtk=3 \
- --with-html-dir=/usr/share/doc/${PF}/html
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS ChangeLog NEWS
-
- nonfatal dosym /usr/share/doc/${PF}/html/${PN} /usr/share/gtk-doc/html/${PN}
-
- prune_libtool_files
-}
diff --git a/dev-libs/libindicate/libindicate-12.10.1.ebuild b/dev-libs/libindicate/libindicate-12.10.1.ebuild
index d8439cbc2011..8981aca4b830 100644
--- a/dev-libs/libindicate/libindicate-12.10.1.ebuild
+++ b/dev-libs/libindicate/libindicate-12.10.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-12.10.1.ebuild,v 1.2 2013/05/04 09:16:20 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate/libindicate-12.10.1.ebuild,v 1.3 2013/05/12 12:25:28 pacho Exp $
EAPI=5
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
-AYATANA_VALA_VERSION=0.16
-
-inherit autotools eutils flag-o-matic
+inherit autotools eutils flag-o-matic vala
DESCRIPTION="A library to raise flags on DBus for other components of the desktop to pick up and visualize"
HOMEPAGE="http://launchpad.net/libindicate"
@@ -30,14 +30,18 @@ EAUTORECONF_DEPEND="dev-util/gtk-doc-am
gnome-base/gnome-common"
DEPEND="${RDEPEND}
${EAUTORECONF_DEPEND}
+ $(vala_depend)
app-text/gnome-doc-utils
- dev-lang/vala:${AYATANA_VALA_VERSION}[vapigen]
virtual/pkgconfig"
src_prepare() {
+ vala_src_prepare
+
epatch "${FILESDIR}"/${PN}-0.6.1-no-mono.patch
- sed -i -e "s:vapigen:vapigen-${AYATANA_VALA_VERSION}:" configure.ac || die
+
+ sed -i -e "s:vapigen:vapigen-$(vala_best_api_version):" configure.ac || die
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+
eautoreconf
}