Index: Mk/Uses/cargo.mk =================================================================== --- Mk/Uses/cargo.mk +++ Mk/Uses/cargo.mk @@ -46,7 +46,7 @@ CARGO_BUILDDEP?= yes .if ${CARGO_BUILDDEP:tl} == "yes" -BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.32.0:lang/${RUST_DEFAULT} +BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.31.0:lang/${RUST_DEFAULT} .endif # Location of cargo binary (default to lang/rust's Cargo binary) Index: audio/Makefile =================================================================== --- audio/Makefile +++ audio/Makefile @@ -790,6 +790,7 @@ SUBDIR += spiralsynthmodular SUBDIR += splay SUBDIR += splaytk + SUBDIR += spotifyd SUBDIR += squash SUBDIR += sratom SUBDIR += stk Index: audio/spotifyd/Makefile =================================================================== --- /dev/null +++ audio/spotifyd/Makefile @@ -0,0 +1,24 @@ +PORTNAME= spotifyd +DISTVERSION= 0.2.3-12 +DISTVERSIONPREFIX= v +DISTVERSIONSUFFIX= -g47cc0bc +CATEGORIES= audio + +# - No maintainer (not allowed for new ports), but not something I +# personally want to add to my stable. +# - Only pulseaudio backend; the ALSA backend is switched off +# - Needs to be a bit past 0.2.3 release to actually support PA and no-ALSA +MAINTAINER= ports@FreeBSD.org +COMMENT= Spotify player (without a UI) + +LIB_DEPENDS= libpulse.so:audio/pulseaudio + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= Spotifyd + +CARGO_CONFIGURE= no +CARGO_BUILD_ARGS= --no-default-features --features pulseaudio_backend + +.include Index: audio/spotifyd/distinfo =================================================================== --- /dev/null +++ audio/spotifyd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1547843574 +SHA256 (Spotifyd-spotifyd-v0.2.3-12-g47cc0bc_GH0.tar.gz) = 7d3bebfbe16b5770f8496c4adf82384dccdd47a626994c114ad88a526b427b3a +SIZE (Spotifyd-spotifyd-v0.2.3-12-g47cc0bc_GH0.tar.gz) = 45373