SHA256
1
0
forked from pool/libwebp

Accepting request 1223102 from graphics

- switch to cmake based build as other packages now require the
  cmake finders

OBS-URL: https://build.opensuse.org/request/show/1223102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwebp?expand=0&rev=41
This commit is contained in:
2024-11-11 12:43:33 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 5 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1731109732
commit: 5a0febbb3ca531d8c8d7963fa59038df0c79c05352183dacfb305f23e61b1230
url: https://src.opensuse.org/jengelh/libwebp
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5872a2635e3b3b8f9e67781098f08bdeb8cb39a6b3a67801ce39bfe13e2727a
size 256

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