This commit is contained in:
commit
30e480bc5b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
SDL3_image-3.2.0.tar.gz
Normal file
3
SDL3_image-3.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1690baea71b2b4ded9895126cddbc03a1000b027d099a4fb4669c4d23d73b19f
|
||||
size 10669968
|
BIN
SDL3_image-3.2.0.tar.gz.sig
Normal file
BIN
SDL3_image-3.2.0.tar.gz.sig
Normal file
Binary file not shown.
9
SDL3_image.changes
Normal file
9
SDL3_image.changes
Normal file
@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 1 18:52:06 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- 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().
|
||||
|
25
SDL3_image.keyring
Normal file
25
SDL3_image.keyring
Normal file
@ -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-----
|
89
SDL3_image.spec
Normal file
89
SDL3_image.spec
Normal file
@ -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
|
3
_scmsync.obsinfo
Normal file
3
_scmsync.obsinfo
Normal file
@ -0,0 +1,3 @@
|
||||
mtime: 1738437033
|
||||
commit: 487b0b967d8fe155df524d1ee86dfd88e6baad129364b924944668b2850f8b63
|
||||
url: https://src.opensuse.org/jengelh/SDL3_image
|
Loading…
x
Reference in New Issue
Block a user