diff options
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/gmusicbrowser/Makefile | 74 | ||||
-rw-r--r-- | audio/gmusicbrowser/distinfo | 2 | ||||
-rw-r--r-- | audio/gmusicbrowser/pkg-descr | 14 | ||||
-rw-r--r-- | audio/gmusicbrowser/pkg-plist | 3 |
5 files changed, 94 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index c5f9b2ffb348..0f86eb1225ff 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -229,6 +229,7 @@ SUBDIR += gmpc-mserver SUBDIR += gmpc-shout SUBDIR += gmpc-wikipedia + SUBDIR += gmusicbrowser SUBDIR += gnome-audio SUBDIR += gnome-media SUBDIR += gnomoradio diff --git a/audio/gmusicbrowser/Makefile b/audio/gmusicbrowser/Makefile new file mode 100644 index 000000000000..371c01fe562f --- /dev/null +++ b/audio/gmusicbrowser/Makefile @@ -0,0 +1,74 @@ +# New ports collection makefile for: gmusicbrowser +# Date created: 2011-10-13 +# Whom: Zhihao Yuan <lichray@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= gmusicbrowser +PORTVERSION= 1.1.8 +CATEGORIES= audio +MASTER_SITES= http://gmusicbrowser.org/download/ + +MAINTAINER= lichray@gmail.com +COMMENT= Jukebox for large collections of mp3/ogg/flac/mpc files + +RUN_DEPENDS= p5-Gtk2>=1.0:${PORTSDIR}/x11-toolkits/p5-Gtk2 + +MAN1= gmusicbrowser.1 +PORTDOCS= AUTHORS COPYING README NEWS INSTALL layout_doc.html +PORTDATA= * + +OPTIONS= GST "Enable GStreamer backend" Off \ + MPLAYER "Enable mplayer backend" On \ + DBUS "Enable DBus (Gnome multimedia key)" Off \ + WEBKIT "Enable embedded web browser" Off \ + NLS "Enable Native Language Support" On +# 123 "Enable mpg123/ogg123 backend" Off # alsa-only + +.include <bsd.port.pre.mk> + +.if defined(WITH_GST) +RUN_DEPENDS+= p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer +.endif + +.if defined(WITH_MPLAYER) +RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer +.endif + +.if defined(WITH_DBUS) +RUN_DEPENDS+= p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus +.endif + +.if defined(WITH_WEBKIT) +RUN_DEPENDS+= p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit +.endif + +.if defined(NOPORTDATA) +IGNORE= port data contain code, undefine NOPORTDATA +.endif + +do-build: + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MANPREFIX}/man/man1/${MAN1} + @${MKDIR} ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR} + @${MKDIR} ${DATADIR} + (cd ${WRKSRC} && (for d in layouts pix plugins; do \ + ${COPYTREE_SHARE} $$d ${DATADIR}; done) && \ + ${INSTALL_DATA} *.pm ${DATADIR} && \ + ${INSTALL_SCRIPT} iceserver.pl ${DATADIR}) +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) +.endif +.if !defined(WITHOUT_NLS) + (cd ${WRKSRC}/locale && \ + ${COPYTREE_SHARE} \* ${PREFIX}/share/locale) + (cd ${WRKSRC} && \ + ${FIND} locale -type f | ${SED} "s|^|share/|g" >> ${TMPPLIST}) +.endif + +.include <bsd.port.post.mk> diff --git a/audio/gmusicbrowser/distinfo b/audio/gmusicbrowser/distinfo new file mode 100644 index 000000000000..d7d7725d9e22 --- /dev/null +++ b/audio/gmusicbrowser/distinfo @@ -0,0 +1,2 @@ +SHA256 (gmusicbrowser-1.1.8.tar.gz) = 94e3e7ff23b853d9b6a03b3b1a48cb378bb4cc251c3861fe82e2e0bc3ae27689 +SIZE (gmusicbrowser-1.1.8.tar.gz) = 1507101 diff --git a/audio/gmusicbrowser/pkg-descr b/audio/gmusicbrowser/pkg-descr new file mode 100644 index 000000000000..aa1e060a44e1 --- /dev/null +++ b/audio/gmusicbrowser/pkg-descr @@ -0,0 +1,14 @@ +Jukebox for large collections of mp3/ogg/flac/mpc files +Uses gstreamer, mpg123/ogg123 or mplayer for playback + +Main features : +- customizable window layouts +- artist/album lock : easily restrict playlist to current artist/album +- easy access to related songs (same artist/album/title) +- simple mass-tagging and mass-renaming +- support multiple genres for each song +- customizable labels can be set for each song +- filters with unlimited nesting of conditions +- customizable weighted random mode + +WWW: http://gmusicbrowser.org/ diff --git a/audio/gmusicbrowser/pkg-plist b/audio/gmusicbrowser/pkg-plist new file mode 100644 index 000000000000..071c093d4e27 --- /dev/null +++ b/audio/gmusicbrowser/pkg-plist @@ -0,0 +1,3 @@ +bin/gmusicbrowser +share/applications/gmusicbrowser.desktop +@dirrmtry share/applications |