From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1719569-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4927C1582EF
	for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 21:26:14 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 366D1342FAA
	for <garchives@archives.gentoo.org>; Wed, 19 Feb 2025 21:26:14 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 383C71102A2;
	Wed, 19 Feb 2025 21:26:13 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 2CFE11102A2
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 21:26:13 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D3A1D342FAA
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 21:26:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 421B2175A
	for <gentoo-commits@lists.gentoo.org>; Wed, 19 Feb 2025 21:26:11 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1740000341.ece6506e2a6e2b2049025d4a783d302d9f647b0c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl2-ttf/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/sdl2-ttf/Manifest media-libs/sdl2-ttf/sdl2-ttf-2.24.0.ebuild
X-VCS-Directories: media-libs/sdl2-ttf/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: ece6506e2a6e2b2049025d4a783d302d9f647b0c
X-VCS-Branch: master
Date: Wed, 19 Feb 2025 21:26:11 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: c5fe38e1-654b-4833-b254-10500b1a3e1a
X-Archives-Hash: 50a5c5a54fe6b24e2a0579df3d5c9859

commit:     ece6506e2a6e2b2049025d4a783d302d9f647b0c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 20:40:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 21:25:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece6506e

media-libs/sdl2-ttf: add 2.24.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/sdl2-ttf/Manifest               |  1 +
 media-libs/sdl2-ttf/sdl2-ttf-2.24.0.ebuild | 42 ++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/media-libs/sdl2-ttf/Manifest b/media-libs/sdl2-ttf/Manifest
index e3a3bc070fdc..47572a28e6bf 100644
--- a/media-libs/sdl2-ttf/Manifest
+++ b/media-libs/sdl2-ttf/Manifest
@@ -1,3 +1,4 @@
 DIST SDL2_ttf-2.20.0.tar.gz 13156472 BLAKE2B f31b1193beaaab0e2aaab6f56c82f4931db79ab81526398e20176c9fb121409d4f9f56109aa721d645496f6c228450cb95bda48c40037f1a3f904154e0e21fee SHA512 14c78cfa04b938f0bd141d841a9473a1678bb04d01a96391cfa37ae3e7e316c90f175aff7d052499f7d982f59b823813e4cfdd367631a44b08b85f9b60d09c8c
 DIST SDL2_ttf-2.20.2.tar.gz 13161592 BLAKE2B d94a68d817c0824d7292f51ec3e20148a87235cb72daa68015af16cef7434bdc095c68a9c6efd130fc50f58996c2801cf29e4b90545b47ad2f90d7c77e238474 SHA512 b54e93b100712e3764cd80d4e4b16cd4c2a6853620f675941a4214320b0ee29a583d57ad56cd5fdb5c7a32d7615cbf43bc3fa55337b01623cee7219ebb43667c
 DIST SDL2_ttf-2.22.0.tar.gz 14314901 BLAKE2B b1d6505f316f1289f7ef95466da8f4a085898072c3eeb84084aa1f82ed8033bbc1931a11b74d54db18a8424541864a6e35b02dbc514f447e7e1582742e78f9a7 SHA512 34a1d210d8f1b1e802139d65ba47e36033bb7881e75a8862c1b1c515565bef85e3d81ee42e952aa664de043debef387ba60088a9cf3ba3297413db39a13af912
+DIST SDL2_ttf-2.24.0.tar.gz 13335900 BLAKE2B a80506226415ffde07dbb7c2317a902f57d718918d12011bfd3b82a9a629ee0db27088dad74d61b8375503fb5e87d4e9e4df7e52119fde0eaf3c709f605abfec SHA512 a0f94e26f0387385f13ec1eb08ddca677d4181969073a50af387a0dce9c7bdddf393c028c8084538e01f875e19790ef7ae9a00c5106bf7ca9d21f3fcf9eee885

diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.24.0.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.24.0.ebuild
new file mode 100644
index 000000000000..8468c1fe4f18
--- /dev/null
+++ b/media-libs/sdl2-ttf/sdl2-ttf-2.24.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+MY_P="SDL2_ttf-${PV}"
+DESCRIPTION="Library that allows you to use TrueType fonts in SDL applications"
+HOMEPAGE="https://github.com/libsdl-org/SDL_ttf"
+SRC_URI="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+harfbuzz static-libs X"
+
+# On bumps, check external/ for versions of bundled freetype + harfbuzz
+# to crank up the dep bounds.
+RDEPEND="
+	>=media-libs/libsdl2-2.0.12[${MULTILIB_USEDEP}]
+	>=media-libs/freetype-2.13.2[harfbuzz?,${MULTILIB_USEDEP}]
+	virtual/opengl[${MULTILIB_USEDEP}]
+	harfbuzz? ( >=media-libs/harfbuzz-8.1.1:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DSDL2TTF_VENDORED=OFF
+		-DSDL2TTF_HARFBUZZ=$(usex harfbuzz)
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_install_all() {
+	dodoc {CHANGES,README}.txt
+
+	rm -rf "${ED}"/usr/share/licenses/ || die
+}