diff options
-rw-r--r-- | dev-dotnet/taglib-sharp/ChangeLog | 9 | ||||
-rw-r--r-- | dev-dotnet/taglib-sharp/files/taglib-sharp-2.0.3.0-fix-docdir.patch | 11 | ||||
-rw-r--r-- | dev-dotnet/taglib-sharp/taglib-sharp-2.0.3.0.ebuild | 46 |
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-dotnet/taglib-sharp/ChangeLog b/dev-dotnet/taglib-sharp/ChangeLog index 979d87e3f4ce..c2dd2defdb46 100644 --- a/dev-dotnet/taglib-sharp/ChangeLog +++ b/dev-dotnet/taglib-sharp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-dotnet/taglib-sharp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/ChangeLog,v 1.6 2008/04/26 09:40:23 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/ChangeLog,v 1.7 2008/07/07 16:18:01 drac Exp $ + +*taglib-sharp-2.0.3.0 (07 Jul 2008) + + 07 Jul 2008; Samuli Suominen <drac@gentoo.org> + +files/taglib-sharp-2.0.3.0-fix-docdir.patch, + +taglib-sharp-2.0.3.0.ebuild: + Version bump. 26 Apr 2008; Cédric Krier <cedk@gentoo.org> taglib-sharp-2.0.2.0.ebuild: Add ppc keyword for bug #211826 diff --git a/dev-dotnet/taglib-sharp/files/taglib-sharp-2.0.3.0-fix-docdir.patch b/dev-dotnet/taglib-sharp/files/taglib-sharp-2.0.3.0-fix-docdir.patch new file mode 100644 index 000000000000..807a2152c158 --- /dev/null +++ b/dev-dotnet/taglib-sharp/files/taglib-sharp-2.0.3.0-fix-docdir.patch @@ -0,0 +1,11 @@ +--- taglib-sharp-2.0.3.0/docs/Makefile.am 2008-01-03 10:14:19.000000000 +0200 ++++ taglib-sharp-2.0.3.0-new/docs/Makefile.am 2008-07-01 08:14:53.000000000 +0300 +@@ -10,7 +10,7 @@ + XmlInjector.exe: XmlInjector.cs + mcs -out:$@ -r:System.Xml $< + +-monodocdir = $(DESTDIR)$(DOCDIR) ++monodocdir = $(DOCDIR) + monodoc_DATA = \ + taglib-sharp-docs.zip \ + taglib-sharp-docs.tree \ diff --git a/dev-dotnet/taglib-sharp/taglib-sharp-2.0.3.0.ebuild b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.3.0.ebuild new file mode 100644 index 000000000000..78130ca49834 --- /dev/null +++ b/dev-dotnet/taglib-sharp/taglib-sharp-2.0.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/taglib-sharp/taglib-sharp-2.0.3.0.ebuild,v 1.1 2008/07/07 16:18:01 drac Exp $ + +inherit autotools mono eutils + +DESCRIPTION="Taglib# 2.0 - Managed tag reader/writer" +HOMEPAGE="http://www.taglib-sharp.com" +SRC_URI="http://www.taglib-sharp.com/Download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gnome" + +RDEPEND="dev-lang/mono + gnome? ( >=dev-dotnet/gnome-sharp-2 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Cleaning up docdir mess (bug #184149) + epatch "${FILESDIR}"/${P}-fix-docdir.patch + # taglib-sharp configure script is a bit messed up + epatch "${FILESDIR}"/${PN}-fix-docs-test.patch + # Allow gnome-sharp to be an optional dependency + epatch "${FILESDIR}"/${PN}-gnome-sharp-toggle.patch + + eautoreconf +} + +src_compile() { + # --enable-docs fails, fixme + econf --disable-docs \ + $(use_enable gnome gnome-sharp) || die "econf failed." + + emake -j1 || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README +} |