diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2022-12-21 00:03:27 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2022-12-21 00:03:27 +0000 |
commit | e5fd12d9aa3554339b1bc10884d3ead7fed166c4 (patch) | |
tree | d192d2c72f2460f3ae2974bf4099d9408d6ced07 | |
parent | 8dc6f0cbc242546f3f48fde54870ef9cc46d8e4a (diff) | |
download | ports-e5fd12d9aa3554339b1bc10884d3ead7fed166c4.tar.gz ports-e5fd12d9aa3554339b1bc10884d3ead7fed166c4.zip |
audio/logitechmediaserver: make usable out of the box
Install slimserv.pl and scanner.pl with the executable bit set. The
former is required for the rc script to work.
Use @sample to install convert.conf and types.conf in
${PREFIX}/share/logitechmediaserver. Without these the server is
unable to convert music to send to the players and find music files
respectively.
-rw-r--r-- | audio/logitechmediaserver/Makefile | 5 | ||||
-rw-r--r-- | audio/logitechmediaserver/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/audio/logitechmediaserver/Makefile b/audio/logitechmediaserver/Makefile index e1edc4e7a36e..65a321101fd1 100644 --- a/audio/logitechmediaserver/Makefile +++ b/audio/logitechmediaserver/Makefile @@ -1,6 +1,7 @@ PORTNAME= logitechmediaserver DISTVERSION= 8.2.0.g2021.11.13 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org @@ -74,7 +75,7 @@ SUB_LIST= PERL=${PERL} \ # 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 -OPTIONS_DEFAULT=APE FAAD FLAX SOX TEST +OPTIONS_DEFAULT=APE FAAD FLAC SOX TEST SOX_DESC= Support OGG Vorbis input via SoX (SliMP3 and SB1) APE_RUN_DEPENDS= mac:audio/mac FAAD_RUN_DEPENDS= faad:audio/faad @@ -116,6 +117,8 @@ 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 && \ diff --git a/audio/logitechmediaserver/pkg-plist b/audio/logitechmediaserver/pkg-plist index 4a6d02bb456d..3b1b31fb4ac5 100644 --- a/audio/logitechmediaserver/pkg-plist +++ b/audio/logitechmediaserver/pkg-plist @@ -2609,7 +2609,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf %%SLIMDIR%%/Slim/Web/XMLBrowser.pm %%SLIMDIR%%/Slim/bootstrap.pm %%SLIMDIR%%/cleanup.pl -%%SLIMDIR%%/convert.conf.sample +@sample %%SLIMDIR%%/convert.conf.sample %%SLIMDIR%%/convert.conf %%SLIMDIR%%/custom-convert.conf %%SLIMDIR%%/gdresize.pl %%SLIMDIR%%/gdresized.pl @@ -2645,7 +2645,7 @@ etc/newsyslog.conf.d/logitechmediaserver.conf %%SLIMDIR%%/slimserver.pl %%SLIMDIR%%/strings.txt %%SLIMDIR%%/t/00_smoketest.sh -%%SLIMDIR%%/types.conf.sample +@sample %%SLIMDIR%%/types.conf.sample %%SLIMDIR%%/types.conf @dir %%SLIMDIR%%/Bin @dir %%SLIMDIR%%/CPAN/arch/%%PERL_VER%%/%%ARCHNAME%%/auto/Audio/Cuefile/Parser @dir %%SLIMDIR%%/CPAN/arch/%%PERL_VER%%/%%ARCHNAME%%/auto/Data/Dump |