diff options
author | decke <decke@FreeBSD.org> | 2010-06-21 21:47:26 +0800 |
---|---|---|
committer | decke <decke@FreeBSD.org> | 2010-06-21 21:47:26 +0800 |
commit | 65357943216ff920f3fd80f4fa9877b6640194c9 (patch) | |
tree | e756b612dcdce7cdd64a8d15322362c2312bd28c /audio | |
parent | c6d7656f200e53449c09f823d9ee9ab6f4c35b7a (diff) | |
download | freebsd-ports-graphics-65357943216ff920f3fd80f4fa9877b6640194c9.tar.gz freebsd-ports-graphics-65357943216ff920f3fd80f4fa9877b6640194c9.tar.zst freebsd-ports-graphics-65357943216ff920f3fd80f4fa9877b6640194c9.zip |
MythMusic is a sophisticated MythTV plugin that allows you to
play and manage music and audio files .i.e MP3, Ogg, FLAC,
wav etc. It is specifically designed to be operated by a normal
remote control.
WWW: http://www.mythtv.org/wiki/MythMusic
Approved by: beat (co-mentor)
Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/Makefile | 50 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/distinfo | 3 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/files/patch-configure | 10 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/files/patch-mythmusic-mythmusic-mythmusic.pro | 14 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/pkg-descr | 6 | ||||
-rw-r--r-- | audio/mythplugin-mythmusic/pkg-plist | 81 |
7 files changed, 165 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 100fa85cc85..e5e0159ae13 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -512,6 +512,7 @@ SUBDIR += musiccontrol SUBDIR += musicpd SUBDIR += mutemix + SUBDIR += mythplugin-mythmusic SUBDIR += napster SUBDIR += nas SUBDIR += ncmpc diff --git a/audio/mythplugin-mythmusic/Makefile b/audio/mythplugin-mythmusic/Makefile new file mode 100644 index 00000000000..8e5f3f648c5 --- /dev/null +++ b/audio/mythplugin-mythmusic/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: mythplugin-mythmusic +# Date created: 2010-03-07 +# Whom: Bernhard Froehlich <decke@bluelife.at> +# +# $FreeBSD$ +# + +PORTNAME= mythmusic +PORTVERSION= 0.23 +CATEGORIES= audio +MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \ + http://ftp.oregonstate.edu/pub/mythtv/ +PKGNAMEPREFIX= mythplugin- +DISTNAME= mythplugins-${PORTVERSION} + +MAINTAINER= decke@FreeBSD.org +COMMENT= Music playing plugin for MythTV + +LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio \ + FLAC.10:${PORTSDIR}/audio/flac \ + vorbis.4:${PORTSDIR}/audio/libvorbis \ + cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia \ + tag.1:${PORTSDIR}/audio/taglib \ + visual-0.4.0:${PORTSDIR}/graphics/libvisual04 \ + fftw3f:${PORTSDIR}/math/fftw3-float +BUILD_DEPENDS= mythfrontend:${PORTSDIR}/multimedia/mythtv + +USE_BZIP2= yes +USE_QT_VER= 4 +QT_COMPONENTS= linguist_build moc_build qmake_build rcc_build uic_build +USE_SDL= sdl +HAS_CONFIGURE= yes +USE_LDCONFIG= ${PREFIX}/lib/mythtv/plugins + +PLIST_SUB+= MYTHSHARE="share/mythtv" + +QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ + +CONFIGURE_ARGS= --prefix="${PREFIX}" --disable-all \ + --enable-mythmusic --enable-libvisual \ + --enable-fftw --enable-sdl --enable-opengl + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/configure \ + ${WRKSRC}/mythmusic/mythmusic/mythmusic.pro + @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/audio/mythplugin-mythmusic/distinfo b/audio/mythplugin-mythmusic/distinfo new file mode 100644 index 00000000000..43aa7d54826 --- /dev/null +++ b/audio/mythplugin-mythmusic/distinfo @@ -0,0 +1,3 @@ +MD5 (mythplugins-0.23.tar.bz2) = be44db841f9e03d0d17ab449545b38aa +SHA256 (mythplugins-0.23.tar.bz2) = 45c9d16069cb386d77000499e1d5b7a9e0384367ba82944bd19bb4c290f5f32e +SIZE (mythplugins-0.23.tar.bz2) = 35709047 diff --git a/audio/mythplugin-mythmusic/files/patch-configure b/audio/mythplugin-mythmusic/files/patch-configure new file mode 100644 index 00000000000..b0826b5f8bc --- /dev/null +++ b/audio/mythplugin-mythmusic/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2009-10-30 16:45:12.000000000 +0100 ++++ configure 2010-03-07 10:51:57.000000000 +0100 +@@ -724,6 +724,7 @@ + echo "LIBS += `sdl-config --libs`" >> ./mythmusic/mythmusic/config.pro + echo "QMAKE_CXXFLAGS_RELEASE += `sdl-config --cflags`" >> ./mythmusic/mythmusic/config.pro + echo "QMAKE_CXXFLAGS_DEBUG += `sdl-config --cflags`" >> ./mythmusic/mythmusic/config.pro ++ echo "QMAKE_CXXFLAGS_RELEASE -= -I/usr/local/include" >> ./mythmusic/mythmusic/config.pro + fi + if test "$sdl" = "no" ; then + echo " SDL support will not be included in MythMusic" diff --git a/audio/mythplugin-mythmusic/files/patch-mythmusic-mythmusic-mythmusic.pro b/audio/mythplugin-mythmusic/files/patch-mythmusic-mythmusic-mythmusic.pro new file mode 100644 index 00000000000..163c81623fd --- /dev/null +++ b/audio/mythplugin-mythmusic/files/patch-mythmusic-mythmusic-mythmusic.pro @@ -0,0 +1,14 @@ +--- mythmusic/mythmusic/mythmusic.pro.orig 2009-08-23 00:34:03.000000000 +0200 ++++ mythmusic/mythmusic/mythmusic.pro 2010-03-07 10:48:10.000000000 +0100 +@@ -61,6 +61,11 @@ + SOURCES += playlistcontainer.cpp + SOURCES += mythlistview-qt3.cpp mythlistbox-qt3.cpp + ++freebsd { ++ INCLUDEPATH -= /usr/local/include ++ INCLUDEPATH = $$INCLUDEPATH /usr/local/include ++} ++ + macx { + SOURCES -= cddecoder.cpp + SOURCES += cddecoder-darwin.cpp diff --git a/audio/mythplugin-mythmusic/pkg-descr b/audio/mythplugin-mythmusic/pkg-descr new file mode 100644 index 00000000000..f930653537e --- /dev/null +++ b/audio/mythplugin-mythmusic/pkg-descr @@ -0,0 +1,6 @@ +MythMusic is a sophisticated MythTV plugin that allows you to +play and manage music and audio files .i.e MP3, Ogg, FLAC, +wav etc. It is specifically designed to be operated by a normal +remote control. + +WWW: http://www.mythtv.org/wiki/MythMusic diff --git a/audio/mythplugin-mythmusic/pkg-plist b/audio/mythplugin-mythmusic/pkg-plist new file mode 100644 index 00000000000..084758d94a6 --- /dev/null +++ b/audio/mythplugin-mythmusic/pkg-plist @@ -0,0 +1,81 @@ +@comment $FreeBSD$ +lib/mythtv/plugins/libmythmusic.so +%%MYTHSHARE%%/themes/default/music-ui.xml +%%MYTHSHARE%%/themes/default/ff_button_off.png +%%MYTHSHARE%%/themes/default/ff_button_on.png +%%MYTHSHARE%%/themes/default/ff_button_pushed.png +%%MYTHSHARE%%/themes/default/miniplayer_background.png +%%MYTHSHARE%%/themes/default/mm-titlelines.png +%%MYTHSHARE%%/themes/default/mm_blackhole_border.png +%%MYTHSHARE%%/themes/default/mm_browser_back_reg.png +%%MYTHSHARE%%/themes/default/mm_browser_back_sel.png +%%MYTHSHARE%%/themes/default/mm_down_arrow.png +%%MYTHSHARE%%/themes/default/mm_folder.png +%%MYTHSHARE%%/themes/default/mm_left_arrow.png +%%MYTHSHARE%%/themes/default/mm_next_off.png +%%MYTHSHARE%%/themes/default/mm_next_on.png +%%MYTHSHARE%%/themes/default/mm_next_pushed.png +%%MYTHSHARE%%/themes/default/mm_nothumb.png +%%MYTHSHARE%%/themes/default/mm_prev_off.png +%%MYTHSHARE%%/themes/default/mm_prev_on.png +%%MYTHSHARE%%/themes/default/mm_prev_pushed.png +%%MYTHSHARE%%/themes/default/mm_progress-bg.png +%%MYTHSHARE%%/themes/default/mm_progress-fg.png +%%MYTHSHARE%%/themes/default/mm_progress_background.png +%%MYTHSHARE%%/themes/default/mm_progress_foreground.png +%%MYTHSHARE%%/themes/default/mm_rating.png +%%MYTHSHARE%%/themes/default/mm_right_arrow.png +%%MYTHSHARE%%/themes/default/mm_rip_background.png +%%MYTHSHARE%%/themes/default/mm_rip_banner.png +%%MYTHSHARE%%/themes/default/mm_trans_background.png +%%MYTHSHARE%%/themes/default/mm_up_arrow.png +%%MYTHSHARE%%/themes/default/mm_volume_background.png +%%MYTHSHARE%%/themes/default/mm_volume_tick.png +%%MYTHSHARE%%/themes/default/mm_waiting.png +%%MYTHSHARE%%/themes/default/music-sel-bg.png +%%MYTHSHARE%%/themes/default/next_button_off.png +%%MYTHSHARE%%/themes/default/next_button_on.png +%%MYTHSHARE%%/themes/default/next_button_pushed.png +%%MYTHSHARE%%/themes/default/pause_button_off.png +%%MYTHSHARE%%/themes/default/pause_button_on.png +%%MYTHSHARE%%/themes/default/pause_button_pushed.png +%%MYTHSHARE%%/themes/default/play_button_off.png +%%MYTHSHARE%%/themes/default/play_button_on.png +%%MYTHSHARE%%/themes/default/play_button_pushed.png +%%MYTHSHARE%%/themes/default/prev_button_off.png +%%MYTHSHARE%%/themes/default/prev_button_on.png +%%MYTHSHARE%%/themes/default/prev_button_pushed.png +%%MYTHSHARE%%/themes/default/rew_button_off.png +%%MYTHSHARE%%/themes/default/rew_button_on.png +%%MYTHSHARE%%/themes/default/rew_button_pushed.png +%%MYTHSHARE%%/themes/default/selectionbar.png +%%MYTHSHARE%%/themes/default/stop_button_off.png +%%MYTHSHARE%%/themes/default/stop_button_on.png +%%MYTHSHARE%%/themes/default/stop_button_pushed.png +%%MYTHSHARE%%/themes/default/track_info_background.png +%%MYTHSHARE%%/themes/default-wide/music-ui.xml +%%MYTHSHARE%%/themes/default-wide/mm-titlelines.png +%%MYTHSHARE%%/themes/default-wide/mm_blackhole_border.png +%%MYTHSHARE%%/themes/default-wide/mm_volume_background.png +%%MYTHSHARE%%/themes/default-wide/mm_waiting.png +%%MYTHSHARE%%/themes/default-wide/music-sel-bg.png +%%MYTHSHARE%%/music_settings.xml +%%MYTHSHARE%%/musicmenu.xml +%%MYTHSHARE%%/i18n/mythmusic_it.qm +%%MYTHSHARE%%/i18n/mythmusic_es.qm +%%MYTHSHARE%%/i18n/mythmusic_ca.qm +%%MYTHSHARE%%/i18n/mythmusic_nl.qm +%%MYTHSHARE%%/i18n/mythmusic_de.qm +%%MYTHSHARE%%/i18n/mythmusic_da.qm +%%MYTHSHARE%%/i18n/mythmusic_pt.qm +%%MYTHSHARE%%/i18n/mythmusic_sv.qm +%%MYTHSHARE%%/i18n/mythmusic_fr.qm +%%MYTHSHARE%%/i18n/mythmusic_ja.qm +%%MYTHSHARE%%/i18n/mythmusic_sl.qm +%%MYTHSHARE%%/i18n/mythmusic_fi.qm +%%MYTHSHARE%%/i18n/mythmusic_nb.qm +%%MYTHSHARE%%/i18n/mythmusic_et.qm +%%MYTHSHARE%%/i18n/mythmusic_cs.qm +%%MYTHSHARE%%/i18n/mythmusic_pl.qm +%%MYTHSHARE%%/i18n/mythmusic_hu.qm +@dirrmtry lib/mythtv/plugins |