aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2012-04-03 03:16:57 +0800
committercy <cy@FreeBSD.org>2012-04-03 03:16:57 +0800
commita1d5ce9a886c46ec56c3624c5596d65c4af7e3fe (patch)
tree1897498d3025326564b62422cd1033edc2900b79 /audio
parent7a90ab678c5960350af34c4925356d135e92a5ad (diff)
downloadfreebsd-ports-gnome-a1d5ce9a886c46ec56c3624c5596d65c4af7e3fe.tar.gz
freebsd-ports-gnome-a1d5ce9a886c46ec56c3624c5596d65c4af7e3fe.tar.zst
freebsd-ports-gnome-a1d5ce9a886c46ec56c3624c5596d65c4af7e3fe.zip
Return audio/muine back to the living and fix the compile time issue that
precipitated its removal. Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/muine/Makefile46
-rw-r--r--audio/muine/distinfo2
-rw-r--r--audio/muine/files/patch-libmuine-db.c11
-rw-r--r--audio/muine/files/patch-libmuine_Makefile.in11
-rw-r--r--audio/muine/files/patch-libmuine_rb-cell-renderer-pixbuf.c22
-rw-r--r--audio/muine/pkg-descr12
7 files changed, 105 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index fd1e1988e9d4..4712b600d5c1 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -498,6 +498,7 @@
SUBDIR += mpg123.el
SUBDIR += mpg321
SUBDIR += mpiosh
+ SUBDIR += muine
SUBDIR += mumble
SUBDIR += murmur
SUBDIR += muse
diff --git a/audio/muine/Makefile b/audio/muine/Makefile
new file mode 100644
index 000000000000..3bd761889533
--- /dev/null
+++ b/audio/muine/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: muine
+# Date created: 20040615
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.54 2007/01/26 03:17:25 tmclau02 Exp $
+#
+
+PORTNAME= muine
+PORTVERSION= 0.8.11
+PORTREVISION= 8
+CATEGORIES= audio gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= cy@FreeBSD.org
+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 \
+ musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
+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}
+
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomeprefix gnomehack intltool libgnomeui gnomesharp20
+USE_GSTREAMER= gconf
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+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
+
+.include <bsd.port.mk>
diff --git a/audio/muine/distinfo b/audio/muine/distinfo
new file mode 100644
index 000000000000..838e1a00ca36
--- /dev/null
+++ b/audio/muine/distinfo
@@ -0,0 +1,2 @@
+SHA256 (muine-0.8.11.tar.gz) = be0caa9aaecaf46d22def5a731d4cb10a27caf1bd4a8bc9e82a85990f36b84e5
+SIZE (muine-0.8.11.tar.gz) = 804303
diff --git a/audio/muine/files/patch-libmuine-db.c b/audio/muine/files/patch-libmuine-db.c
new file mode 100644
index 000000000000..7a5afff40fd5
--- /dev/null
+++ b/audio/muine/files/patch-libmuine-db.c
@@ -0,0 +1,11 @@
+--- libmuine/db.c.orig 2009-09-13 07:53:58.000000000 -0700
++++ libmuine/db.c 2012-03-30 16:28:25.989121919 -0700
+@@ -58,7 +58,7 @@
+ }
+
+ if (db == NULL) {
+- *error_message_return = gdbm_strerror (gdbm_errno);
++ *error_message_return = (char *)gdbm_strerror (gdbm_errno);
+ } else {
+ *error_message_return = NULL;
+ }
diff --git a/audio/muine/files/patch-libmuine_Makefile.in b/audio/muine/files/patch-libmuine_Makefile.in
new file mode 100644
index 000000000000..9432290abd69
--- /dev/null
+++ b/audio/muine/files/patch-libmuine_Makefile.in
@@ -0,0 +1,11 @@
+--- libmuine/Makefile.in.orig 2010-10-31 15:02:50.000000000 +0100
++++ libmuine/Makefile.in 2010-10-31 15:03:02.000000000 +0100
+@@ -266,8 +266,6 @@ INCLUDES = \
+ $(MUINE_CFLAGS) \
+ $(WARN_CFLAGS) \
+ -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ -DGNOME_DISABLE_DEPRECATED
+
diff --git a/audio/muine/files/patch-libmuine_rb-cell-renderer-pixbuf.c b/audio/muine/files/patch-libmuine_rb-cell-renderer-pixbuf.c
new file mode 100644
index 000000000000..fb5ec48b3769
--- /dev/null
+++ b/audio/muine/files/patch-libmuine_rb-cell-renderer-pixbuf.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- libmuine/rb-cell-renderer-pixbuf.c.orig
++++ libmuine/rb-cell-renderer-pixbuf.c
+@@ -295,14 +295,14 @@
+
+ if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED)
+ {
+- if (GTK_WIDGET_HAS_FOCUS (widget))
++ if (gtk_widget_has_focus (widget))
+ state = GTK_STATE_SELECTED;
+ else
+ state = GTK_STATE_ACTIVE;
+ }
+ else
+ {
+- if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE)
++ if (GTK_OBJECT_FLAGS (widget) == GTK_STATE_INSENSITIVE)
+ state = GTK_STATE_INSENSITIVE;
+ else
+ state = GTK_STATE_NORMAL;
diff --git a/audio/muine/pkg-descr b/audio/muine/pkg-descr
new file mode 100644
index 000000000000..738c7a973e35
--- /dev/null
+++ b/audio/muine/pkg-descr
@@ -0,0 +1,12 @@
+Muine is a music player for GNOME using Mono. It features:
+
+* A simple, intuitive user interface
+* Ogg Vorbis, FLAC and MP3 music playback support
+* Automatic album-cover fetching
+* Support for embedded ID3v2 album images
+* ReplayGain support
+* Support for multiple artist and performer tags per song
+* A system tray icon
+* Translations into many languages
+
+WWW: http://muine-player.org