SDL_image 3.1.0

This commit is contained in:
Jan Engelhardt 2025-02-01 20:08:15 +01:00
commit 002a626bba
5 changed files with 128 additions and 0 deletions

BIN
SDL3_ttf-3.1.0.tar.gz Normal file

Binary file not shown.

BIN
SDL3_ttf-3.1.0.tar.gz.sig Normal file

Binary file not shown.

26
SDL3_ttf.changes Normal file
View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Sat Feb 1 19:04:11 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 3.1.0) for build.opensuse.org
* SDL_ttf, but updated for a SDL 3.0 base
* Added the concept of a text object and text engine, which is
able to efficiently render text for a variety of output
methods
* Added TTF_CreateSurfaceTextEngine() and TTF_DrawSurfaceText()
for drawing text to SDL_Surface output
* Added TTF_CreateRendererTextEngine() and
TTF_DrawRendererText() for drawing text to SDL_Renderer
output
* Added TTF_CreateGPUTextEngine() and TTF_GetGPUTextDrawData()
for drawing text to SDL_GPU output
* Made the text engine API public in
<SDL3_ttf/SDL_textengine.h> so you can integrate text objects
into custom font display solutions
* Added TTF_CopyFont() to allow you to easily make fonts of
different sizes
* Added TTF_AddFallbackFont() to allow combining fonts with
distinct glyph support
* Added support for OT-SVG fonts, which are useful as fallback
fonts for color emoji support
* Updated SDF font support and added an example of using it
with the SDL GPU API

25
SDL3_ttf.keyring Normal file
View 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-----

77
SDL3_ttf.spec Normal file
View File

@ -0,0 +1,77 @@
#
# spec file for package SDL3_ttf
#
# 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_ttf
%define lname libSDL3_ttf0
Version: 3.1.0
Release: 0
Summary: Simple DirectMedia Layer Truetype library
License: Zlib
Group: Development/Libraries/X11
URL: https://github.com/libsdl-org/SDL_ttf
Source: https://github.com/libsdl-org/SDL_ttf/releases/download/preview-%version/SDL3_ttf-%version.tar.gz
Source2: https://github.com/libsdl-org/SDL_ttf/releases/download/preview-%version/SDL3_ttf-%version.tar.gz.sig
Source9: %name.keyring
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: pkg-config
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(sdl3)
%description
This is a library that allows using TrueType fonts in SDL applications.
%package -n %lname
Summary: Simple DirectMedia Layer Truetype library
Group: System/Libraries
%description -n %lname
This is a library that allows using TrueType fonts in SDL applications.
%package devel
Summary: Header files for the Simple DirectMedia Layer Truetype library
Group: Development/Libraries/X11
Requires: %lname = %version
%description devel
This is a library that allows using TrueType fonts in SDL applications.
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
rm -Rf "%buildroot/%_datadir/licenses"
%ldconfig_scriptlets -n %lname
%files -n %lname
%license LICENSE.txt
%_libdir/libSDL3_ttf.so.*
%files devel
%_includedir/SDL*
%_libdir/cmake/
%_libdir/pkgconfig/
%_libdir/libSDL3_ttf.so
%changelog