Skip to content

Commit

Permalink
audio/logitechmediaserver: update to 8.4.0
Browse files Browse the repository at this point in the history
Changelog: https://github.com/Logitech/slimserver/blob/8.4.0/Changelog8.html

Major changes:
    * Additional plugins, views
    * The ability to import playlists from other services

Port changes:
    since mysqueezebox.com is going to close down imminently, add
    the --nomysqueezebox to the server invocation to make life easier
    https://lms-community.github.io/getting-started/changelog-lms8/#version-850

PR:		277299
Reported by:	Trenton Schulz <trueos@norwegianrockcat.com> (maintainer)
  • Loading branch information
rosorio committed Mar 13, 2024
1 parent f2ba647 commit fa8a46b
Show file tree
Hide file tree
Showing 6 changed files with 287 additions and 213 deletions.
31 changes: 13 additions & 18 deletions audio/logitechmediaserver/Makefile
@@ -1,7 +1,6 @@

PORTNAME= logitechmediaserver
DISTVERSION= 8.3.1
PORTREVISION= 1
DISTVERSION= 8.4.0
CATEGORIES= audio

MAINTAINER= trueos@norwegianrockcat.com
Expand All @@ -24,8 +23,8 @@ RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL

USES= gettext-runtime gmake perl5 shebangfix
USE_GITHUB= yes
GH_TUPLE= Logitech:slimserver:026019b \
Logitech:slimserver-vendor:947eb3a:vendor
GH_TUPLE= Logitech:slimserver:e225575 \
Logitech:slimserver-vendor:5bb7355:vendor
USE_RC_SUBR= logitechmediaserver
SHEBANG_FILES= Bin/darwin/check-update.pl \
CPAN/Log/Log4perl/Layout/PatternLayout/Multiline.pm \
Expand All @@ -39,8 +38,6 @@ SHEBANG_FILES= Bin/darwin/check-update.pl \
slimserver.pl \
${WRKSRC_vendor}/CPAN/hints/darwin.pl

EXTRA_PATCHES= ${FILESDIR}/vendorpatch-CPAN_buildme.sh

SUB_FILES= Custom.pm \
custom-convert.conf \
logitechmediaserver.conf
Expand All @@ -53,13 +50,6 @@ SUB_LIST= PERL=${PERL} \
SLIMGROUP=${SLIMGROUP} \
CONFFILES="${CONFFILES}"

PLIST_SUB= SLIMDIR=${SLIMDIR} \
SLIMDBDIR=${SLIMDBDIR} \
OPSYS=${OPSYS:tl} \
ARCH=${ARCH} \
ARCHNAME=${ARCHNAME}

EXTRA_PATCHES= ${FILESDIR}/vendorpatch-CPAN_buildme.sh
SUB_FILES= Custom.pm \
custom-convert.conf \
logitechmediaserver.conf
Expand All @@ -72,6 +62,15 @@ SUB_LIST= PERL=${PERL} \
SLIMGROUP=${SLIMGROUP} \
CONFFILES="${CONFFILES}"

USERS= ${SLIMUSER}
GROUPS= ${SLIMGROUP}

PLIST_SUB= SLIMDIR=${SLIMDIR} \
SLIMDBDIR=${SLIMDBDIR} \
OPSYS=${OPSYS:tl} \
ARCH=${ARCH} \
ARCHNAME=${ARCHNAME}

# Defaults support playback of relativly unrestricted formats on SB2 or
# SB3 devices and wired SB1 devices.
OPTIONS_DEFINE= APE FAAD FLAC LAME SOX TEST DOCS
Expand All @@ -84,9 +83,6 @@ LAME_RUN_DEPENDS= lame:audio/lame
SOX_RUN_DEPENDS= sox:audio/sox
TEST_VARS_OFF= CONTRIB_FLAGS=-t

USERS= ${SLIMUSER}
GROUPS= ${SLIMGROUP}

DOCFILES= Changelog*.html License*.txt
CONFFILES= convert.conf types.conf

Expand Down Expand Up @@ -117,8 +113,6 @@ do-build:

do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SLIMDIR})
chmod +x ${STAGEDIR}${PREFIX}/${SLIMDIR}/scanner.pl \
${STAGEDIR}${PREFIX}/${SLIMDIR}/slimserver.pl
(cd ${WRKSRC_vendor}/CPAN/build && \
${COPYTREE_SHARE} arch ${STAGEDIR}${PREFIX}/${SLIMDIR}/CPAN)
(cd ${WRKSRC_vendor}/CPAN/build/${PERL_VER}/lib/perl5 && \
Expand All @@ -143,6 +137,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
${INSTALL_DATA} ${WRKDIR}/logitechmediaserver.conf \
${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/
@${MKDIR} ${STAGEDIR}${SLIMDBDIR}
@${LN} -s ${SLIMDBDIR}/cache ${STAGEDIR}${PREFIX}/${SLIMDIR}/Cache
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
Expand Down
10 changes: 5 additions & 5 deletions audio/logitechmediaserver/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1679831207
SHA256 (Logitech-slimserver-8.3.1-026019b_GH0.tar.gz) = 9b5c801cf765d204d08d64f6420ee1fe368eb2182d811c2bb50cbe98383c761d
SIZE (Logitech-slimserver-8.3.1-026019b_GH0.tar.gz) = 147326126
SHA256 (Logitech-slimserver-vendor-947eb3a_GH0.tar.gz) = 8d356bf7f22fa9f427b71f074c9be4c13322f6e201c69cc62f3f2779221aeb71
SIZE (Logitech-slimserver-vendor-947eb3a_GH0.tar.gz) = 170625563
TIMESTAMP = 1708239484
SHA256 (Logitech-slimserver-8.4.0-e225575_GH0.tar.gz) = 81753397b57c51688c9a5d45db3597cc28303c556b2f0c68eaeb3d912562a439
SIZE (Logitech-slimserver-8.4.0-e225575_GH0.tar.gz) = 157658424
SHA256 (Logitech-slimserver-vendor-5bb7355_GH0.tar.gz) = 65694923ec667ed484619e6ca6826250ebe35ba4d1307e7b7d282fbfb2585352
SIZE (Logitech-slimserver-vendor-5bb7355_GH0.tar.gz) = 184535648
2 changes: 1 addition & 1 deletion audio/logitechmediaserver/files/logitechmediaserver.in
Expand Up @@ -27,7 +27,7 @@ prefsdir=${statedir}/prefs
playlistdir=${statedir}/playlists
u=%%SLIMUSER%%
g=%%SLIMGROUP%%
command_args="--daemon --pidfile=${pidfile} --user=${u} --group=${g}"
command_args="--daemon --pidfile=${pidfile} --user=${u} --group=${g} --nomysqueezebox"
%%PORTNAME%%_user=${u}
%%PORTNAME%%_group=${g}

Expand Down
11 changes: 0 additions & 11 deletions audio/logitechmediaserver/files/vendorpatch-CPAN_buildme.sh

This file was deleted.

59 changes: 54 additions & 5 deletions audio/logitechmediaserver/pkg-plist
Expand Up @@ -39,7 +39,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/CPAN/Archive/Zip/StringMember.pm
%%SLIMDIR%%/CPAN/Archive/Zip/Tree.pm
%%SLIMDIR%%/CPAN/Archive/Zip/ZipFileMember.pm
%%SLIMDIR%%/CPAN/Async/Util.pm
%%SLIMDIR%%/lib/Async/Util.pm
%%SLIMDIR%%/CPAN/Bundle/LWP.pm
%%SLIMDIR%%/CPAN/Cache/BaseCache.pm
%%SLIMDIR%%/CPAN/Cache/Cache.pm
Expand Down Expand Up @@ -206,15 +206,21 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/CPAN/File/Spec/Win32.pm
%%SLIMDIR%%/CPAN/File/Temp.pm
%%SLIMDIR%%/CPAN/File/Which.pm
%%SLIMDIR%%/CPAN/HTML/AsSubs.pm
%%SLIMDIR%%/CPAN/HTML/Element.pm
%%SLIMDIR%%/CPAN/HTML/Element/traverse.pm
%%SLIMDIR%%/CPAN/HTML/Entities.pm
%%SLIMDIR%%/CPAN/HTML/Filter.pm
%%SLIMDIR%%/CPAN/HTML/Form.pm
%%SLIMDIR%%/CPAN/HTML/Formatter.pm
%%SLIMDIR%%/CPAN/HTML/HeadParser.pm
%%SLIMDIR%%/CPAN/HTML/LinkExtor.pm
%%SLIMDIR%%/CPAN/HTML/Parse.pm
%%SLIMDIR%%/CPAN/HTML/Parser.pm
%%SLIMDIR%%/CPAN/HTML/PullParser.pm
%%SLIMDIR%%/CPAN/HTML/Tagset.pm
%%SLIMDIR%%/CPAN/HTML/TokeParser.pm
%%SLIMDIR%%/CPAN/HTML/Tree.pm
%%SLIMDIR%%/CPAN/HTML/TreeBuilder.pm
%%SLIMDIR%%/CPAN/HTTP/Config.pm
%%SLIMDIR%%/CPAN/HTTP/Cookies.pm
Expand Down Expand Up @@ -1797,6 +1803,8 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/SQL/SQLite/schema_20_up.sql
%%SLIMDIR%%/SQL/SQLite/schema_21_down.sql
%%SLIMDIR%%/SQL/SQLite/schema_21_up.sql
%%SLIMDIR%%/SQL/SQLite/schema_22_down.sql
%%SLIMDIR%%/SQL/SQLite/schema_22_up.sql
%%SLIMDIR%%/SQL/SQLite/schema_2_down.sql
%%SLIMDIR%%/SQL/SQLite/schema_2_up.sql
%%SLIMDIR%%/SQL/SQLite/schema_3_down.sql
Expand Down Expand Up @@ -1841,6 +1849,8 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/SQL/mysql/schema_20_up.sql
%%SLIMDIR%%/SQL/mysql/schema_21_down.sql
%%SLIMDIR%%/SQL/mysql/schema_21_up.sql
%%SLIMDIR%%/SQL/mysql/schema_22_down.sql
%%SLIMDIR%%/SQL/mysql/schema_22_up.sql
%%SLIMDIR%%/SQL/mysql/schema_2_down.sql
%%SLIMDIR%%/SQL/mysql/schema_2_up.sql
%%SLIMDIR%%/SQL/mysql/schema_3_down.sql
Expand All @@ -1859,7 +1869,6 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/SQL/mysql/schema_9_up.sql
%%SLIMDIR%%/SQL/mysql/schema_clear.sql
%%SLIMDIR%%/SQL/mysql/schema_optimize.sql
%%SLIMDIR%%/SQL/slimservice/slimservice-sqlite.sql
%%SLIMDIR%%/Slim/Buttons/Alarm.pm
%%SLIMDIR%%/Slim/Buttons/Block.pm
%%SLIMDIR%%/Slim/Buttons/Common.pm
Expand Down Expand Up @@ -1944,6 +1953,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Menu/AlbumInfo.pm
%%SLIMDIR%%/Slim/Menu/ArtistInfo.pm
%%SLIMDIR%%/Slim/Menu/Base.pm
%%SLIMDIR%%/Slim/Menu/BrowseLibrary/Releases.pm
%%SLIMDIR%%/Slim/Menu/BrowseLibrary.pm
%%SLIMDIR%%/Slim/Menu/FolderInfo.pm
%%SLIMDIR%%/Slim/Menu/GenreInfo.pm
Expand All @@ -1956,6 +1966,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Music/Import.pm
%%SLIMDIR%%/Slim/Music/Info.pm
%%SLIMDIR%%/Slim/Music/PlaylistFolderScan.pm
%%SLIMDIR%%/Slim/Music/ReleaseTypes.pm
%%SLIMDIR%%/Slim/Music/TitleFormatter.pm
%%SLIMDIR%%/Slim/Music/VirtualLibraries.pm
%%SLIMDIR%%/Slim/Networking/Async.pm
Expand All @@ -1971,7 +1982,6 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Networking/Discovery/Players.pm
%%SLIMDIR%%/Slim/Networking/Discovery/Server.pm
%%SLIMDIR%%/Slim/Networking/IO/Select.pm
%%SLIMDIR%%/Slim/Networking/Repositories.pm
%%SLIMDIR%%/Slim/Networking/Select.pm
%%SLIMDIR%%/Slim/Networking/SimpleAsyncHTTP.pm
%%SLIMDIR%%/Slim/Networking/SimpleHTTP/Base.pm
Expand All @@ -1984,6 +1994,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Networking/SqueezeNetwork/Players.pm
%%SLIMDIR%%/Slim/Networking/SqueezeNetwork/PrefSync.pm
%%SLIMDIR%%/Slim/Networking/SqueezeNetwork/Sync.pm
%%SLIMDIR%%/Slim/Networking/SqueezeNetwork/Time.pm
%%SLIMDIR%%/Slim/Networking/UDP.pm
%%SLIMDIR%%/Slim/Player/Boom.pm
%%SLIMDIR%%/Slim/Player/CapabilitiesHelper.pm
Expand Down Expand Up @@ -2026,6 +2037,12 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/AppGallery/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/AppGallery/install.xml
%%SLIMDIR%%/Slim/Plugin/AppGallery/strings.txt
%%SLIMDIR%%/Slim/Plugin/AudioAddict/API.pm
%%SLIMDIR%%/Slim/Plugin/AudioAddict/HTML/EN/plugins/AudioAddict/settings.html
%%SLIMDIR%%/Slim/Plugin/AudioAddict/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/AudioAddict/Settings.pm
%%SLIMDIR%%/Slim/Plugin/AudioAddict/install.xml
%%SLIMDIR%%/Slim/Plugin/AudioAddict/strings.txt
%%SLIMDIR%%/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/basic.html
%%SLIMDIR%%/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/player.html
%%SLIMDIR%%/Slim/Plugin/AudioScrobbler/PlayerSettings.pm
Expand All @@ -2045,6 +2062,10 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/Classical/ProtocolHandler.pm
%%SLIMDIR%%/Slim/Plugin/Classical/install.xml
%%SLIMDIR%%/Slim/Plugin/Classical/strings.txt
%%SLIMDIR%%/Slim/Plugin/ClassicalRadio/HTML/EN/plugins/ClassicalRadio/html/icon.png
%%SLIMDIR%%/Slim/Plugin/ClassicalRadio/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/ClassicalRadio/install.xml
%%SLIMDIR%%/Slim/Plugin/ClassicalRadio/strings.txt
%%SLIMDIR%%/Slim/Plugin/DateTime/HTML/EN/plugins/DateTime/settings/basic.html
%%SLIMDIR%%/Slim/Plugin/DateTime/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/DateTime/Settings.pm
Expand All @@ -2059,6 +2080,10 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/Deezer/ProtocolHandler.pm
%%SLIMDIR%%/Slim/Plugin/Deezer/install.xml
%%SLIMDIR%%/Slim/Plugin/Deezer/strings.txt
%%SLIMDIR%%/Slim/Plugin/DIfm/HTML/EN/plugins/DIfm/html/icon.png
%%SLIMDIR%%/Slim/Plugin/DIfm/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/DIfm/install.xml
%%SLIMDIR%%/Slim/Plugin/DIfm/strings.txt
%%SLIMDIR%%/Slim/Plugin/DigitalInput/HTML/EN/plugins/DigitalInput/html/images/icon.png
%%SLIMDIR%%/Slim/Plugin/DigitalInput/HTML/EN/plugins/DigitalInput/html/images/icon_40x40_m.png
%%SLIMDIR%%/Slim/Plugin/DigitalInput/HTML/EN/plugins/DigitalInput/list.html
Expand Down Expand Up @@ -2141,6 +2166,10 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/InternetRadio/TuneIn/Settings.pm
%%SLIMDIR%%/Slim/Plugin/InternetRadio/install.xml
%%SLIMDIR%%/Slim/Plugin/InternetRadio/strings.txt
%%SLIMDIR%%/Slim/Plugin/JazzRadio/HTML/EN/plugins/JazzRadio/html/icon.png
%%SLIMDIR%%/Slim/Plugin/JazzRadio/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/JazzRadio/install.xml
%%SLIMDIR%%/Slim/Plugin/JazzRadio/strings.txt
%%SLIMDIR%%/Slim/Plugin/JiveExtras/HTML/EN/plugins/JiveExtras/settings/basic.html
%%SLIMDIR%%/Slim/Plugin/JiveExtras/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/JiveExtras/Settings.pm
Expand Down Expand Up @@ -2250,6 +2279,14 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/PreventStandby/Win32.pm
%%SLIMDIR%%/Slim/Plugin/PreventStandby/install.xml
%%SLIMDIR%%/Slim/Plugin/PreventStandby/strings.txt
%%SLIMDIR%%/Slim/Plugin/RadioTunes/HTML/EN/plugins/RadioTunes/html/icon.png
%%SLIMDIR%%/Slim/Plugin/RadioTunes/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/RadioTunes/install.xml
%%SLIMDIR%%/Slim/Plugin/RadioTunes/strings.txt
%%SLIMDIR%%/Slim/Plugin/RockRadio/HTML/EN/plugins/RockRadio/html/icon.png
%%SLIMDIR%%/Slim/Plugin/RockRadio/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/RockRadio/install.xml
%%SLIMDIR%%/Slim/Plugin/RockRadio/strings.txt
%%SLIMDIR%%/Slim/Plugin/RS232/HTML/EN/plugins/RS232/settings/basic.html
%%SLIMDIR%%/Slim/Plugin/RS232/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/RS232/Settings.pm
Expand Down Expand Up @@ -2359,6 +2396,12 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/UPnP/t/MediaServer.t
%%SLIMDIR%%/Slim/Plugin/UPnP/t/UPnP.t
%%SLIMDIR%%/Slim/Plugin/UPnP/t/lib/GENA.pm
%%SLIMDIR%%/Slim/Plugin/ViewTags/Common.pm
%%SLIMDIR%%/Slim/Plugin/ViewTags/HTML/EN/plugins/ViewTags/settings.html
%%SLIMDIR%%/Slim/Plugin/ViewTags/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/ViewTags/Settings.pm
%%SLIMDIR%%/Slim/Plugin/ViewTags/install.xml
%%SLIMDIR%%/Slim/Plugin/ViewTags/strings.txt
%%SLIMDIR%%/Slim/Plugin/Visualizer/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/Visualizer/install.xml
%%SLIMDIR%%/Slim/Plugin/Visualizer/strings.txt
Expand All @@ -2370,6 +2413,10 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Plugin/WiMP/ProtocolHandler.pm
%%SLIMDIR%%/Slim/Plugin/WiMP/install.xml
%%SLIMDIR%%/Slim/Plugin/WiMP/strings.txt
%%SLIMDIR%%/Slim/Plugin/ZenRadio/HTML/EN/plugins/ZenRadio/html/icon.png
%%SLIMDIR%%/Slim/Plugin/ZenRadio/Plugin.pm
%%SLIMDIR%%/Slim/Plugin/ZenRadio/install.xml
%%SLIMDIR%%/Slim/Plugin/ZenRadio/strings.txt
%%SLIMDIR%%/Slim/Plugin/iTunes/Common.pm
%%SLIMDIR%%/Slim/Plugin/iTunes/HTML/EN/plugins/iTunes/settings/itunes.html
%%SLIMDIR%%/Slim/Plugin/iTunes/Importer.pm
Expand Down Expand Up @@ -2452,6 +2499,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/Slim/Utils/OS/Synology.pm
%%SLIMDIR%%/Slim/Utils/OS/Unix.pm
%%SLIMDIR%%/Slim/Utils/OS/Win32.pm
%%SLIMDIR%%/Slim/Utils/OS/Win64.pm
%%SLIMDIR%%/Slim/Utils/OSDetect.pm
%%SLIMDIR%%/Slim/Utils/PerfMon.pm
%%SLIMDIR%%/Slim/Utils/PerlRunTime.pm
Expand Down Expand Up @@ -2590,8 +2638,8 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
%%SLIMDIR%%/lib/Template/Provider.pm
%%SLIMDIR%%/lib/Tie/IxHash.pm
%%SLIMDIR%%/modules.conf
%%SLIMDIR%%/scanner.pl
%%SLIMDIR%%/slimserver.pl
@(,,755) %%SLIMDIR%%/scanner.pl
@(,,755) %%SLIMDIR%%/slimserver.pl
%%SLIMDIR%%/strings.txt
%%SLIMDIR%%/t/00_smoketest.sh
@sample %%SLIMDIR%%/types.conf.sample %%SLIMDIR%%/types.conf
Expand All @@ -2607,3 +2655,4 @@ etc/newsyslog.conf.d/logitechmediaserver.conf
@dir %%SLIMDIR%%/CPAN/arch/%%PERL_VER%%/%%ARCHNAME%%/auto/Tree/DAG_Node
@dir %%SLIMDIR%%/CPAN/arch/%%PERL_VER%%/%%ARCHNAME%%/auto/YAML/LibYAML
@dir %%SLIMDIR%%/CPAN/arch/%%PERL_VER%%/%%ARCHNAME%%/auto/common/sense
@dir(%%SLIMUSER%%,%%SLIMGROUP%%) %%SLIMDBDIR%%

0 comments on commit fa8a46b

Please sign in to comment.