diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index 63d664c..d1013d1 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -8,6 +8,7 @@ Wed Jul 18 12:13:38 UTC 2018 - tchvatal@suse.com * %bcond_without lv2 * %bcond_without rubberband * %bcond_without soxr + * %bcond_without zmq ------------------------------------------------------------------- Fri Jul 6 10:54:14 UTC 2018 - tchvatal@suse.com diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 7f40e95..6280392 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -81,6 +81,7 @@ %bcond_without lv2 %bcond_without rubberband %bcond_without soxr +%bcond_without zmq %else # backports SLE12 %bcond_with codec2 @@ -88,6 +89,7 @@ %bcond_with lv2 %bcond_with rubberband %bcond_with soxr +%bcond_with zmq %endif %define _name ffmpeg @@ -157,7 +159,9 @@ BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libva) >= 0.35.0 BuildRequires: pkgconfig(libwebp) >= 0.4 BuildRequires: pkgconfig(libxml-2.0) +%if %{with zmq} BuildRequires: pkgconfig(libzmq) +%endif %if %{with lv2} BuildRequires: pkgconfig(lilv-0) %endif @@ -623,7 +627,9 @@ CFLAGS="%optflags" \ %if %{with zimg} --enable-libzimg \ %endif +%if %{with zmq} --enable-libzmq \ +%endif --enable-libzvbi \ %if %{with lv2} --enable-lv2 \