multimedia/ffmpeg: unbreak ALSA=off after r468844
https://ffmpeg.org/pipermail/ffmpeg-devel/2018-September/234516.html PR: 232498
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= ffmpeg
|
||||
PORTVERSION= 4.0.2
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= multimedia audio ipv6 net
|
||||
MASTER_SITES= https://ffmpeg.org/releases/
|
||||
|
||||
@@ -14,3 +14,15 @@
|
||||
cpu="generic"
|
||||
intrinsics="none"
|
||||
|
||||
@@ -6234,8 +6229,10 @@ else
|
||||
EOF
|
||||
fi
|
||||
|
||||
-enabled alsa && check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
|
||||
+if enabled alsa; then
|
||||
+ check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp ||
|
||||
check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound
|
||||
+fi
|
||||
|
||||
enabled libjack &&
|
||||
require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range
|
||||
|
||||
Reference in New Issue
Block a user