pkgsrc-WIP-changes archive

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

librespot: revert last commit



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Thu Oct 8 20:28:15 2020 +0200
Changeset:	df1caf15a2fadf25d22f1d7d80fecacd32f391e5

Modified Files:
	librespot/Makefile

Log Message:
librespot: revert last commit

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df1caf15a2fadf25d22f1d7d80fecacd32f391e5

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

diffstat:
 librespot/Makefile | 10 ----------
 1 file changed, 10 deletions(-)

diffs:
diff --git a/librespot/Makefile b/librespot/Makefile
index aad84b8bb4..d240fb3a34 100644
--- a/librespot/Makefile
+++ b/librespot/Makefile
@@ -287,23 +287,13 @@ CARGO_CRATE_DEPENDS+=	zerocopy-derive-0.1.4
 
 INSTALLATION_DIRS=	bin
 
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Linux"
-CARGO_ARGS+=    ${DEFAULT_CARGO_ARGS} --no-default-features --features alsa-backend
-.else
 CARGO_ARGS+=	${DEFAULT_CARGO_ARGS} --no-default-features --features portaudio-backend
-.endif
-
 RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.portaudio}/${BUILDLINK_LIBDIRS.portaudio}
 MAKE_ENV+=	RUSTFLAGS=${RUSTFLAGS:Q}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/target/release/librespot ${DESTDIR}${PREFIX}/bin
 
-.if ${OPSYS} == "Linux"
-.include "../../audio/alsa-lib/buildlink3.mk"
-.else
 .include "../../audio/portaudio/buildlink3.mk"
-.endif
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index