mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
Switch to audio/musepack from deprecated audio/libmpcdec
PR: ports/150510 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.org>
This commit is contained in:
parent
62d273b3b2
commit
b78c66e36f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261563
@ -242,7 +242,7 @@ PLIST_SUB+= MPG123="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MUSEPACK)
|
||||
LIB_DEPENDS+= mpcdec.5:${PORTSDIR}/audio/libmpcdec
|
||||
LIB_DEPENDS+= mpcdec.7:${PORTSDIR}/audio/musepack
|
||||
PLIST_SUB+= MUSEPACK=""
|
||||
.else
|
||||
EXCLUDE+= --without-plugins="musepack"
|
||||
|
11
audio/xmms2/files/patch-patch-src-plugins-musepack-wscript
Normal file
11
audio/xmms2/files/patch-patch-src-plugins-musepack-wscript
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/plugins/musepack/wscript.orig 2010-09-10 22:55:03.412930402 +0200
|
||||
+++ src/plugins/musepack/wscript 2010-09-10 23:02:05.738208553 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
if not conf.check_cc(header_name="mpcdec/mpcdec.h", defines="HAVE_MPCDEC_OLD", uselib_store="mpcdec"):
|
||||
return False
|
||||
|
||||
- if not conf.check_cc(lib="mpcdec", uselib_store="mpcdec"):
|
||||
+ if not conf.check_cc(lib="mpcdec", uselib="math", uselib_store="mpcdec"):
|
||||
return False
|
||||
|
||||
return True
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= k3b
|
||||
PORTVERSION= 2.0.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= sysutils multimedia kde
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
@ -38,7 +38,7 @@ OPTIONS= CDRDAO "Burning: Use cdrdao" ON \
|
||||
FFMPEG "Decoder: various (multimedia/ffmpeg)" OFF \
|
||||
FLAC "Decoder: flac (audio/flac)" ON \
|
||||
MAD "Decoder: mp3 (audio/libmad)" ON \
|
||||
MPC "Decoder: musepack (audio/libmpcdec)" OFF \
|
||||
MUSEPACK "Decoder: musepack (audio/musepack)" OFF \
|
||||
SNDFILE "Decoder: various (audio/libsndfile)" ON \
|
||||
VORBIS_DEC "Decoder: ogg/vorbis" ON \
|
||||
LAME "Encoder: mp3 (audio/lame)" OFF \
|
||||
@ -92,13 +92,13 @@ CMAKE_ARGS+= -DK3B_BUILD_MAD_DECODER_PLUGIN:BOOL=OFF
|
||||
PLIST_SUB+= MAD="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MPC)
|
||||
.if defined(WITH_MUSEPACK)
|
||||
CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
|
||||
LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/libmpcdec
|
||||
PLIST_SUB+= MPC=""
|
||||
LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/musepack
|
||||
PLIST_SUB+= MUSEPACK=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DK3B_BUILD_MUSE_DECODER_PLUGIN:BOOL=OFF
|
||||
PLIST_SUB+= MPC="@comment "
|
||||
PLIST_SUB+= MUSEPACK="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SNDFILE)
|
||||
|
@ -124,7 +124,7 @@ lib/kde4/k3bexternalencoder.so
|
||||
%%LAME%%lib/kde4/k3blameencoder.so
|
||||
%%SNDFILE%%lib/kde4/k3blibsndfiledecoder.so
|
||||
%%MAD%%lib/kde4/k3bmaddecoder.so
|
||||
%%MPC%%lib/kde4/k3bmpcdecoder.so
|
||||
%%MUSEPACK%%lib/kde4/k3bmpcdecoder.so
|
||||
%%VORBIS_DEC%%lib/kde4/k3boggvorbisdecoder.so
|
||||
%%VORBIS_ENC%%lib/kde4/k3boggvorbisencoder.so
|
||||
%%SOX%%lib/kde4/k3bsoxencoder.so
|
||||
@ -319,7 +319,7 @@ share/kde4/services/k3bexternalencoder.desktop
|
||||
%%LAME%%share/kde4/services/k3blameencoder.desktop
|
||||
%%SNDFILE%%share/kde4/services/k3blibsndfiledecoder.desktop
|
||||
%%MAD%%share/kde4/services/k3bmaddecoder.desktop
|
||||
%%MPC%%share/kde4/services/k3bmpcdecoder.desktop
|
||||
%%MUSEPACK%%share/kde4/services/k3bmpcdecoder.desktop
|
||||
%%VORBIS_DEC%%share/kde4/services/k3boggvorbisdecoder.desktop
|
||||
%%VORBIS_ENC%%share/kde4/services/k3boggvorbisencoder.desktop
|
||||
%%SOX%%share/kde4/services/k3bsoxencoder.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user