1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

Remove dependency on libmusicbrainz.

Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
Feature safe:	yes
This commit is contained in:
Cy Schubert 2012-04-05 04:30:02 +00:00
parent 8e5dc21b4c
commit bcd2749def
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294226
3 changed files with 16 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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>