aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--audio/Makefile1
-rw-r--r--audio/mythplugin-mythmusic/Makefile60
-rw-r--r--audio/mythplugin-mythmusic/distinfo3
-rw-r--r--audio/mythplugin-mythmusic/files/patch-settings.pro11
-rw-r--r--audio/mythplugin-mythmusic/pkg-descr4
-rw-r--r--audio/mythplugin-mythmusic/pkg-plist123
7 files changed, 202 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index d00efd4811e9..033f0ab24cf6 100644
--- a/MOVED
+++ b/MOVED
@@ -8226,7 +8226,6 @@ games/OpenDiablo2||2023-12-31|Has expired: Upstream repository has been archived
graphics/figurine||2023-12-31|Has expired: BROKEN for more than 2 years on all supported versions after the EOL of 12
editors/xi-term||2023-12-31|Has expired: Frontend depends on deprecated editors/xi-core. No upstream activity.
net/wmwlmon||2023-12-31|Has expired: BROKEN on all supported versions after the EOL of 12
-audio/mythplugin-mythmusic||2023-12-31|Has expired: Depends on deprecated www/qt5-webkit via multimedia/mythtv
devel/strace||2023-12-31|Has expired: BROKEN on all supported versions after EOL of 12
audio/tuneradio||2023-12-31|Has expired: Requires defunct bktr
net/skstream||2023-12-31|Has expired: There has been no release for most of the Worldforge libraries in the past 10 years.
diff --git a/audio/Makefile b/audio/Makefile
index 1440c34487a7..005714b7567f 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -507,6 +507,7 @@
SUBDIR += musiccontrol
SUBDIR += musicpc
SUBDIR += musicpd
+ SUBDIR += mythplugin-mythmusic
SUBDIR += myxer
SUBDIR += nas
SUBDIR += ncmpc
diff --git a/audio/mythplugin-mythmusic/Makefile b/audio/mythplugin-mythmusic/Makefile
new file mode 100644
index 000000000000..cf66d399e80b
--- /dev/null
+++ b/audio/mythplugin-mythmusic/Makefile
@@ -0,0 +1,60 @@
+PORTNAME= mythmusic
+DISTVERSIONPREFIX= v
+DISTVERSION= 33.1
+PORTREVISION= 1
+CATEGORIES= audio
+PKGNAMEPREFIX= mythplugin-
+
+MAINTAINER= ahicks@p-o.co.uk
+COMMENT= Music playing plugin for MythTV
+WWW= https://www.mythtv.org/wiki/MythMusic
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libFLAC.so:audio/flac \
+ libmp3lame.so:audio/lame \
+ libogg.so:audio/libogg \
+ libvorbis.so:audio/libvorbis \
+ libmyth-33.so:multimedia/mythtv
+
+USES= gmake qt:5 shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= MythTV
+GH_PROJECT= mythtv
+USE_LDCONFIG= yes
+USE_QT= buildtools:build core gui qmake:build sql widgets xml
+SHEBANG_FILES= ../mythtv/programs/scripts/metadata/Music/mbutils.py
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \
+ --disable-all \
+ --enable-mythmusic
+CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \
+ QTDIR="${PREFIX}" PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
+MAKE_ENV= QTDIR="${PREFIX}" \
+ QMAKESPEC="${QMAKESPEC}"
+DESTDIRNAME= INSTALL_ROOT
+PLIST_SUB= MYTHSHARE="share/mythtv"
+WRKSRC_SUBDIR= mythplugins
+
+OPTIONS_DEFINE= CDIO
+
+CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio \
+ libcdio_paranoia.so:sysutils/libcdio-paranoia
+CDIO_CONFIGURE_ENABLE= cdio
+
+FFTW_DESC= FFTW3-based visualizations
+FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3
+FFTW_CONFIGURE_ENABLE= fftw
+
+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
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mythtv/plugins/libmythmusic.so
+
+.include <bsd.port.mk>
diff --git a/audio/mythplugin-mythmusic/distinfo b/audio/mythplugin-mythmusic/distinfo
new file mode 100644
index 000000000000..a3cacb20382e
--- /dev/null
+++ b/audio/mythplugin-mythmusic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1676811612
+SHA256 (MythTV-mythtv-v33.1_GH0.tar.gz) = 64abc966adf03a6764ba26e8314f4667420af1b2c4dff7f3000393de1651cd3b
+SIZE (MythTV-mythtv-v33.1_GH0.tar.gz) = 116920982
diff --git a/audio/mythplugin-mythmusic/files/patch-settings.pro b/audio/mythplugin-mythmusic/files/patch-settings.pro
new file mode 100644
index 000000000000..4eed071e9511
--- /dev/null
+++ b/audio/mythplugin-mythmusic/files/patch-settings.pro
@@ -0,0 +1,11 @@
+--- settings.pro.orig 2023-03-19 16:48:43.345465000 +0000
++++ settings.pro 2023-03-19 16:42:27.786115000 +0000
+@@ -8,7 +8,7 @@
+ include(settings2.pro)
+
+ MY_INSTALL_INCLUDE = $${SYSROOT}$${PREFIX}/include
+-!contains(MY_INSTALL_INCLUDE, /usr/include$) {
++!contains(MY_INSTALL_INCLUDE, /usr/local/include$) {
+ INCLUDEPATH += $${SYSROOT}$${PREFIX}/include
+ }
+
diff --git a/audio/mythplugin-mythmusic/pkg-descr b/audio/mythplugin-mythmusic/pkg-descr
new file mode 100644
index 000000000000..43558cd1919d
--- /dev/null
+++ b/audio/mythplugin-mythmusic/pkg-descr
@@ -0,0 +1,4 @@
+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.
diff --git a/audio/mythplugin-mythmusic/pkg-plist b/audio/mythplugin-mythmusic/pkg-plist
new file mode 100644
index 000000000000..9bca49714431
--- /dev/null
+++ b/audio/mythplugin-mythmusic/pkg-plist
@@ -0,0 +1,123 @@
+lib/mythtv/plugins/libmythmusic.so
+%%MYTHSHARE%%/i18n/mythmusic_bg.qm
+%%MYTHSHARE%%/i18n/mythmusic_ca.qm
+%%MYTHSHARE%%/i18n/mythmusic_cs.qm
+%%MYTHSHARE%%/i18n/mythmusic_da.qm
+%%MYTHSHARE%%/i18n/mythmusic_de.qm
+%%MYTHSHARE%%/i18n/mythmusic_el.qm
+%%MYTHSHARE%%/i18n/mythmusic_en_ca.qm
+%%MYTHSHARE%%/i18n/mythmusic_en_gb.qm
+%%MYTHSHARE%%/i18n/mythmusic_en_us.qm
+%%MYTHSHARE%%/i18n/mythmusic_es.qm
+%%MYTHSHARE%%/i18n/mythmusic_es_es.qm
+%%MYTHSHARE%%/i18n/mythmusic_et.qm
+%%MYTHSHARE%%/i18n/mythmusic_fi.qm
+%%MYTHSHARE%%/i18n/mythmusic_fr.qm
+%%MYTHSHARE%%/i18n/mythmusic_hu.qm
+%%MYTHSHARE%%/i18n/mythmusic_it.qm
+%%MYTHSHARE%%/i18n/mythmusic_ja.qm
+%%MYTHSHARE%%/i18n/mythmusic_nb.qm
+%%MYTHSHARE%%/i18n/mythmusic_nl.qm
+%%MYTHSHARE%%/i18n/mythmusic_pl.qm
+%%MYTHSHARE%%/i18n/mythmusic_pt.qm
+%%MYTHSHARE%%/i18n/mythmusic_pt_br.qm
+%%MYTHSHARE%%/i18n/mythmusic_ru.qm
+%%MYTHSHARE%%/i18n/mythmusic_sl.qm
+%%MYTHSHARE%%/i18n/mythmusic_sv.qm
+%%MYTHSHARE%%/music_settings.xml
+%%MYTHSHARE%%/musicmenu.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-base.xml
+%%MYTHSHARE%%/themes/default-wide/music-sel-bg.png
+%%MYTHSHARE%%/themes/default-wide/music-ui.xml
+%%MYTHSHARE%%/themes/default-wide/musicsettings-ui.xml
+%%MYTHSHARE%%/themes/default-wide/stream-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_albums.png
+%%MYTHSHARE%%/themes/default/mm_alltracks.png
+%%MYTHSHARE%%/themes/default/mm_artists.png
+%%MYTHSHARE%%/themes/default/mm_ascending.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_cd.png
+%%MYTHSHARE%%/themes/default/mm_compartists.png
+%%MYTHSHARE%%/themes/default/mm_compilations.png
+%%MYTHSHARE%%/themes/default/mm_descending.png
+%%MYTHSHARE%%/themes/default/mm_directory.png
+%%MYTHSHARE%%/themes/default/mm_down_arrow.png
+%%MYTHSHARE%%/themes/default/mm_folder.png
+%%MYTHSHARE%%/themes/default/mm_genres.png
+%%MYTHSHARE%%/themes/default/mm_icecast.png
+%%MYTHSHARE%%/themes/default/mm_left_arrow.png
+%%MYTHSHARE%%/themes/default/mm_music_tag.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_pauseicon.png
+%%MYTHSHARE%%/themes/default/mm_playicon.png
+%%MYTHSHARE%%/themes/default/mm_playing_1.png
+%%MYTHSHARE%%/themes/default/mm_playing_2.png
+%%MYTHSHARE%%/themes/default/mm_playing_3.png
+%%MYTHSHARE%%/themes/default/mm_playing_4.png
+%%MYTHSHARE%%/themes/default/mm_playing_5.png
+%%MYTHSHARE%%/themes/default/mm_playing_6.png
+%%MYTHSHARE%%/themes/default/mm_playing_7.png
+%%MYTHSHARE%%/themes/default/mm_playing_8.png
+%%MYTHSHARE%%/themes/default/mm_playlists.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_ratings.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_smartplaylists.png
+%%MYTHSHARE%%/themes/default/mm_stopicon.png
+%%MYTHSHARE%%/themes/default/mm_trans_background.png
+%%MYTHSHARE%%/themes/default/mm_up_arrow.png
+%%MYTHSHARE%%/themes/default/mm_updown.png
+%%MYTHSHARE%%/themes/default/mm_volume.png
+%%MYTHSHARE%%/themes/default/mm_volume_background.png
+%%MYTHSHARE%%/themes/default/mm_volume_muted.png
+%%MYTHSHARE%%/themes/default/mm_volume_tick.png
+%%MYTHSHARE%%/themes/default/mm_waiting.png
+%%MYTHSHARE%%/themes/default/mm_years.png
+%%MYTHSHARE%%/themes/default/music-base.xml
+%%MYTHSHARE%%/themes/default/music-sel-bg.png
+%%MYTHSHARE%%/themes/default/music-ui.xml
+%%MYTHSHARE%%/themes/default/musicsettings-ui.xml
+%%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/stream-ui.xml
+%%MYTHSHARE%%/themes/default/track_info_background.png