One question, just a question,  mjpegtools is need for what ? 

Thanks,

On Tue, 2019-09-10 at 17:57 +0200, Xavier Bachelot wrote:
> commit b90b72150039f53d8b5c9260408731e874cf6d24
> Author: Xavier Bachelot <xav...@bachelot.org>
> Date:   Tue Sep 10 17:30:03 2019 +0200
> 
>     Disable use of SDL_gfx on EL8
> 
>  mjpegtools.spec | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)
> ---
> diff --git a/mjpegtools.spec b/mjpegtools.spec
> index 229150e..cd9a432 100644
> --- a/mjpegtools.spec
> +++ b/mjpegtools.spec
> @@ -1,6 +1,10 @@
> +%if 0%{?el8}
> +%global _without_sdlgfx 1
> +%endif
> +
>  Name:           mjpegtools
>  Version:        2.1.0
> -Release:        16%{?dist}
> +Release:        17%{?dist}
>  Summary:        Tools to manipulate MPEG data
>  License:        GPLv2
>  URL:            http://mjpeg.sourceforge.net/
> @@ -9,13 +13,12 @@ Patch0:         mjpegtools-2.1.0-sdl-cflags.patch
>  Patch1:         mjpegtools-2.1.0-no_format.patch
>  Patch2:         mjpegtools-2.1.0-pic.patch
>  
> -BuildRequires:  gcc-c++, gcc
> -%{?el7:BuildRequires: epel-rpm-macros}
> +BuildRequires:  gcc-c++
>  BuildRequires:  libjpeg-devel
>  BuildRequires:  nasm
>  BuildRequires:  libdv-devel
>  BuildRequires:  SDL-devel >= 1.1.3
> -BuildRequires:  SDL_gfx-devel
> +%{!?_without_sdlgfx:BuildRequires:  SDL_gfx-devel}
>  BuildRequires:  libquicktime-devel >= 0.9.8
>  BuildRequires:  libpng-devel
>  BuildRequires:  gtk2-devel >= 2.4.0
> @@ -108,6 +111,7 @@ done
>  %ifarch ppc64
>   --enable-simd-accel=no \
>  %endif
> +%{?_without_sdlgfx:  --without-sdlgfx} \
>   --disable-static
>  %make_build
>  
> @@ -167,6 +171,10 @@ rm %buildroot%{_bindir}/mpegtranscode
>  
>  
>  %changelog
> +* Tue Sep 10 2019 Xavier Bachelot <xav...@bachelot.org> - 2.1.0-17
> +- Disable use of SDL_gfx on EL8.
> +- Minor spec cleanup.
> +
>  * Fri Aug 09 2019 RPM Fusion Release Engineering <
> leigh123li...@gmail.com> - 2.1.0-16
>  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
>  
-- 
Sérgio M. B.
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to