summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2012-04-05 04:30:02 +0000
committerCy Schubert <cy@FreeBSD.org>2012-04-05 04:30:02 +0000
commitbcd2749def3992342baa2474b139b46e8693df4e (patch)
treed3ba8e4cb4cef5075ab1d7b96aa5c4e88420f216
parent8e5dc21b4c02db2608499b6d2473aad7fc5e083d (diff)
downloadfreebsd-ports-bcd2749def3992342baa2474b139b46e8693df4e.zip
Remove dependency on libmusicbrainz.
Submitted by: Jason E. Hale <bsdkaffee@gmail.com> Feature safe: yes
-rw-r--r--audio/muine/Makefile7
-rw-r--r--audio/muine/files/patch-src-CoverGetter.cs11
-rw-r--r--audio/muine/files/patch-src-muine.exe.config.in7
3 files changed, 16 insertions, 9 deletions
diff --git a/audio/muine/Makefile b/audio/muine/Makefile
index bbf21ef17e5e..0c8c19ae3369 100644
--- a/audio/muine/Makefile
+++ b/audio/muine/Makefile
@@ -8,7 +8,7 @@
PORTNAME= muine
PORTVERSION= 0.8.11
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= audio gnome
MASTER_SITES= GNOME
@@ -18,8 +18,7 @@ COMMENT= Mono based Gnome audio player
LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
id3tag.0:${PORTSDIR}/audio/libid3tag \
gdbm:${PORTSDIR}/databases/gdbm \
- vorbis.4:${PORTSDIR}/audio/libvorbis \
- musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3
+ vorbis.4:${PORTSDIR}/audio/libvorbis
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-glib-1.0.pc:${PORTSDIR}/devel/ndesk-dbus-glib \
${LOCALBASE}/libdata/pkgconfig/taglib-sharp.pc:${PORTSDIR}/audio/taglib-sharp
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -38,8 +37,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= muine.schemas
post-patch:
- @${REINPLACE_CMD} -e 's|libmusicbrainz.so.4|libmusicbrainz.so|g' \
- ${WRKSRC}/src/muine.exe.config.in
@${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|g' \
${WRKSRC}/src/muine.in
diff --git a/audio/muine/files/patch-src-CoverGetter.cs b/audio/muine/files/patch-src-CoverGetter.cs
new file mode 100644
index 000000000000..f300cc138030
--- /dev/null
+++ b/audio/muine/files/patch-src-CoverGetter.cs
@@ -0,0 +1,11 @@
+--- ./src/CoverGetter.cs.orig 2012-04-04 21:27:24.000000000 -0400
++++ ./src/CoverGetter.cs 2012-04-04 21:28:50.000000000 -0400
+@@ -53,7 +53,7 @@
+ // Variables
+ private string amazon_locale;
+ private string amazon_dev_tag;
+- private bool musicbrainz_lib_missing = false;
++ private bool musicbrainz_lib_missing = true;
+ private bool amazon_dev_tag_missing = false;
+
+ // Variables :: Cover Filenames
diff --git a/audio/muine/files/patch-src-muine.exe.config.in b/audio/muine/files/patch-src-muine.exe.config.in
index 0beb63949af9..c8f46fa5101c 100644
--- a/audio/muine/files/patch-src-muine.exe.config.in
+++ b/audio/muine/files/patch-src-muine.exe.config.in
@@ -1,10 +1,9 @@
---- src/muine.exe.config.in.orig 2012-04-04 13:24:00.035053844 -0700
-+++ src/muine.exe.config.in 2012-04-04 13:24:54.236095241 -0700
-@@ -3,6 +3,6 @@
+--- ./src/muine.exe.config.in.orig 2009-09-13 10:53:58.000000000 -0400
++++ ./src/muine.exe.config.in 2012-04-04 21:29:45.000000000 -0400
+@@ -3,6 +3,5 @@
<dllmap dll="libgtk-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
<dllmap dll="libgnomevfs-2-0.dll" target="libgnomevfs-2.so.0"/>
- <dllmap dll="musicbrainz" target="libmusicbrainz.so.4"/>
-+ <dllmap dll="musicbrainz3" target="libmusicbrainz3.so"/>
<dllmap dll="libmuine" target="@pkglibdir@/libmuine.so"/>
</configuration>