pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/spotify-player Add lyrics option/feature to spot...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f7e6cceebaa
branches: trunk
changeset: 380459:4f7e6cceebaa
user: pin <pin%pkgsrc.org@localhost>
date: Tue Jun 07 10:23:54 2022 +0000
description:
Add lyrics option/feature to spotify-player
diffstat:
audio/spotify-player/Makefile | 3 ++-
audio/spotify-player/options.mk | 9 +++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 87c438e948d9 -r 4f7e6cceebaa audio/spotify-player/Makefile
--- a/audio/spotify-player/Makefile Tue Jun 07 10:18:27 2022 +0000
+++ b/audio/spotify-player/Makefile Tue Jun 07 10:23:54 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/06/02 19:56:32 pin Exp $
+# $NetBSD: Makefile,v 1.12 2022/06/07 10:23:54 pin Exp $
DISTNAME= spotify-player-0.8.0
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=aome510/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r 87c438e948d9 -r 4f7e6cceebaa audio/spotify-player/options.mk
--- a/audio/spotify-player/options.mk Tue Jun 07 10:18:27 2022 +0000
+++ b/audio/spotify-player/options.mk Tue Jun 07 10:23:54 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2022/04/03 10:04:09 pin Exp $
+# $NetBSD: options.mk,v 1.4 2022/06/07 10:23:54 pin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spotify-player
-PKG_SUPPORTED_OPTIONS= alsa gstreamer jack portaudio pulseaudio rodio sdl
+PKG_SUPPORTED_OPTIONS= alsa gstreamer jack portaudio pulseaudio rodio sdl spotify-player-lyric-finder
PKG_SUGGESTED_OPTIONS= portaudio
.include "../../mk/bsd.options.mk"
@@ -56,3 +56,8 @@
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.SDL2}/lib
.include "../../devel/SDL2/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mspotify-player-lyric-finder)
+CARGO_FEATURES+= lyric-finder
+LICENSE+= AND genius.com-license
+.endif
Home |
Main Index |
Thread Index |
Old Index