Index: audio/squeezelite/Makefile =================================================================== --- audio/squeezelite/Makefile (nonexistent) +++ audio/squeezelite/Makefile (working copy) @@ -0,0 +1,57 @@ +# Created by: jockl +# $FreeBSD$ + +PORTNAME= squeezelite +PORTVERSION= 1.9.7.1253 +CATEGORIES= audio + +MAINTAINER= jockl@pianojockl.org +COMMENT= Lightweight headless squeezebox player for Logitech Media Server + +LICENSE= GPLv3 + +LIB_DEPENDS= libfaad.so:audio/faad \ + libportaudio.so:audio/portaudio \ + libmpg123.so:audio/mpg123 \ + libasound.so:audio/alsa-lib \ + libFLAC.so:audio/flac \ + libmad.so:audio/libmad \ + libvorbis.so:audio/libvorbis \ + libogg.so:audio/libogg + +USES= gmake ssl +USE_GITHUB= yes +GH_ACCOUNT= ralph-irving +GH_PROJECT= squeezelite +GH_TAGNAME= 7b13fd9 + +OPTIONS_DEFINE= SSL FFMPEG RESAMPLE DSD SELFPIPE OPUS LINKALL +OPTIONS_DEFAULT=SSL RESAMPLE FFMPEG DSD LINKALL + +RESAMPLE_DESC= Resampling +SELFPIPE_DESC= Selfpipe +LINKALL_DESC= Link all libraries at build time +DSD_DESC= Direct Stream Digital +SSL_VARS= MENV+=" -DUSE_SSL -DNO_SSL_SYM" +RESAMPLE_VARS= MENV+=" -DRESAMPLE" +FFMPEG_VARS= MENV+=" -DFFMPEG" +DSD_VARS= MENV+=" -DDSD" +VISEXPORT_VARS= MENV+=" -DVISEXPORT" +LINKALL_VARS= MENV+=" -DLINKALL" +SELFPIPE_VARS= MENV+=" -DSELFPIPE" +OPUS_VARS= MENV+=" -DOPUS" + +MAKE_ENV= OPTS="-DGPIO ${MENV}" + +OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ + libopus.so:audio/opus +FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg +RESAMPLE_LIB_DEPENDS= libsoxr.so:audio/libsoxr + +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +.include Property changes on: audio/squeezelite/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: audio/squeezelite/distinfo =================================================================== --- audio/squeezelite/distinfo (nonexistent) +++ audio/squeezelite/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1591519528 +SHA256 (ralph-irving-squeezelite-1.9.7.1253-7b13fd9_GH0.tar.gz) = c79c5194d3ac39c4c11b0489c12a4158c6aff86eef4b5042494ad34393ebae0c +SIZE (ralph-irving-squeezelite-1.9.7.1253-7b13fd9_GH0.tar.gz) = 166420 Property changes on: audio/squeezelite/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: audio/squeezelite/files/patch-Makefile =================================================================== --- audio/squeezelite/files/patch-Makefile (nonexistent) +++ audio/squeezelite/files/patch-Makefile (working copy) @@ -0,0 +1,10 @@ +--- Makefile.orig 2020-05-28 18:47:03 UTC ++++ Makefile +@@ -1,3 +1,7 @@ ++# FreeBSD's portaudio lives in usr/local ++CPPFLAGS = -I/usr/local/include -I/usr/local/include/portaudio2 -I/usr/local/include/opus ++LDFLAGS = -L/usr/local/lib /usr/local/lib/libportaudio.a -lm ++ + #Cross compile support - create a Makefile which defines these three variables and then includes this Makefile... + CFLAGS ?= -Wall -fPIC -O2 + CFLAGS += -fcommon Property changes on: audio/squeezelite/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: audio/squeezelite/pkg-descr =================================================================== --- audio/squeezelite/pkg-descr (nonexistent) +++ audio/squeezelite/pkg-descr (working copy) @@ -0,0 +1,3 @@ +Lightweight headless squeezebox player for Logitech Media Server + +WWW: https://github.com/ralph-irving/squeezelite Property changes on: audio/squeezelite/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property