From 24972a553f20c3176410c0a509d7fec43ad04aaa6266b5e6ccf91a5a48cea8e0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Aug 2019 11:33:39 +0000 Subject: [PATCH] - Update to new upstream release 2.0.15 OBS-URL: https://build.opensuse.org/package/show/games/SDL2_ttf?expand=0&rev=13 --- SDL2_ttf-2.0.14.tar.gz | 3 --- SDL2_ttf-2.0.15.tar.gz | 3 +++ SDL2_ttf.changes | 9 +++++++++ SDL2_ttf.spec | 26 ++++++++++++-------------- 4 files changed, 24 insertions(+), 17 deletions(-) delete mode 100644 SDL2_ttf-2.0.14.tar.gz create mode 100644 SDL2_ttf-2.0.15.tar.gz diff --git a/SDL2_ttf-2.0.14.tar.gz b/SDL2_ttf-2.0.14.tar.gz deleted file mode 100644 index 21f85b9..0000000 --- a/SDL2_ttf-2.0.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34db5e20bcf64e7071fe9ae25acaa7d72bdc4f11ab3ce59acc768ab62fe39276 -size 4147462 diff --git a/SDL2_ttf-2.0.15.tar.gz b/SDL2_ttf-2.0.15.tar.gz new file mode 100644 index 0000000..89a7b2a --- /dev/null +++ b/SDL2_ttf-2.0.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33 +size 4479718 diff --git a/SDL2_ttf.changes b/SDL2_ttf.changes index 4fd0dc1..cc61321 100644 --- a/SDL2_ttf.changes +++ b/SDL2_ttf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Aug 23 11:27:38 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 2.0.15 + * Text rendering functions now use the alpha component of the + text colors. + * Added support for characters greater than 0xFFFF (e.g. emoji) + in the UTF-8 APIs. + ------------------------------------------------------------------- Sat Oct 22 15:29:43 UTC 2016 - aloisio@gmx.com diff --git a/SDL2_ttf.spec b/SDL2_ttf.spec index ae82690..70f1282 100644 --- a/SDL2_ttf.spec +++ b/SDL2_ttf.spec @@ -1,7 +1,7 @@ # # spec file for package SDL2_ttf # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,34 +12,33 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: SDL2_ttf %define lname libSDL2_ttf-2_0-0 -Version: 2.0.14 +Version: 2.0.15 Release: 0 -Summary: SDL2 TrueType library +Summary: Simple DirectMedia Layer 2 Truetype library License: Zlib Group: Development/Libraries/X11 -Url: http://libsdl.org/projects/SDL_ttf/ +URL: https://libsdl.org/projects/SDL_ttf/ -#Hg-Clone: http://hg.libsdl.org/SDL_ttf/ -Source: http://libsdl.org/projects/SDL_ttf/release/%name-%version.tar.gz +#Hg-Clone: https://hg.libsdl.org/SDL_ttf/ +Source: https://libsdl.org/projects/SDL_ttf/release/%name-%version.tar.gz Source2: baselibs.conf BuildRequires: dos2unix BuildRequires: pkg-config BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(sdl2) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a sample library that allows you to use TrueType fonts in your SDL applications. %package -n %lname -Summary: Simple DirectMedia Layer 2 – Truetype Library +Summary: Simple DirectMedia Layer 2 Truetype library Group: System/Libraries Provides: SDL2_ttf = %version @@ -48,7 +47,7 @@ This is a sample library that allows you to use TrueType fonts in your SDL applications. %package -n libSDL2_ttf-devel -Summary: Simple DirectMedia Layer - Truetype Library +Summary: Header files for the Simple DirectMedia Layer 2 Truetype library Group: Development/Libraries/X11 Requires: %lname = %version Provides: SDL2_ttf-devel = %version @@ -58,7 +57,7 @@ This is a sample library that allows you to use TrueType fonts in your SDL applications. %prep -%setup -q +%autosetup -p1 dos2unix *.txt %build @@ -73,12 +72,11 @@ rm -f "%buildroot/%_libdir"/*.la %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc CHANGES.txt COPYING.txt README.txt +%license COPYING.txt %_libdir/libSDL2_ttf-2*.so.* %files -n libSDL2_ttf-devel -%defattr(-,root,root) +%doc CHANGES.txt README.txt %_includedir/SDL2/ %_libdir/libSDL2_ttf.so %_libdir/pkgconfig/SDL2_ttf.pc