aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2006-05-05 13:45:13 +0800
committerbrooks <brooks@FreeBSD.org>2006-05-05 13:45:13 +0800
commit4c3f625f6e89f9d48f8637f5997f7b7c6d790cab (patch)
tree3f05fd35d88118457bd5cc76b943a981e7811263 /audio
parent74d45b3e8c35d01d242765481c98fe3dacf24bde (diff)
downloadfreebsd-ports-gnome-4c3f625f6e89f9d48f8637f5997f7b7c6d790cab.tar.gz
freebsd-ports-gnome-4c3f625f6e89f9d48f8637f5997f7b7c6d790cab.tar.zst
freebsd-ports-gnome-4c3f625f6e89f9d48f8637f5997f7b7c6d790cab.zip
- Upgrade to slimserver 6.2.2, mostly bugfixes.
- Switch to trying to use faad instead of mov123 (non-existant on UNIX-like platforms) for AAC files [1] - Switch to using ogg123 directly for OGG vorbis files since sox doesn't pull in vorbis support by default. - Add OPTIONS support for various useful audio utils and default to depending on the less restrictive ones. PR: ports/91092 [1] Submitted by: lth [1]
Diffstat (limited to 'audio')
-rw-r--r--audio/slimserver/Makefile58
-rw-r--r--audio/slimserver/distinfo6
-rw-r--r--audio/squeezeboxserver/Makefile58
-rw-r--r--audio/squeezeboxserver/distinfo6
-rw-r--r--audio/squeezecenter/Makefile58
-rw-r--r--audio/squeezecenter/distinfo6
6 files changed, 153 insertions, 39 deletions
diff --git a/audio/slimserver/Makefile b/audio/slimserver/Makefile
index 5df5ad2bba84..de6e24df2861 100644
--- a/audio/slimserver/Makefile
+++ b/audio/slimserver/Makefile
@@ -6,19 +6,29 @@
#
PORTNAME= slimserver
-DISTVERSION?= 6.2.1
-PORTREVISION= 1
+PORTVERSION= 6.2.2
CATEGORIES= audio
-MASTER_SITES= http://www.slimdevices.com/downloads/${NIGHTLY}SlimServer_v${DISTVERSION}/
-DISTNAME= SlimServer_v${DISTVERSION}
-DISTFILES= ${DISTNAME}.no-cpan-arch${EXTRACT_SUFX}
+MASTER_SITES= http://www.slimdevices.com/downloads/SlimServer_v${PORTVERSION}/
+DISTNAME= SlimServer_v${PORTVERSION}.no-cpan-arch
DIST_SUBDIR= slimserver
MAINTAINER= brooks@FreeBSD.org
COMMENT= Slim Devices audio streaming server
+# Defaults support playback of relativly unrestricted formats on SB2 or
+# SB3 devices and wired SB1 devices.
+OPTIONS= APE "Support Monkey's Audio Codec input" on \
+ FAAD "Support AAC input via FAAD" on \
+ FLAC "Support FLAC output (and inputs on older devices)" on \
+ LAME "Support MP3 output via LAME" off \
+ MUSEPACK "Support musepack input" on \
+ SHORTEN "Support Shorten input" off \
+ VORBIS "Support OGG Vorbis input" on
+
RESTRICTED= Contains non-redistributable firmware, documentation, and images
+WRKSRC= ${WRKDIR}/SlimServer_v${PORTVERSION}
+
LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder
@@ -26,8 +36,6 @@ PKGINSTALL= ${WRKDIR}/pkg-install
USE_PERL5= yes
-.include <bsd.port.pre.mk>
-
SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
DBI-1.46.tar.gz \
DBD-SQLite-1.08.tar.gz \
@@ -38,12 +46,36 @@ SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
ALLFILES= ${DISTFILES} ${SLIMCPANPKGS}
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_APE)
+RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
+.endif
+.if !defined(WITHOUT_FAAD)
+RUN_DEPENDS+= faad:${PORTSDIR}/audio/faad
+.endif
+.if !defined(WITHOUT_FLAC)
+RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
+.endif
+.if !defined(WITHOUT_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+.endif
+.if !defined(WITHOUT_MUSEPACK)
+RUN_DEPENDS+= mppdec:${PORTSDIR}/audio/musepack
+.endif
+.if !defined(WITHOUT_SHORTEN)
+RUN_DEPENDS+= shorten:${PORTSDIR}/audio/shorten
+.endif
+.if !defined(WITHOUT_VORBIS)
+RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
+.endif
+
.if ${PERL_LEVEL} < 500800
-IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again.
+IGNORE= perl 5.8 or newer required. Install lang/perl5.8 and try again
.endif
.if ${OSVERSION} < 502110
-RUN_DEPENDS+= ${LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
+RUN_DEPENDS+= {LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
PGREPBASE= ${LOCALBASE}
.else
PGREPBASE= /usr
@@ -107,6 +139,9 @@ do-build:
.endif
${MKDIR} ${CPANWRKDIR}
${WRKSRC}/Bin/build-perl-modules.pl
+
+post-build:
+ @${RM} -f ${PLIST}
.for _CONF in ${CONFFILES}
@${ECHO} '@unexec if cmp -s %D/%%SLIMDIR%%/${_CONF} %D/%%SLIMDIR%%/${_CONF}.sample; then rm -f %D/%%SLIMDIR%%/${_CONF}; fi' >> ${PLIST}
.endfor
@@ -127,7 +162,10 @@ do-build:
${SED} -e 's|${TMP_DOCSDIR}|@dirrm %%DOCSDIR%%|' | \
${SORT} -r >> ${PLIST}
.endif
- @${ECHO} '@unexec rmdir /var/db/slimserver 2>/dev/null || (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
+ @${ECHO} '@unexec rm -rf /var/db/slimserver/cache 2>&1 >/dev/null || true' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver/playlists' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver' >> ${PLIST}
+ @${ECHO} '@unexec test -d /var/db/slimserver && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/audio/slimserver/distinfo b/audio/slimserver/distinfo
index cc7b74a606ef..96894db076f6 100644
--- a/audio/slimserver/distinfo
+++ b/audio/slimserver/distinfo
@@ -1,6 +1,6 @@
-MD5 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 6f7195532b1934fb6090e99de501dd9d
-SHA256 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 15fc2583bc5d65ddc3d53da65c3e3e3a193960d656e223e23bac5ad773b18d99
-SIZE (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 7142334
+MD5 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 001bbb6d0a804653e9ce284ac77d40f9
+SHA256 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 4d749e4717734d605a5a5d3dba98efedc92b1c629ce0b3b8b0c9d23840ec176c
+SIZE (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 11103542
MD5 (slimserver/Compress-Zlib-1.33.tar.gz) = 724552bde7f380e8c8a9da00a9bbc3d2
SHA256 (slimserver/Compress-Zlib-1.33.tar.gz) = 3def6cb52c566e8668dead15ab21193d2f38d923512ea4fc12a9f47136b0a456
SIZE (slimserver/Compress-Zlib-1.33.tar.gz) = 113859
diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile
index 5df5ad2bba84..de6e24df2861 100644
--- a/audio/squeezeboxserver/Makefile
+++ b/audio/squeezeboxserver/Makefile
@@ -6,19 +6,29 @@
#
PORTNAME= slimserver
-DISTVERSION?= 6.2.1
-PORTREVISION= 1
+PORTVERSION= 6.2.2
CATEGORIES= audio
-MASTER_SITES= http://www.slimdevices.com/downloads/${NIGHTLY}SlimServer_v${DISTVERSION}/
-DISTNAME= SlimServer_v${DISTVERSION}
-DISTFILES= ${DISTNAME}.no-cpan-arch${EXTRACT_SUFX}
+MASTER_SITES= http://www.slimdevices.com/downloads/SlimServer_v${PORTVERSION}/
+DISTNAME= SlimServer_v${PORTVERSION}.no-cpan-arch
DIST_SUBDIR= slimserver
MAINTAINER= brooks@FreeBSD.org
COMMENT= Slim Devices audio streaming server
+# Defaults support playback of relativly unrestricted formats on SB2 or
+# SB3 devices and wired SB1 devices.
+OPTIONS= APE "Support Monkey's Audio Codec input" on \
+ FAAD "Support AAC input via FAAD" on \
+ FLAC "Support FLAC output (and inputs on older devices)" on \
+ LAME "Support MP3 output via LAME" off \
+ MUSEPACK "Support musepack input" on \
+ SHORTEN "Support Shorten input" off \
+ VORBIS "Support OGG Vorbis input" on
+
RESTRICTED= Contains non-redistributable firmware, documentation, and images
+WRKSRC= ${WRKDIR}/SlimServer_v${PORTVERSION}
+
LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder
@@ -26,8 +36,6 @@ PKGINSTALL= ${WRKDIR}/pkg-install
USE_PERL5= yes
-.include <bsd.port.pre.mk>
-
SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
DBI-1.46.tar.gz \
DBD-SQLite-1.08.tar.gz \
@@ -38,12 +46,36 @@ SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
ALLFILES= ${DISTFILES} ${SLIMCPANPKGS}
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_APE)
+RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
+.endif
+.if !defined(WITHOUT_FAAD)
+RUN_DEPENDS+= faad:${PORTSDIR}/audio/faad
+.endif
+.if !defined(WITHOUT_FLAC)
+RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
+.endif
+.if !defined(WITHOUT_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+.endif
+.if !defined(WITHOUT_MUSEPACK)
+RUN_DEPENDS+= mppdec:${PORTSDIR}/audio/musepack
+.endif
+.if !defined(WITHOUT_SHORTEN)
+RUN_DEPENDS+= shorten:${PORTSDIR}/audio/shorten
+.endif
+.if !defined(WITHOUT_VORBIS)
+RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
+.endif
+
.if ${PERL_LEVEL} < 500800
-IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again.
+IGNORE= perl 5.8 or newer required. Install lang/perl5.8 and try again
.endif
.if ${OSVERSION} < 502110
-RUN_DEPENDS+= ${LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
+RUN_DEPENDS+= {LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
PGREPBASE= ${LOCALBASE}
.else
PGREPBASE= /usr
@@ -107,6 +139,9 @@ do-build:
.endif
${MKDIR} ${CPANWRKDIR}
${WRKSRC}/Bin/build-perl-modules.pl
+
+post-build:
+ @${RM} -f ${PLIST}
.for _CONF in ${CONFFILES}
@${ECHO} '@unexec if cmp -s %D/%%SLIMDIR%%/${_CONF} %D/%%SLIMDIR%%/${_CONF}.sample; then rm -f %D/%%SLIMDIR%%/${_CONF}; fi' >> ${PLIST}
.endfor
@@ -127,7 +162,10 @@ do-build:
${SED} -e 's|${TMP_DOCSDIR}|@dirrm %%DOCSDIR%%|' | \
${SORT} -r >> ${PLIST}
.endif
- @${ECHO} '@unexec rmdir /var/db/slimserver 2>/dev/null || (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
+ @${ECHO} '@unexec rm -rf /var/db/slimserver/cache 2>&1 >/dev/null || true' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver/playlists' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver' >> ${PLIST}
+ @${ECHO} '@unexec test -d /var/db/slimserver && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/audio/squeezeboxserver/distinfo b/audio/squeezeboxserver/distinfo
index cc7b74a606ef..96894db076f6 100644
--- a/audio/squeezeboxserver/distinfo
+++ b/audio/squeezeboxserver/distinfo
@@ -1,6 +1,6 @@
-MD5 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 6f7195532b1934fb6090e99de501dd9d
-SHA256 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 15fc2583bc5d65ddc3d53da65c3e3e3a193960d656e223e23bac5ad773b18d99
-SIZE (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 7142334
+MD5 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 001bbb6d0a804653e9ce284ac77d40f9
+SHA256 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 4d749e4717734d605a5a5d3dba98efedc92b1c629ce0b3b8b0c9d23840ec176c
+SIZE (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 11103542
MD5 (slimserver/Compress-Zlib-1.33.tar.gz) = 724552bde7f380e8c8a9da00a9bbc3d2
SHA256 (slimserver/Compress-Zlib-1.33.tar.gz) = 3def6cb52c566e8668dead15ab21193d2f38d923512ea4fc12a9f47136b0a456
SIZE (slimserver/Compress-Zlib-1.33.tar.gz) = 113859
diff --git a/audio/squeezecenter/Makefile b/audio/squeezecenter/Makefile
index 5df5ad2bba84..de6e24df2861 100644
--- a/audio/squeezecenter/Makefile
+++ b/audio/squeezecenter/Makefile
@@ -6,19 +6,29 @@
#
PORTNAME= slimserver
-DISTVERSION?= 6.2.1
-PORTREVISION= 1
+PORTVERSION= 6.2.2
CATEGORIES= audio
-MASTER_SITES= http://www.slimdevices.com/downloads/${NIGHTLY}SlimServer_v${DISTVERSION}/
-DISTNAME= SlimServer_v${DISTVERSION}
-DISTFILES= ${DISTNAME}.no-cpan-arch${EXTRACT_SUFX}
+MASTER_SITES= http://www.slimdevices.com/downloads/SlimServer_v${PORTVERSION}/
+DISTNAME= SlimServer_v${PORTVERSION}.no-cpan-arch
DIST_SUBDIR= slimserver
MAINTAINER= brooks@FreeBSD.org
COMMENT= Slim Devices audio streaming server
+# Defaults support playback of relativly unrestricted formats on SB2 or
+# SB3 devices and wired SB1 devices.
+OPTIONS= APE "Support Monkey's Audio Codec input" on \
+ FAAD "Support AAC input via FAAD" on \
+ FLAC "Support FLAC output (and inputs on older devices)" on \
+ LAME "Support MP3 output via LAME" off \
+ MUSEPACK "Support musepack input" on \
+ SHORTEN "Support Shorten input" off \
+ VORBIS "Support OGG Vorbis input" on
+
RESTRICTED= Contains non-redistributable firmware, documentation, and images
+WRKSRC= ${WRKDIR}/SlimServer_v${PORTVERSION}
+
LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
RUN_DEPENDS+= ${LOCALBASE}/bin/mDNSResponderPosix:${PORTSDIR}/net/mDNSResponder
@@ -26,8 +36,6 @@ PKGINSTALL= ${WRKDIR}/pkg-install
USE_PERL5= yes
-.include <bsd.port.pre.mk>
-
SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
DBI-1.46.tar.gz \
DBD-SQLite-1.08.tar.gz \
@@ -38,12 +46,36 @@ SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \
ALLFILES= ${DISTFILES} ${SLIMCPANPKGS}
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_APE)
+RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
+.endif
+.if !defined(WITHOUT_FAAD)
+RUN_DEPENDS+= faad:${PORTSDIR}/audio/faad
+.endif
+.if !defined(WITHOUT_FLAC)
+RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
+.endif
+.if !defined(WITHOUT_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+.endif
+.if !defined(WITHOUT_MUSEPACK)
+RUN_DEPENDS+= mppdec:${PORTSDIR}/audio/musepack
+.endif
+.if !defined(WITHOUT_SHORTEN)
+RUN_DEPENDS+= shorten:${PORTSDIR}/audio/shorten
+.endif
+.if !defined(WITHOUT_VORBIS)
+RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
+.endif
+
.if ${PERL_LEVEL} < 500800
-IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again.
+IGNORE= perl 5.8 or newer required. Install lang/perl5.8 and try again
.endif
.if ${OSVERSION} < 502110
-RUN_DEPENDS+= ${LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
+RUN_DEPENDS+= {LOCALBASE}/bin/pgrep:${PORTSDIR}/sysutils/pkill
PGREPBASE= ${LOCALBASE}
.else
PGREPBASE= /usr
@@ -107,6 +139,9 @@ do-build:
.endif
${MKDIR} ${CPANWRKDIR}
${WRKSRC}/Bin/build-perl-modules.pl
+
+post-build:
+ @${RM} -f ${PLIST}
.for _CONF in ${CONFFILES}
@${ECHO} '@unexec if cmp -s %D/%%SLIMDIR%%/${_CONF} %D/%%SLIMDIR%%/${_CONF}.sample; then rm -f %D/%%SLIMDIR%%/${_CONF}; fi' >> ${PLIST}
.endfor
@@ -127,7 +162,10 @@ do-build:
${SED} -e 's|${TMP_DOCSDIR}|@dirrm %%DOCSDIR%%|' | \
${SORT} -r >> ${PLIST}
.endif
- @${ECHO} '@unexec rmdir /var/db/slimserver 2>/dev/null || (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
+ @${ECHO} '@unexec rm -rf /var/db/slimserver/cache 2>&1 >/dev/null || true' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver/playlists' >> ${PLIST}
+ @${ECHO} '@dirrmtry /var/db/slimserver' >> ${PLIST}
+ @${ECHO} '@unexec test -d /var/db/slimserver && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove /var/db/slimserver and its contents manually.")' >> ${PLIST}
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/audio/squeezecenter/distinfo b/audio/squeezecenter/distinfo
index cc7b74a606ef..96894db076f6 100644
--- a/audio/squeezecenter/distinfo
+++ b/audio/squeezecenter/distinfo
@@ -1,6 +1,6 @@
-MD5 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 6f7195532b1934fb6090e99de501dd9d
-SHA256 (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 15fc2583bc5d65ddc3d53da65c3e3e3a193960d656e223e23bac5ad773b18d99
-SIZE (slimserver/SlimServer_v6.2.1.no-cpan-arch.tar.gz) = 7142334
+MD5 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 001bbb6d0a804653e9ce284ac77d40f9
+SHA256 (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 4d749e4717734d605a5a5d3dba98efedc92b1c629ce0b3b8b0c9d23840ec176c
+SIZE (slimserver/SlimServer_v6.2.2.no-cpan-arch.tar.gz) = 11103542
MD5 (slimserver/Compress-Zlib-1.33.tar.gz) = 724552bde7f380e8c8a9da00a9bbc3d2
SHA256 (slimserver/Compress-Zlib-1.33.tar.gz) = 3def6cb52c566e8668dead15ab21193d2f38d923512ea4fc12a9f47136b0a456
SIZE (slimserver/Compress-Zlib-1.33.tar.gz) = 113859