summaryrefslogtreecommitdiff
path: root/dev-libs/libindicate/libindicate-0.4.91-r2.ebuild
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2011-12-23 17:24:09 +0100
committerJohannes Huber <johu@gentoo.org>2011-12-23 17:25:39 +0100
commitfdb18f6226c7e32c3e4f33dedc652053e49114e0 (patch)
tree3b82a90b7a94452efe502c12e74d2d28ceaf66ab /dev-libs/libindicate/libindicate-0.4.91-r2.ebuild
parent88cb162256db347b221ce0dcfee88613d3e122b2 (diff)
downloadkde-fdb18f6226c7e32c3e4f33dedc652053e49114e0.tar.gz
kde-fdb18f6226c7e32c3e4f33dedc652053e49114e0.tar.bz2
kde-fdb18f6226c7e32c3e4f33dedc652053e49114e0.zip
[dev-libs/libindicate] Removed newer version in tree
(Portage version: 2.2.0_alpha81/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/libindicate/libindicate-0.4.91-r2.ebuild')
-rw-r--r--dev-libs/libindicate/libindicate-0.4.91-r2.ebuild101
1 files changed, 0 insertions, 101 deletions
diff --git a/dev-libs/libindicate/libindicate-0.4.91-r2.ebuild b/dev-libs/libindicate/libindicate-0.4.91-r2.ebuild
deleted file mode 100644
index 7315c30d5c0..00000000000
--- a/dev-libs/libindicate/libindicate-0.4.91-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit autotools eutils versionator
-
-MY_MAJOR_VERSION="$(get_version_component_range 1-2)"
-if version_is_at_least "${MY_MAJOR_VERSION}.50" ; then
- MY_MAJOR_VERSION="$(get_major_version).$(($(get_version_component_range 2)+1))"
-fi
-
-BROKEN_MONO="0.4.91"
-
-DESCRIPTION="Library to raise flags on DBus for other components of the desktop to pick up and visualize"
-HOMEPAGE="https://launchpad.net/libindicate/"
-SRC_URI="http://launchpad.net/${PN}/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk +introspection mono python"
-
-RESTRICT="test"
-
-# For the dependency on dev-libs/libdbusmenu see launchpad-bug #552667
-RDEPEND="dev-libs/glib:2[introspection=]
- dev-libs/dbus-glib
- >=dev-libs/libdbusmenu-0.3.90[introspection=]
- dev-libs/libxml2:2
- x11-libs/gtk+:2
- python? ( dev-python/pygtk )
- mono? (
- dev-dotnet/gtk-sharp
- dev-dotnet/gtk-sharp-gapi
- )"
-DEPEND="${RDEPEND}
- doc? ( dev-util/gtk-doc )
- introspection? ( >=dev-libs/gobject-introspection-0.6.7 )
- dev-util/gtk-doc-am
- dev-util/pkgconfig"
-
-REQUIRED_USE="python? ( gtk )"
-DOCS=( AUTHORS )
-
-if has "${PV}" ${BROKEN_MONO}; then
- # Mono bindings are broken in this version, forbid
- REQUIRED_USE+=" !mono"
-fi
-
-src_prepare() {
- # Make python optional, launchpad-bug #643921
- epatch "${FILESDIR}/${P}-optional-python.patch"
- # Restore SUBDIRS to make optional-mono apply
- sed -i bindings/Makefile.am \
- -e 's/^SUBDIRS =.*/SUBDIRS = mono python/'
- # Make mono optional, launchpad-bug #643922
- epatch "${FILESDIR}/${P}-optional-mono.patch"
- # Make SUBDIRS empty, after applying optional-python and optional-mono
- sed -i bindings/Makefile.am \
- -e 's/^SUBDIRS =.*/SUBDIRS = $(MONO_SUBDIR) $(PYTHON_SUBDIR)/'
- # Make gtk optional, launchpad-bug #431311
- epatch "${FILESDIR}/${PN}-0.4.4-optional-gtk.patch"
- # Make doc optional, launchpad-bug #643911
- epatch "${FILESDIR}/${PN}-0.4.4-optional-doc.patch"
- # Do not compile mono-example by default, launchpad-bug #643912
- epatch "${FILESDIR}/${PN}-0.4.4-optional-mono-example.patch"
- # Do not compile examples by default, launchpad-bug #643917
- epatch "${FILESDIR}/${PN}-0.4.4-optional-examples.patch"
- # Fix trouble with autoreconf and m4 directory, launchpad-bug #683552
- epatch "${FILESDIR}/${PN}-0.4.4-fix-aclocal.patch"
- # Fixup undeclared HAVE_INTROSPECTION, launchpad-bug #552537
- epatch "${FILESDIR}/${PN}-0.4.4-fix-introspection.patch"
- # Fix out-of-source builds, launchpad-bug #643913
- epatch "${FILESDIR}/${PN}-0.4.4-fix-out-of-source-build.patch"
- # Fix python version detection, launchpad-bug #594992
- epatch "${FILESDIR}/${P}-fix-python-version.patch"
- # Fix parallel-make for mono bindings, launchpad-bug #709954
- epatch "${FILESDIR}/${PN}-0.4.4-mono-parallel-make.patch"
- # Drop -Werror in a release
- sed -e 's:-Werror::g' -i libindicate/Makefile.am libindicate-gtk/Makefile.am || die "sed failed"
- eautoreconf
-}
-
-src_configure() {
- # gobject-instrospection is a nightmare in this package, it's fixable for libindicate
- # and not for libindicate-gtk, disable it until its fixed on upstream
- econf \
- --disable-dependency-tracking \
- --docdir=/usr/share/doc/${PF} \
- $(use_enable doc) \
- $(use_enable introspection) \
- $(use_enable mono) \
- $(use_enable python) \
- ${conf}
-}
-
-src_test() {
- emake check
-}