SHA256
1
0
forked from pool/libwebp

switch to cmake based build

This commit is contained in:
Marcus Rückert 2024-11-09 23:06:52 +00:00 committed by Jan Engelhardt
parent af3a354518
commit 5a0febbb3c
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Nov 9 20:45:59 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- switch to cmake based build as other packages now require the
cmake finders
-------------------------------------------------------------------
Tue May 21 14:21:04 UTC 2024 - Yann BOYER <yann.boyer742@gmail.com>

View File

@ -29,6 +29,7 @@ Source2: https://storage.googleapis.com/downloads.webmproject.org/release
Source3: %name.keyring
Source4: baselibs.conf
BuildRequires: cmake
BuildRequires: giflib-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glut)
@ -139,13 +140,11 @@ images more efficiently.
%autosetup -p1
%build
%configure --disable-static \
--enable-libwebpmux --enable-libwebpdemux \
--enable-libwebpdecoder --enable-libwebpextras
%make_build
%cmake
%cmake_build
%install
%make_install
%cmake_install
find "%buildroot" -type f -name "*.la" -delete -print
%post -n libwebp7 -p /sbin/ldconfig
@ -191,5 +190,6 @@ find "%buildroot" -type f -name "*.la" -delete -print
%_includedir/webp/
%_libdir/pkgconfig/libwebp*.pc
%_libdir/pkgconfig/libsharpyuv.pc
%_datadir/WebP/
%changelog