Page MenuHomeFreeBSD

D18890.id.diff
No OneTemporary

D18890.id.diff

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,25 @@
+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
+CARGO_INSTALL_ARGS= --no-default-features --features pulseaudio_backend
+
+.include <bsd.port.mk>
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
Index: audio/spotifyd/pkg-descr
===================================================================
--- /dev/null
+++ audio/spotifyd/pkg-descr
@@ -0,0 +1,8 @@
+An open source Spotify client running as a UNIX daemon. Spotifyd streams
+music just like the official client, but is more lightweight and supports
+more platforms. Spotifyd also supports the Spotify Connect protocol which
+makes it show up as a device that can be controlled from the official clients.
+
+Spotifyd requires a Spotify Premium account.
+
+WWW: https://github.com/Spotifyd/spotifyd
Index: audio/spotifyd/pkg-message
===================================================================
--- /dev/null
+++ audio/spotifyd/pkg-message
@@ -0,0 +1,5 @@
+Spotifyd is a music-streaming component for listening to Spotify.
+
+Spotifyd requires a Spotify Premium account. It also requires a
+user interface, e.g. a Spotify connect client on your phone.
+
Index: audio/spotifyd/pkg-plist
===================================================================
--- /dev/null
+++ audio/spotifyd/pkg-plist
@@ -0,0 +1 @@
+bin/spotifyd

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 4:22 PM (7 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35357244
Default Alt Text
D18890.id.diff (3 KB)

Event Timeline