diff options
author | Hans de Graaff <graaff@gentoo.org> | 2008-03-03 20:46:04 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2008-03-03 20:46:04 +0000 |
commit | cc50eb1ecbd14377a464d0dfdfc47bb06e68ffb0 (patch) | |
tree | e4d10211d4aaa5f80deb3382562e08fa7223655f /gnome-extra/gnome-do-plugins | |
parent | Add amarok USE flag for gnome-do-plugins (diff) | |
download | gentoo-2-cc50eb1ecbd14377a464d0dfdfc47bb06e68ffb0.tar.gz gentoo-2-cc50eb1ecbd14377a464d0dfdfc47bb06e68ffb0.tar.bz2 gentoo-2-cc50eb1ecbd14377a464d0dfdfc47bb06e68ffb0.zip |
Initial version
(Portage version: 2.1.4.4)
Diffstat (limited to 'gnome-extra/gnome-do-plugins')
-rw-r--r-- | gnome-extra/gnome-do-plugins/ChangeLog | 11 | ||||
-rw-r--r-- | gnome-extra/gnome-do-plugins/Manifest | 5 | ||||
-rw-r--r-- | gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch | 93 | ||||
-rw-r--r-- | gnome-extra/gnome-do-plugins/gnome-do-plugins-0.3.0.ebuild | 40 | ||||
-rw-r--r-- | gnome-extra/gnome-do-plugins/metadata.xml | 10 |
5 files changed, 159 insertions, 0 deletions
diff --git a/gnome-extra/gnome-do-plugins/ChangeLog b/gnome-extra/gnome-do-plugins/ChangeLog new file mode 100644 index 000000000000..8d63ee81926e --- /dev/null +++ b/gnome-extra/gnome-do-plugins/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for gnome-extra/gnome-do-plugins +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-do-plugins/ChangeLog,v 1.1 2008/03/03 20:46:03 graaff Exp $ + +*gnome-do-plugins-0.3.0 (03 Mar 2008) + + 03 Mar 2008; Hans de Graaff <graaff@gentoo.org> + +files/do-plugins-optional-ext-dep.patch, +metadata.xml, + +gnome-do-plugins-0.3.0.ebuild: + Initial import, thanks to Arun Raghavan in #207396. + diff --git a/gnome-extra/gnome-do-plugins/Manifest b/gnome-extra/gnome-do-plugins/Manifest new file mode 100644 index 000000000000..544d614469f0 --- /dev/null +++ b/gnome-extra/gnome-do-plugins/Manifest @@ -0,0 +1,5 @@ +AUX do-plugins-optional-ext-dep.patch 2966 RMD160 009b31e113a0391526e57b9633480556a5c20c1c SHA1 7d86df9c49a1ec158d79a0122964407b4225e749 SHA256 673aee913e0feb7c1f95589cb191adcfde334f76ef9b6ade8d9cd9433a8374a6 +DIST do-plugins-0.3.0.tar.gz 130888 RMD160 377dc757d3801faf685b24f84e6e774a6a7f0af2 SHA1 66fa25504bb3d8a197c953e8c09bdaad344b50cb SHA256 5697ffa2af2c8f1e893e9c015fae8c4d4195ed80dfc536c4e9f088a3bafd6333 +EBUILD gnome-do-plugins-0.3.0.ebuild 834 RMD160 b3b6e95503ac3618e7486e584d6b2ed4c9f800f7 SHA1 c220d7f7552e3cf88b4e77a2910a8deca1b513dd SHA256 9df2361151b40195187bc9d4e83a50f33575dcd4e03917b5e220f6eee6634295 +MISC ChangeLog 366 RMD160 de968225903ff06ff6d8465a0691c7b8f9882c05 SHA1 44ea3b5bfa580055d16f2b9dbf1233c64ae468e4 SHA256 1a9614aec29f8d0d5a442eb2abcdab868a7cdaacf1aabafa8c0b5f8c5811e9d8 +MISC metadata.xml 235 RMD160 08895e3b496d7621f527b6aa5c4712546f289029 SHA1 f7014520c6f6a81e7e8dbe97c5637ce5f8df15fa SHA256 d02899b1b0b4eeda82ddb1d4f86aef4fd36f1b5116bb2b12cdd546a73b171dfe diff --git a/gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch b/gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch new file mode 100644 index 000000000000..48f6fcba7125 --- /dev/null +++ b/gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch @@ -0,0 +1,93 @@ +diff -urN do-plugins-0.3.0-orig/Makefile.am do-plugins-0.3.0/Makefile.am +--- do-plugins-0.3.0-orig/Makefile.am 2008-02-26 10:16:37.000000000 +0530 ++++ do-plugins-0.3.0/Makefile.am 2008-02-27 10:35:14.000000000 +0530 +@@ -1,3 +1,21 @@ +-SUBDIRS = Evolution Epiphany Rhythmbox Pidgin LocateFiles Thunderbird GoogleCalculator OpenSearch Pastebin Templates Amarok GNOME-Session SimplePlugins ++ENABLED_SUBDIRS = ++ ++if ENABLE_EVO_PLUGIN ++ENABLED_SUBDIRS += Evolution ++endif ++ ++if ENABLE_AMAROK_PLUGIN ++ENABLED_SUBDIRS += Amarok ++endif ++ ++if ENABLE_OPENSEARCH_PLUGIN ++ENABLED_SUBDIRS += OpenSearch ++endif ++ ++if ENABLE_PASTEBIN_PLUGIN ++ENABLED_SUBDIRS += Pastebin ++endif ++ ++SUBDIRS = $(ENABLED_SUBDIRS) Epiphany Rhythmbox Pidgin LocateFiles Thunderbird GoogleCalculator Templates GNOME-Session SimplePlugins + + EXTRA_DIST = DoPlugins.mds Packages.mdse COPYRIGHT +diff -urN do-plugins-0.3.0-orig/configure.ac do-plugins-0.3.0/configure.ac +--- do-plugins-0.3.0-orig/configure.ac 2008-02-26 10:16:37.000000000 +0530 ++++ do-plugins-0.3.0/configure.ac 2008-02-27 10:34:42.000000000 +0530 +@@ -38,11 +38,61 @@ + + PKG_CHECK_MODULES([DO_ADDINS], [do.addins]) + PKG_CHECK_MODULES([DO_DBUS], [do.dbus]) +-PKG_CHECK_MODULES([EVOLUTION_SHARP], [evolution-sharp]) +- + AC_SUBST(DO_ADDINS_LIBS) + AC_SUBST(DO_DBUS_LIBS) ++ ++dnl - Evolution plugin ++ ++AC_ARG_ENABLE([evolution-plugin], ++ AC_HELP_STRING([--enable-evolution-plugin], [Enable the Evolution plugin]), ++ enable_evo_plugin=$enableval, ++ enable_evo_plugin=yes) ++ ++if test "x$enable_evo_plugin" = "xyes" ; then ++PKG_CHECK_MODULES([EVOLUTION_SHARP], ++ [evolution-sharp], ++ has_evo_deps=yes, ++ has_evo_deps=no) + AC_SUBST(EVOLUTION_SHARP_LIBS) ++fi ++ ++if test "x$has_evo_deps" != "xyes" ; then ++ if test "x$enable_evo_plugin" = "xyes" ; then ++ dnl Error out if explicitly asked for the Evolution plugin ++ AC_MSG_ERROR([Could not find evolution-sharp]) ++ fi ++ enable_evo_plugin="no" ++else ++ if test "x$enable_evo_plugin" != "xyes" ; then ++ enable_evo_plugin="no" ++ fi ++fi ++ ++AM_CONDITIONAL(ENABLE_EVO_PLUGIN, test "x$enable_evo_plugin" = "xyes") ++ ++dnl - Amarok plugin ++AC_ARG_ENABLE([amarok-plugin], ++ AC_HELP_STRING([--enable-amarok-plugin], [Enable the Amarok plugin]), ++ enable_amarok_plugin=$enableval, ++ enable_amarok_plugin=yes) ++ ++AM_CONDITIONAL(ENABLE_AMAROK_PLUGIN, test "x$enable_amarok_plugin" = "xyes") ++ ++dnl - OpenSearch plugin ++AC_ARG_ENABLE([opensearch-plugin], ++ AC_HELP_STRING([--enable-opensearch-plugin], [Enable the OpenSearch plugin]), ++ enable_opensearch_plugin=$enableval, ++ enable_opensearch_plugin=yes) ++ ++AM_CONDITIONAL(ENABLE_OPENSEARCH_PLUGIN, test "x$enable_opensearch_plugin" = "xyes") ++ ++dnl - Pastebin plugin ++AC_ARG_ENABLE([pastebin-plugin], ++ AC_HELP_STRING([--enable-pastebin-plugin], [Enable the Pastebin plugin]), ++ enable_pastebin_plugin=$enableval, ++ enable_pastebin_plugin=yes) ++ ++AM_CONDITIONAL(ENABLE_PASTEBIN_PLUGIN, test "x$enable_pastebin_plugin" = "xyes") + + dnl Plugin install paths + diff --git a/gnome-extra/gnome-do-plugins/gnome-do-plugins-0.3.0.ebuild b/gnome-extra/gnome-do-plugins/gnome-do-plugins-0.3.0.ebuild new file mode 100644 index 000000000000..ea577851d0b3 --- /dev/null +++ b/gnome-extra/gnome-do-plugins/gnome-do-plugins-0.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-do-plugins/gnome-do-plugins-0.3.0.ebuild,v 1.1 2008/03/03 20:46:03 graaff Exp $ + +inherit eutils autotools gnome2 + +MY_PN="do-plugins" + +DESCRIPTION="Plugins to put the Do in Gnome Do" +HOMEPAGE="http://do.davebsd.com/" +SRC_URI="https://launchpad.net/gc/trunk/0.3.2.1/+download/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="amarok evo" + +DEPEND=">=gnome-extra/gnome-do-${PV} + evo? ( dev-dotnet/evolution-sharp )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_unpack() +{ + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/do-plugins-optional-ext-dep.patch" + eautoreconf || die "reconfigure failed" +} + +src_compile() +{ + econf \ + $(use_enable amarok amarok-plugin) \ + $(use_enable evo evolution-plugin) \ + || die "configure failed" + emake || die "make failed" +} diff --git a/gnome-extra/gnome-do-plugins/metadata.xml b/gnome-extra/gnome-do-plugins/metadata.xml new file mode 100644 index 000000000000..88f7e86d2a75 --- /dev/null +++ b/gnome-extra/gnome-do-plugins/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + + <maintainer> + <email>graaff@gentoo.org</email> + <name>Hans de Graaff</name> + </maintainer> + +</pkgmetadata> |