commit 487b0b967d8fe155df524d1ee86dfd88e6baad129364b924944668b2850f8b63 Author: Jan Engelhardt Date: Sat Feb 1 20:02:41 2025 +0100 SDL_image 3.2.0 diff --git a/SDL3_image-3.2.0.tar.gz b/SDL3_image-3.2.0.tar.gz new file mode 100644 index 0000000..9fdcec7 Binary files /dev/null and b/SDL3_image-3.2.0.tar.gz differ diff --git a/SDL3_image-3.2.0.tar.gz.sig b/SDL3_image-3.2.0.tar.gz.sig new file mode 100644 index 0000000..95ffc82 Binary files /dev/null and b/SDL3_image-3.2.0.tar.gz.sig differ diff --git a/SDL3_image.changes b/SDL3_image.changes new file mode 100644 index 0000000..187847e --- /dev/null +++ b/SDL3_image.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 1 18:52:06 UTC 2025 - Jan Engelhardt + +- Initial package (version 3.2.0) for build.opensuse.org + * This is the SDL image loading library as before, but updated + for SDL 3.0. The API is largely the same, with IMG_Init() and + IMG_Quit() no longer necessary and *_RW() functions renamed + *_IO(). + diff --git a/SDL3_image.keyring b/SDL3_image.keyring new file mode 100644 index 0000000..3e900ef --- /dev/null +++ b/SDL3_image.keyring @@ -0,0 +1,25 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.0.4 (GNU/Linux) +Comment: For info see http://www.gnupg.org + +mQGiBDpWOb0RBADQwd3d9mzt6KzqlsgXf9mikBuMbpKzYs1SBKYpdzUs9sRY0CnH +vCQTrL5sI57yKLnqEl6SbIiE75ZwrSWwvUDFFTh35Jew5nPZwv64en2kw2y4qrnJ +kBZCHDSU4KgfUZtoJ25Tmeru5MLNbXxCOoMszO5L5OchwMrGMtmFLRA/bwCgy5Th +d1/vJo+bej9tbgv++SJ05o0D/3MPK7EBoxWkQ0I+ScqOsvSMRQXWc/hXy4lyIp8e +xJByBApkv0LiiT3KlPpq/K2gTlDlCZ/JTt6Rv8Ug0g47R3a0aoz9kfc15UjHdiap +UOfF9MWmmbw59Lyx6+y2e0/C5xWzNOR1G4G5y4RZL/GXrp67xz/0fEhI85R+eASq +AEfSBAC5ZxwnBwyl+h+PXeJYKrPQjSUlgtSAkKp7PNBywwlue1LcSb7j4cc+cmgH +QMVuM883LPE59btNzFTAZjlzzIMiaXf5h9EkDARTGQ1wFiO3V5vIbVLh4kAoNfpT +egy7bYn3UrlbKg3V2DbCdEXm1zQufZzK7T0yenA5Ps8xXX7mNrQhU2FtIExhbnRp +bmdhIDxzbG91a2VuQGxpYnNkbC5vcmc+iFcEExECABcFAjpWOb0FCwcKAwQDFQMC +AxYCAQIXgAAKCRAwpZN3p3Y75t9RAJ48WI+nOPes0WK7t381Ij4JfSYxWQCgjpMa +Dg3/ah23HZhYtTKtHUzD9zi5AQ0EOlY5wxAEAPvjB0B5RNAj8hBF/Lq78w5rJ1/f +5RqWXmdfxApuEE/9OEFXUSUXms9f/IWvySdyf48Pk4t2h8b8i7F0f3R+tcCp6m0P +t1BSNHYumfmtonTy5FHqpwBVlEi7I0s5mD3kxO+k8PQbATHH5smFnoz2UTc+MzQj +UdtTzXUkUgqvf9zTAAMGA/9Y/h6rhi3YYXeI6SmbXqcmzsQKzaWVhLew67szejnY +sKIJ1ja4MefYlthCXgmIBriNftxIGtBI0Pcmzwpn0eknRNK6NgpmESbGKCWh59Je +iAK5hdBPe47LSFVct5zSO9vQhRDyLzhzPPtB3XeoKTUkLWxBSLbeZVwcHPIK/wLa +l4hGBBgRAgAGBQI6VjnDAAoJEDClk3endjvmxmUAn3Ne6Z3UULpie8RJP15RBt6K +2MWFAJ9hK/Ls/FeBJ9d50qxmYdZ2RrTXNg== +=toqC +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SDL3_image.spec b/SDL3_image.spec new file mode 100644 index 0000000..9061fb7 --- /dev/null +++ b/SDL3_image.spec @@ -0,0 +1,89 @@ +# +# spec file for package SDL3_image +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: SDL3_image +%define lname libSDL3_image0 +Version: 3.2.0 +Release: 0 +Summary: Simple DirectMedia Layer image loading library +License: Zlib +Group: Development/Libraries/X11 +URL: https://github.com/libsdl-org/SDL_image +Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL3_image-%version.tar.gz +Source2: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL3_image-%version.tar.gz.sig +Source9: %name.keyring +BuildRequires: cmake +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: pkgconfig(libavif) +BuildRequires: pkgconfig(libjxl) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libwebp) +BuildRequires: pkgconfig(sdl3) + +%description +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%package -n %lname +Summary: Simple DirectMedia Layer image loading library +Group: System/Libraries +Provides: SDL2_image = %version-%release + +%description -n %lname +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%package devel +Summary: Development files for the SDL3 image loader library +Group: Development/Libraries/X11 +Requires: %lname = %version + +%description devel +This is a library to load images of various formats as SDL +surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, +TIFF and WEBP formats. + +%prep +%autosetup -p1 + +%build +%cmake +%cmake_build + +%install +%cmake_install +rm -Rf "%buildroot/%_datadir/licenses" # done via rpm %%license instead + +%ldconfig_scriptlets -n %lname + +%files -n %lname +%license LICENSE.txt +%_libdir/libSDL3_image.so.* + +%files devel +%_includedir/SDL* +%_libdir/cmake/ +%_libdir/pkgconfig/ +%_libdir/libSDL3_image.so + +%changelog