pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
spotifyd: fix options.mk
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Tue Jul 11 10:26:47 2023 +0200
Changeset: 9415b855483e22c73e30a90e841f625b2d496453
Modified Files:
spotifyd/options.mk
Log Message:
spotifyd: fix options.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9415b855483e22c73e30a90e841f625b2d496453
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
spotifyd/options.mk | 6 ++++++
1 file changed, 6 insertions(+)
diffs:
diff --git a/spotifyd/options.mk b/spotifyd/options.mk
index 64240d99b6..d69c1dbdf8 100644
--- a/spotifyd/options.mk
+++ b/spotifyd/options.mk
@@ -10,18 +10,24 @@ PKG_SUGGESTED_OPTIONS= portaudio
.if !empty(PKG_OPTIONS:Malsa)
CARGO_FEATURES+= alsa_backend
+RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.alsa-lib}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.alsa-lib}/lib
.include "../../audio/alsa-lib/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mportaudio)
CARGO_FEATURES+= portaudio_backend
+RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.portaudio}/lib
+RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.portaudio}/${BUILDLINK_LIBDIRS.portaudio}
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.portaudio}/lib
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.portaudio}/${BUILDLINK_LIBDIRS.portaudio}
.include "../../audio/portaudio/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
CARGO_FEATURES+= pulseaudio_backend
+RUSTFLAGS+= -C link-arg=-L${BUILDLINK_PREFIX.pulseaudio}/lib
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.pulseaudio}/lib
.include "../../audio/pulseaudio/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index