From cf9b4b5a93a39a34493ba387e78eb9fe8ba49744 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Tue, 18 Aug 2020 17:19:46 +0100 Subject: [PATCH] autoreconf build files --- mjpegtools.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mjpegtools.spec b/mjpegtools.spec index 10bb16e..8a7edaf 100644 --- a/mjpegtools.spec +++ b/mjpegtools.spec @@ -13,8 +13,10 @@ Patch0: mjpegtools-2.1.0-sdl-cflags.patch Patch1: mjpegtools-2.1.0-no_format.patch Patch2: mjpegtools-2.1.0-pic.patch +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libjpeg-devel +BuildRequires: libtool BuildRequires: nasm BuildRequires: libdv-devel BuildRequires: SDL-devel >= 1.1.3 @@ -97,7 +99,7 @@ for building applications that use mjpegtools lavpipe libraries. %prep %autosetup -p1 - +autoreconf -iv sed -i -e 's/ARCHFLAGS=.*/ARCHFLAGS=/' configure* sed -i -e 's|/lib /usr/lib|/%{_lib} %{_libdir}|' configure # lib64 rpaths for f in docs/yuvfps.1 ; do