diff options
-rw-r--r-- | media-sound/monopod/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/monopod/Manifest | 5 | ||||
-rw-r--r-- | media-sound/monopod/files/monopod-0.6-build-fix.patch | 46 | ||||
-rw-r--r-- | media-sound/monopod/monopod-0.6.ebuild | 24 |
4 files changed, 71 insertions, 12 deletions
diff --git a/media-sound/monopod/ChangeLog b/media-sound/monopod/ChangeLog index bee3fd53bfe2..483c2c53e816 100644 --- a/media-sound/monopod/ChangeLog +++ b/media-sound/monopod/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/monopod -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/monopod/ChangeLog,v 1.9 2008/05/02 15:56:54 drac Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/monopod/ChangeLog,v 1.10 2009/01/08 20:28:05 loki_val Exp $ + + 08 Jan 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/monopod-0.6-build-fix.patch, monopod-0.6.ebuild: + Fix build with newer sharp stack. 02 May 2008; Samuli Suominen <drac@gentoo.org> monopod-0.6.ebuild: Use berlios mirrors:// diff --git a/media-sound/monopod/Manifest b/media-sound/monopod/Manifest index f3f4c8865e0e..70df2690c5e0 100644 --- a/media-sound/monopod/Manifest +++ b/media-sound/monopod/Manifest @@ -1,4 +1,5 @@ +AUX monopod-0.6-build-fix.patch 1529 RMD160 5c2d62d4d6a82fbbf924b8577d02d9098605db6c SHA1 3b6174aa1bd372decdee1f13624d961a060dd4e7 SHA256 8c50637d19c063aede029fa7ab9679eff2b22461c665cc08ce6da5feb5025415 DIST monopod-0.6.tar.gz 479318 RMD160 f2e23e3a180ba63a637a3319f6651e69ff8ca2c3 SHA1 1d45274b5828a2e8ebe96b6b6865367a6ff033e6 SHA256 1c81a49b66ff8915b77aefeb2812726b00970aee7b8d5282fc6fd79cb478da46 -EBUILD monopod-0.6.ebuild 886 RMD160 d4f46916cc1cafdd4d83562d481880365d022225 SHA1 ecb5c3a283fa4841701501b96d13847a7d8f0ded SHA256 e2fbb627dd9b1dfeb09605efb34e7f01c5f6c48deda5bea5e4b17323bbc2a8a2 -MISC ChangeLog 1399 RMD160 4fb2571af164e0d876b35eb141779aa7bbbd38a6 SHA1 86e1d44691f7be04b548008825604c8108eba7c9 SHA256 ddc26ae791ed1afb3c1c76e1f5d2a5a894bb9a12e4c524c5cfd552ea0732fabd +EBUILD monopod-0.6.ebuild 955 RMD160 fc094d578bc74b352c955d4c5db60a3287019c54 SHA1 ab78b859726254e0fb30e63c2431d0ad9afccfea SHA256 60dec9e69ba8157380fbcafb9a2a27361663e5d7e85784ab3456804825874506 +MISC ChangeLog 1552 RMD160 ac81035f9d070a57ed641aa62ff0fe3bb9171ccf SHA1 0cfa5c78bfebb7f8ec9db740f7000e59adf64f5d SHA256 41bf666e12225bd08d0332baa5502fa832f20f101a293a236324716dc1c0f0d7 MISC metadata.xml 338 RMD160 758b0a84411131ca0ac04cc5356dedb49ba62b75 SHA1 9f75a44f586def66f547cfe1a4b41c59ccb9c8e4 SHA256 b34035e3950ccd67a25e9a4358aebeb32850f9ea52c56546d4a93dca73d06523 diff --git a/media-sound/monopod/files/monopod-0.6-build-fix.patch b/media-sound/monopod/files/monopod-0.6-build-fix.patch new file mode 100644 index 000000000000..ff596ea89e02 --- /dev/null +++ b/media-sound/monopod/files/monopod-0.6-build-fix.patch @@ -0,0 +1,46 @@ +diff -NrU5 monopod-0.6.orig/configure.ac monopod-0.6/configure.ac +--- monopod-0.6.orig/configure.ac 2009-01-08 20:49:25.000000000 +0100 ++++ monopod-0.6/configure.ac 2009-01-08 20:58:49.000000000 +0100 +@@ -28,11 +28,11 @@ + + MONODIR=`$PKG_CONFIG --variable=exec_prefix mono` + MONOBIN="$MONODIR/bin" + MONO="$MONOBIN/mono" + MINT="$MONOBIN/mint" +-MCS="$MONOBIN/mcs" ++MCS="$MONOBIN/gmcs" + GACUTIL="$MONOBIN/gacutil" + + if test ! -x "$MONO" -a ! -x "$MINT"; then + AC_MSG_ERROR([No Mono runtime found]) + fi +@@ -76,10 +76,14 @@ + dnl gconf-sharp + GCONFSHARP_REQUIRED_VERSION=2.8.0 + PKG_CHECK_MODULES(GCONFSHARP, gconf-sharp-2.0 >= $GCONFSHARP_REQUIRED_VERSION) + AC_SUBST(GCONFSHARP_LIBS) + ++GNOMESHARP_REQUIRED_VERSION=2.8.0 ++PKG_CHECK_MODULES(GNOMESHARP, gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION) ++AC_SUBST(GNOMESHARP_LIBS) ++ + dnl ipod-sharp + + dnl configure options + AC_ARG_ENABLE(ipod, AC_HELP_STRING([--enable-ipod], [Enable iPod support]), , enable_ipod="yes") + enable_ipodsharp="${enable_ipod}" +diff -NrU5 monopod-0.6.orig/Monopod/Makefile.am monopod-0.6/Monopod/Makefile.am +--- monopod-0.6.orig/Monopod/Makefile.am 2009-01-08 20:49:25.000000000 +0100 ++++ monopod-0.6/Monopod/Makefile.am 2009-01-08 20:59:39.000000000 +0100 +@@ -48,10 +48,11 @@ + Monopod.exe: $(monopod_build_sources) $(monopod_resources) $(entagged_dll) + $(MCS) \ + $(GTKSHARP_LIBS) \ + $(GLADESHARP_LIBS) \ + $(GCONFSHARP_LIBS) \ ++ $(GNOMESHARP_LIBS) \ + $(IPODSHARP_LIBS) \ + -r:$(entagged_dll) \ + $(OTHERLIBS) \ + $(monopod_embedded) \ + $(MCS_FLAGS) \ diff --git a/media-sound/monopod/monopod-0.6.ebuild b/media-sound/monopod/monopod-0.6.ebuild index ec81f6040efe..63855c76b9b4 100644 --- a/media-sound/monopod/monopod-0.6.ebuild +++ b/media-sound/monopod/monopod-0.6.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/monopod/monopod-0.6.ebuild,v 1.7 2008/05/02 15:56:54 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/monopod/monopod-0.6.ebuild,v 1.8 2009/01/08 20:28:05 loki_val Exp $ +EAPI=2 -inherit gnome2 mono +inherit mono eutils autotools DESCRIPTION="A very lightweight podcast client with ipod support written in GTK#" HOMEPAGE="http://monopod.berlios.de" @@ -11,16 +12,15 @@ SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~x86" -#IUSE="ipod" IUSE="" RDEPEND=">=dev-lang/mono-1.1.6 >=dev-dotnet/glade-sharp-2.8 + >=dev-dotnet/gnome-sharp-2.8 >=dev-dotnet/gconf-sharp-2.8 >=dev-dotnet/gtk-sharp-2.8 dev-db/sqlite sys-apps/dbus" -# ipod? ( >=dev-dotnet/ipod-sharp-0.5.15 )" DEPEND="${RDEPEND} dev-util/intltool dev-util/pkgconfig @@ -28,7 +28,15 @@ DEPEND="${RDEPEND} DOCS="AUTHORS ChangeLog NEWS README TODO" -pkg_setup() { -# G2CONF="${G2CONF} $(use_enable ipod)" - G2CONF="${G2CONF} --disable-ipod" +src_prepare() { + epatch "${FILESDIR}"/${P}-build-fix.patch + eautoreconf +} + +src_configure() { + econf --disable-ipod +} + +src_install() { + emake DESTDIR="${D}" install } |