spotifyd: convert to using CARGO_ARGS

This commit is contained in:
Tobias Nygren 2020-08-14 22:59:35 +02:00
parent 02aacfaef4
commit 56b1711c71
1 changed files with 4 additions and 2 deletions

View File

@ -384,8 +384,10 @@ CHECK_WRKREF_SKIP+= bin/spotifyd
# 12. Can then re-add `--frozen --locked` below
#
# Although... also need to update the cargo crate depends list above and those patches...
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --no-default-features --features pulseaudio_backend --release --frozen --locked
CARGO_ARGS= ${DEFAULT_CARGO_ARGS} \
--no-default-features \
--features pulseaudio_backend
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/spotifyd ${DESTDIR}${PREFIX}/bin