ports/69462: New port: audio/muine - Mono based Gnome audio player
Tom McLaughlin
tmclaugh at sdf.lonestar.org
Fri Jul 23 05:10:22 UTC 2004
>Number: 69462
>Category: ports
>Synopsis: New port: audio/muine - Mono based Gnome audio player
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 23 05:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tom McLaughlin
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 5.2-CURRENT #0: Tue Jul 20 02:50:04 EDT 2004
root at compass.straycat.dhs.org:/usr/obj/usr/src/sys/COMPASS
>Description:
Attached is a port for Muine which is a Gnome audio player using Mono.
Muine has been tested and works fine on -CURRENT.
>How-To-Repeat:
>Fix:
--- muine-0.6.3.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# muine
# muine/Makefile
# muine/distinfo
# muine/pkg-descr
# muine/files
# muine/files/patch-src_muine.exe.config.in
# muine/files/patch-ltmain.sh
# muine/pkg-plist
#
echo c - muine
mkdir -p muine > /dev/null 2>&1
echo x - muine/Makefile
sed 's/^X//' >muine/Makefile << 'END-of-muine/Makefile'
X# New ports collection makefile for: muine
X# Date created: 20040615
X# Whom: Tom McLaughlin <tmclaugh at sdf.lonestar.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= muine
XPORTVERSION= 0.6.3
XCATEGORIES= audio gnome
XMASTER_SITES= http://muine.gooeylinux.org/
X
XMAINTAINER= tmclaugh at sdf.lonestar.org
XCOMMENT= Mono based Gnome audio player
X
XUSE_X_PREFIX= yes
XUSE_GNOME= gnomeprefix gnomehack intltool libgnomeui
XGNU_CONFIGURE= yes
XUSE_REINPLACE= yes
X
XLIB_DEPENDS= xine.9:${PORTSDIR}/multimedia/libxine \
X FLAC.5:${PORTSDIR}/audio/flac \
X id3tag.2:${PORTSDIR}/audio/libid3tag \
X mono.0:${PORTSDIR}/lang/mono \
X gdbm:${PORTSDIR}/databases/gdbm
X
XBUILD_DEPENDS= /usr/local/libdata/pkgconfig/gtk-sharp.pc:${PORTSDIR}/x11-toolkits/gtk-sharp
X
XRUN_DEPENDS= /usr/local/libdata/pkgconfig/gtk-sharp.pc:${PORTSDIR}/x11-toolkits/gtk-sharp
X
XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
XGLIB_MIVER= 400
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|%%GLIB_MIVER%%|${GLIB_MIVER}|g' \
X ${WRKSRC}/src/muine.exe.config.in
X
X.include <bsd.port.mk>
END-of-muine/Makefile
echo x - muine/distinfo
sed 's/^X//' >muine/distinfo << 'END-of-muine/distinfo'
XMD5 (muine-0.6.3.tar.gz) = dc7923e1e0ba87f0303bc30f14f604e3
XSIZE (muine-0.6.3.tar.gz) = 624566
END-of-muine/distinfo
echo x - muine/pkg-descr
sed 's/^X//' >muine/pkg-descr << 'END-of-muine/pkg-descr'
XMuine is a music player for GNOME using Mono. It features:
X
X* A simple, intuitive user interface
X* Ogg Vorbis, FLAC and MP3 music playback support
X* Automatic album-cover fetching
X* Support for embedded ID3v2 album images
X* ReplayGain support
X* Support for multiple artist and performer tags per song
X* A system tray icon
X* Translations into many languages
X
XWWW: http://muine.gooeylinux.org/
END-of-muine/pkg-descr
echo c - muine/files
mkdir -p muine/files > /dev/null 2>&1
echo x - muine/files/patch-src_muine.exe.config.in
sed 's/^X//' >muine/files/patch-src_muine.exe.config.in << 'END-of-muine/files/patch-src_muine.exe.config.in'
X--- src/muine.exe.config.in.orig Sat Jun 5 12:48:33 2004
X+++ src/muine.exe.config.in Thu Jul 15 21:59:47 2004
X@@ -1,6 +1,6 @@
X <configuration>
X- <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
X- <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
X+ <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.%%GLIB_MIVER%%"/>
X+ <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.%%GLIB_MIVER%%"/>
X <dllmap dll="libgnomevfs-2.dll" target="libgnomevfs-2.so"/>
X <dllmap dll="libmuine" target="@prefix@/lib/muine/libmuine.so"/>
X </configuration>
END-of-muine/files/patch-src_muine.exe.config.in
echo x - muine/files/patch-ltmain.sh
sed 's/^X//' >muine/files/patch-ltmain.sh << 'END-of-muine/files/patch-ltmain.sh'
X--- ltmain.sh.orig Tue Sep 23 11:24:19 2003
X+++ ltmain.sh Thu Jul 15 23:01:53 2004
X@@ -1277,7 +1277,7 @@
X esac
X elif test "X$arg" = "X-lc_r"; then
X case $host in
X- *-*-openbsd* | *-*-freebsd*)
X+ *-*-openbsd* | *-*-freebsd4*)
X # Do not include libc_r directly, use -pthread flag.
X continue
X ;;
X@@ -1287,8 +1287,16 @@
X continue
X ;;
X
X+ -pthread)
X+ compile_command="$compile_command -pthread"
X+ finalize_command="$finalize_command -pthread"
X+ compiler_flags="$compiler_flags -pthread"
X+ continue
X+ ;;
X+
X -module)
X module=yes
X+ build_old_libs=no
X continue
X ;;
X
X@@ -2997,6 +3005,9 @@
X # problems, so we reset it completely
X verstring=
X ;;
X+ *-*-freebsd*)
X+ # FreeBSD doesn't need this...
X+ ;;
X *)
X verstring="0.0"
X ;;
X@@ -5425,10 +5436,12 @@
X fi
X
X # Install the pseudo-library for information purposes.
X+ if /usr/bin/false; then
X name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X instname="$dir/$name"i
X $show "$install_prog $instname $destdir/$name"
X $run eval "$install_prog $instname $destdir/$name" || exit $?
X+ fi
X
X # Maybe install the static library, too.
X test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-muine/files/patch-ltmain.sh
echo x - muine/pkg-plist
sed 's/^X//' >muine/pkg-plist << 'END-of-muine/pkg-plist'
Xbin/muine
X at unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/muine.schemas > /dev/null || /usr/bin/true
X at exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/muine.schemas > /dev/null || /usr/bin/true
Xlib/muine/AmazonSearchService.dll
Xlib/muine/libmuine.a
Xlib/muine/libmuine.so
Xlib/muine/libmuine.so.0
Xlib/muine/muine.exe
Xlib/muine/muine.exe.config
Xshare/gnome/application-registry/muine.applications
Xshare/gnome/applications/muine.desktop
Xshare/gnome/pixmaps/muine.png
Xshare/locale/bg/LC_MESSAGES/muine.mo
Xshare/locale/ca/LC_MESSAGES/muine.mo
Xshare/locale/cs/LC_MESSAGES/muine.mo
Xshare/locale/da/LC_MESSAGES/muine.mo
Xshare/locale/de/LC_MESSAGES/muine.mo
Xshare/locale/en_CA/LC_MESSAGES/muine.mo
Xshare/locale/en_GB/LC_MESSAGES/muine.mo
Xshare/locale/es/LC_MESSAGES/muine.mo
Xshare/locale/eu/LC_MESSAGES/muine.mo
Xshare/locale/fr/LC_MESSAGES/muine.mo
Xshare/locale/hr/LC_MESSAGES/muine.mo
Xshare/locale/hu/LC_MESSAGES/muine.mo
Xshare/locale/is/LC_MESSAGES/muine.mo
Xshare/locale/ja/LC_MESSAGES/muine.mo
Xshare/locale/ko/LC_MESSAGES/muine.mo
Xshare/locale/nl/LC_MESSAGES/muine.mo
Xshare/locale/no/LC_MESSAGES/muine.mo
Xshare/locale/pl/LC_MESSAGES/muine.mo
Xshare/locale/pt/LC_MESSAGES/muine.mo
Xshare/locale/pt_BR/LC_MESSAGES/muine.mo
Xshare/locale/sr/LC_MESSAGES/muine.mo
Xshare/locale/sr at Latn/LC_MESSAGES/muine.mo
Xshare/locale/sv/LC_MESSAGES/muine.mo
X at dirrm lib/muine
END-of-muine/pkg-plist
exit
--- muine-0.6.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list