pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/librespot



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Oct 20 19:06:59 UTC 2020

Modified Files:
        pkgsrc/audio/librespot: Makefile

Log Message:
librespot: convert to CARGO_FEATURES


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/librespot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/librespot/Makefile
diff -u pkgsrc/audio/librespot/Makefile:1.1 pkgsrc/audio/librespot/Makefile:1.2
--- pkgsrc/audio/librespot/Makefile:1.1 Sun Oct 11 13:19:42 2020
+++ pkgsrc/audio/librespot/Makefile     Tue Oct 20 19:06:59 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/10/11 13:19:42 pin Exp $
+# $NetBSD: Makefile,v 1.2 2020/10/20 19:06:59 tnn Exp $
 
 DISTNAME=      librespot-0.1.3
 CATEGORIES=    audio
@@ -287,10 +287,12 @@ CARGO_CRATE_DEPENDS+=     zerocopy-derive-0.
 
 INSTALLATION_DIRS=     bin
 
-CARGO_ARGS+=   ${DEFAULT_CARGO_ARGS} --no-default-features --features portaudio-backend
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.portaudio}/${BUILDLINK_LIBDIRS.portaudio}
 MAKE_ENV+=     RUSTFLAGS=${RUSTFLAGS:Q}
 
+CARGO_NO_DEFAULT_FEATURES=     yes
+CARGO_FEATURES=                        portaudio-backend
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/librespot ${DESTDIR}${PREFIX}/bin
 



Home | Main Index | Thread Index | Old Index