diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-19 14:47:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-11-19 14:47:37 +0000 |
commit | 6b5dda5f528765b9913c3464fc2f736e199384c1 (patch) | |
tree | 1235059eefa5b62c93b9c8a45406c2da99e77aae /dev-libs/libappindicator | |
parent | Version bump, drop unused patch (diff) | |
download | gentoo-2-6b5dda5f528765b9913c3464fc2f736e199384c1.tar.gz gentoo-2-6b5dda5f528765b9913c3464fc2f736e199384c1.tar.bz2 gentoo-2-6b5dda5f528765b9913c3464fc2f736e199384c1.zip |
Initial commit.
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libappindicator')
-rw-r--r-- | dev-libs/libappindicator/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/libappindicator/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libappindicator/files/libappindicator-0.4.1-no-mono.patch | 79 | ||||
-rw-r--r-- | dev-libs/libappindicator/libappindicator-0.4.1-r200.ebuild | 71 | ||||
-rw-r--r-- | dev-libs/libappindicator/metadata.xml | 11 |
5 files changed, 177 insertions, 0 deletions
diff --git a/dev-libs/libappindicator/ChangeLog b/dev-libs/libappindicator/ChangeLog new file mode 100644 index 000000000000..833a71cab3be --- /dev/null +++ b/dev-libs/libappindicator/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/libappindicator +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/ChangeLog,v 1.1 2011/11/19 14:47:37 ssuominen Exp $ + +*libappindicator-0.4.1-r200 (19 Nov 2011) + + 19 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> + +libappindicator-0.4.1-r200.ebuild, + +files/libappindicator-0.4.1-no-mono.patch: + Initial commit. + diff --git a/dev-libs/libappindicator/Manifest b/dev-libs/libappindicator/Manifest new file mode 100644 index 000000000000..3fa646a625a4 --- /dev/null +++ b/dev-libs/libappindicator/Manifest @@ -0,0 +1,5 @@ +AUX libappindicator-0.4.1-no-mono.patch 1825 RMD160 8c6cd0721350008d98e39ae84fe80a31280b56f1 SHA1 455db72c076a32064345d2ed9e179947fd23e1d9 SHA256 3db022c27b50ebb11dca64e2969a8fcfb0ec69a4f5004b6b8df0142be54722ed +DIST libappindicator-0.4.1.tar.gz 515716 RMD160 c28db7cbf6eca3173d18a8728d3cf3552ab1f779 SHA1 b06a0c184415b2a1e41e504fe3b70d62e3a7fc05 SHA256 c6028e91e8f8f56dca659038a1486341191b7978ab227e5edf63d2c6e34bb7ae +EBUILD libappindicator-0.4.1-r200.ebuild 1531 RMD160 9636007e1c4634f6ba237ac29f28024262e7bcc0 SHA1 1fcb0839e6e15136c785fdf7939386564308f376 SHA256 59ddb9b3ed4843472152e51d6cf45b8c6414c0b0c27ca6ee688638fd085fcf66 +MISC ChangeLog 325 RMD160 e744fe07587a9a28f491951319957a7147c54d04 SHA1 2245af6960bcb963eb6bab361ad18cc85351a993 SHA256 92c88a69f7e7f5f498feb82665bd0ff683912d9db1b310a032a109694b734b09 +MISC metadata.xml 360 RMD160 ae519d5de8164281816f3beb6e5a2597e36ba7aa SHA1 759c8e32deb15b8612cbaefec98dd5079a8ac677 SHA256 1810f14f0eae303ac42b4f9a64a518b4a566ba6ad7356c16785f7dd2ae9fced3 diff --git a/dev-libs/libappindicator/files/libappindicator-0.4.1-no-mono.patch b/dev-libs/libappindicator/files/libappindicator-0.4.1-no-mono.patch new file mode 100644 index 000000000000..ed713c1bee3f --- /dev/null +++ b/dev-libs/libappindicator/files/libappindicator-0.4.1-no-mono.patch @@ -0,0 +1,79 @@ +This is waiting for http://bugs.gentoo.org/382491. A temporary patch to disable mono. + +--- bindings/Makefile.am ++++ bindings/Makefile.am +@@ -1,10 +1,8 @@ + if USE_GTK3 + SUBDIRS = \ +- mono \ + vala + else + SUBDIRS = \ +- mono \ + python \ + vala + endif +--- configure.ac ++++ configure.ac +@@ -101,61 +101,6 @@ + AM_CONDITIONAL(HAVE_VALAC, [test "x$VALAC" != "x"]) + + ########################### +-# Check for Mono support +-########################### +- +-MONO_REQUIRED_VERSION=1.0 +-PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) +- +-AC_PATH_PROG(AL, al, no) +-if test "x$AL" = "xno" ; then +- AC_MSG_ERROR([No al tool found. You need to install Mono.]) +-fi +- +-if test "x$has_mono" = "xtrue" ; then +- GENERATED_SOURCES=generated/*.cs +- AC_PATH_PROG(RUNTIME, mono, no) +- +- if test "x$RUNTIME" != "no" ; then +- RUNTIME=mono +- fi +- +- AC_PATH_PROG(CSC, gmcs, no) +- LIB_PREFIX=.so +- LIB_SUFFIX= +-fi +- +-if test "x$CSC" = "xno" ; then +- AC_MSG_ERROR([No Mono compiler found.]) +-fi +- +-AC_PATH_PROG(GACUTIL, gacutil, no) +-if test "x$GACUTIL" = "xno" ; then +- AC_MSG_ERROR([No gacutil tool found]) +-fi +- +-AC_SUBST(RUNTIME) +-AC_SUBST(CSC) +-AC_SUBST(GACUTIL) +-AC_SUBST(LIB_PREFIX) +-AC_SUBST(LIB_SUFFIX) +-AC_SUBST(GENERATED_SOURCES) +- +-GLIB_SHARP_REQ_VERSION=2.12.1 +-GTK_SHARP_REQ_VERSION=2.12 +-PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION) +- +-PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIB_SHARP_REQ_VERSION) +-AC_PATH_PROG(GAPI_PARSER, gapi2-parser, no) +-AC_SUBST(GAPI_PARSER) +-AC_PATH_PROG(GAPI_CODEGEN, gapi2-codegen, no) +-AC_SUBST(GAPI_CODEGEN) +-AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) +-AC_SUBST(GAPI_FIXUP) +- +-PKG_CHECK_MODULES(NUNIT, nunit >= 2.4.7) +- +-########################### + # Check to see if we're local + ########################### + diff --git a/dev-libs/libappindicator/libappindicator-0.4.1-r200.ebuild b/dev-libs/libappindicator/libappindicator-0.4.1-r200.ebuild new file mode 100644 index 000000000000..e888eae2ec32 --- /dev/null +++ b/dev-libs/libappindicator/libappindicator-0.4.1-r200.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libappindicator/libappindicator-0.4.1-r200.ebuild,v 1.1 2011/11/19 14:47:37 ssuominen Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" + +inherit autotools eutils python + +__vala_version=0.14 + +DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" +HOMEPAGE="http://launchpad.net/libappindicator" +SRC_URI="http://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection" + +# FIXME: Missing dev-lang/mono handling! +RDEPEND="dev-libs/dbus-glib + >=dev-libs/glib-2.26 + dev-libs/libdbusmenu[gtk,-gtk3] + >=dev-libs/libindicator-0.4 + dev-python/pygobject:2 + >=dev-python/pygtk-2.14:2 + >=x11-libs/gtk+-2.18:2 + introspection? ( >=dev-libs/gobject-introspection-0.10 )" +DEPEND="${RDEPEND} + dev-lang/vala:${__vala_version} + dev-util/gtk-doc-am + dev-util/pkgconfig" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + sed -i -e '/LDFLAGS/s:python2.6:python2.7:' bindings/python/Makefile.{am,in} || die + epatch "${FILESDIR}"/${P}-no-mono.patch + eautoreconf + + rm -f py-compile + ln -s $(type -P true) py-compile +} + +src_configure() { + export VALAC="$(type -P valac-${__vala_version})" + + econf \ + --disable-static \ + --with-html-dir=/usr/share/doc/${PF}/html +} + +src_install() { + emake -j1 DESTDIR="${D}" install + dodoc AUTHORS ChangeLog + + find "${ED}"usr -name '*.la' -exec rm -f {} + +} + +pkg_postinst() { + python_mod_optimize appindicator +} + +pkg_postrm() { + python_mod_cleanup appindicator +} diff --git a/dev-libs/libappindicator/metadata.xml b/dev-libs/libappindicator/metadata.xml new file mode 100644 index 000000000000..7f131893dcd6 --- /dev/null +++ b/dev-libs/libappindicator/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <use> + <flag name='introspection'>Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> + </use> +</pkgmetadata> |