diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-18 18:36:29 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2011-11-18 18:36:29 +0000 |
commit | 42317424a2c61323f23a2007ea3caa37822bdbc4 (patch) | |
tree | 42f6ead92fc42756e8c06157c117941d1fa9dfab | |
parent | 5924026c26f39a187e8305d06442d8eabfa1d821 (diff) | |
download | ports-42317424a2c61323f23a2007ea3caa37822bdbc4.tar.gz ports-42317424a2c61323f23a2007ea3caa37822bdbc4.zip |
Notes
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/osd-lyrics/Makefile | 75 | ||||
-rw-r--r-- | audio/osd-lyrics/distinfo | 2 | ||||
-rw-r--r-- | audio/osd-lyrics/pkg-descr | 7 | ||||
-rw-r--r-- | audio/osd-lyrics/pkg-plist | 30 |
5 files changed, 115 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index c3a238af6d54..0c05eabdd513 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -525,6 +525,7 @@ SUBDIR += openspc SUBDIR += optimfrog SUBDIR += osalp + SUBDIR += osd-lyrics SUBDIR += osdmixer SUBDIR += oss SUBDIR += p5-Audio diff --git a/audio/osd-lyrics/Makefile b/audio/osd-lyrics/Makefile new file mode 100644 index 000000000000..29df641e2db0 --- /dev/null +++ b/audio/osd-lyrics/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: OSD Lyrics +# Date created: 18 Nov 2011 +# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= osdlyrics +PORTVERSION= 0.4.1 +CATEGORIES= audio deskutils +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +PROJECTHOST= osd-lyrics + +MAINTAINER= danfe@FreeBSD.org +COMMENT= On-screen lyrics display program for various media players + +LICENSE= GPLv3 + +LIB_DEPENDS= notify.4:${PORTSDIR}/devel/libnotify \ + dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + curl.6:${PORTSDIR}/ftp/curl + +GNU_CONFIGURE= yes +CONFIGURE_ENV= DATADIRNAME=share +USE_GETTEXT= yes +USE_GMAKE= yes +USE_GNOME= gtk20 +USE_SQLITE= yes +INSTALLS_ICONS= yes +PORTDOCS= AUTHORS ChangeLog NEWS README + +OPTIONS= MPD "Enable MPD support" off \ + XMMS2 "Enable XMMS2 support" off \ + AMAROK "Enable Amarok 1.4 support" off + +.include <bsd.port.options.mk> + +.if defined(WITH_MPD) +LIB_DEPENDS+= mpd.3:${PORTSDIR}/audio/libmpd +.else +CONFIGURE_ARGS+= --disable-mpd +.endif + +.if defined(WITH_XMMS2) +LIB_DEPENDS+= xmmsclient.6:${PORTSDIR}/audio/xmms2 +.else +CONFIGURE_ARGS+= --disable-xmms2 +.endif + +.if defined(WITH_AMAROK) +CONFIGURE_ARGS+= --enable-amarok1 +.endif + +post-patch: +# Fix compilation warnings to unbreak the build with -Werror + @${REINPLACE_CMD} -E 's/(char \*in = inbuf),/const \1; char/' \ + ${WRKSRC}/src/ol_lrc_parser.c + @${REINPLACE_CMD} -e '/convert/s/char \*src/const &/' -e \ + 's/char \*\*input/const &/' \ + ${WRKSRC}/src/ol_lrc_fetch_utils.[ch] + @${REINPLACE_CMD} -e 's/GdkColor ret/& = { .pixel = 0 }/' \ + ${WRKSRC}/src/ol_option.c + @${REINPLACE_CMD} -e 's/static const gboolean/static gboolean/' \ + ${WRKSRC}/src/ol_player_muine.c + @${REINPLACE_CMD} -e \ + '/!ol_player_amarok1_get_uint/s/[^ ]*))/(guint *)&/' \ + ${WRKSRC}/src/ol_player_amarok1.c + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/audio/osd-lyrics/distinfo b/audio/osd-lyrics/distinfo new file mode 100644 index 000000000000..b516b9f2d2b8 --- /dev/null +++ b/audio/osd-lyrics/distinfo @@ -0,0 +1,2 @@ +SHA256 (osdlyrics-0.4.1.tar.gz) = 6dc4ee8d90676f7ff6cbc6fb18228a21585d441a44c4074dc438e5ace8f38302 +SIZE (osdlyrics-0.4.1.tar.gz) = 614316 diff --git a/audio/osd-lyrics/pkg-descr b/audio/osd-lyrics/pkg-descr new file mode 100644 index 000000000000..3b26ce71af0f --- /dev/null +++ b/audio/osd-lyrics/pkg-descr @@ -0,0 +1,7 @@ +OSD Lyrics is a lyrics display program compatible with various media players. +It is not a plugin but a standalone program. OSD Lyrics shows lyrics on your +desktop, in the style similar to KaraOK. It also provides another displaying +style, in which lyrics scroll from bottom to top. OSD Lyrics can download +lyrics from the network automatically. + +WWW: http://code.google.com/p/osd-lyrics/ diff --git a/audio/osd-lyrics/pkg-plist b/audio/osd-lyrics/pkg-plist new file mode 100644 index 000000000000..2db4b87c61b2 --- /dev/null +++ b/audio/osd-lyrics/pkg-plist @@ -0,0 +1,30 @@ +bin/osdlyrics +share/applications/osdlyrics.desktop +share/icons/hicolor/16x16/animations/osdlyrics-loading.png +share/icons/hicolor/64x64/apps/osdlyrics-trayicon.png +share/icons/hicolor/64x64/apps/osdlyrics.png +share/icons/hicolor/scalable/actions/osdlyrics-osd-next.svg +share/icons/hicolor/scalable/actions/osdlyrics-osd-pause.svg +share/icons/hicolor/scalable/actions/osdlyrics-osd-play.svg +share/icons/hicolor/scalable/actions/osdlyrics-osd-prev.svg +share/icons/hicolor/scalable/actions/osdlyrics-osd-stop.svg +share/icons/hicolor/scalable/actions/osdlyrics-scroll-close.svg +share/icons/hicolor/scalable/apps/osdlyrics-osd-bg.svg +share/locale/de/LC_MESSAGES/osdlyrics.mo +share/locale/es/LC_MESSAGES/osdlyrics.mo +share/locale/fr/LC_MESSAGES/osdlyrics.mo +share/locale/it/LC_MESSAGES/osdlyrics.mo +share/locale/ms/LC_MESSAGES/osdlyrics.mo +share/locale/pt_BR/LC_MESSAGES/osdlyrics.mo +share/locale/ro/LC_MESSAGES/osdlyrics.mo +share/locale/ru/LC_MESSAGES/osdlyrics.mo +share/locale/tr/LC_MESSAGES/osdlyrics.mo +share/locale/uk/LC_MESSAGES/osdlyrics.mo +share/locale/zh_CN/LC_MESSAGES/osdlyrics.mo +share/locale/zh_HK/LC_MESSAGES/osdlyrics.mo +share/locale/zh_TW/LC_MESSAGES/osdlyrics.mo +%%DATADIR%%/dialogs.glade +%%DATADIR%%/icons/osdlyrics.png +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%% +@dirrmtry share/applications |