public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl2-ttf/
Date: Tue,  7 Feb 2023 23:06:25 +0000 (UTC)	[thread overview]
Message-ID: <1675811134.aeacdb540f56595dc9ba8eff46810f6f9dd774dd.sam@gentoo> (raw)

commit:     aeacdb540f56595dc9ba8eff46810f6f9dd774dd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  7 23:00:48 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 23:05:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeacdb54

media-libs/sdl2-ttf: add 2.20.2

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

 media-libs/sdl2-ttf/Manifest               |  1 +
 media-libs/sdl2-ttf/sdl2-ttf-2.20.2.ebuild | 40 ++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/media-libs/sdl2-ttf/Manifest b/media-libs/sdl2-ttf/Manifest
index 4b2e4858d2ee..c3921bfff7ef 100644
--- a/media-libs/sdl2-ttf/Manifest
+++ b/media-libs/sdl2-ttf/Manifest
@@ -1 +1,2 @@
 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

diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.20.2.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.20.2.ebuild
new file mode 100644
index 000000000000..da78bca4ccfe
--- /dev/null
+++ b/media-libs/sdl2-ttf/sdl2-ttf-2.20.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 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 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~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.10.4[harfbuzz?,${MULTILIB_USEDEP}]
+	virtual/opengl[${MULTILIB_USEDEP}]
+	harfbuzz? ( >=media-libs/harfbuzz-2.8.0:=[${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
+}


             reply	other threads:[~2023-02-07 23:06 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07 23:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-19 21:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl2-ttf/ Sam James
2025-02-19 21:26 Sam James
2024-05-19 19:43 Arthur Zamarin
2024-04-29  7:51 Jakov Smolić
2024-03-18  7:20 Sam James
2023-12-01 14:33 Arthur Zamarin
2023-09-28  6:17 Sam James
2023-09-28  4:21 Sam James
2023-09-28  0:21 Sam James
2023-09-27  8:52 Sam James
2023-09-27  5:03 Sam James
2023-09-27  4:59 Sam James
2022-12-16  6:26 Sam James
2022-12-16  6:26 Sam James
2022-12-03 15:05 Arthur Zamarin
2022-12-02 18:57 Arthur Zamarin
2022-12-02  9:44 Arthur Zamarin
2022-12-02  8:35 Arthur Zamarin
2022-12-02  8:20 Sam James
2022-12-02  8:12 Arthur Zamarin
2022-07-19  1:09 Sam James
2022-07-19  1:09 Sam James
2022-01-16 23:57 Mike Gilbert
2022-01-13  1:00 Sam James
2022-01-13  1:00 Sam James
2022-01-13  0:55 Sam James
2021-11-29  7:39 Arthur Zamarin
2020-12-17  3:58 Sam James
2020-10-06 13:16 Sam James
2020-10-03 12:16 Sergei Trofimovich
2020-09-30 21:15 Sam James
2020-06-10  3:21 Matt Turner
2020-06-09 20:37 Sergei Trofimovich
2020-06-09 20:06 Michał Górny
2020-06-08 16:34 Mart Raudsepp
2020-06-08 14:18 Michał Górny
2020-06-08 13:18 Michał Górny
2019-01-25 14:55 Lars Wendler
2018-05-04 10:35 Lars Wendler
2018-05-04  8:03 Lars Wendler
2016-06-06 14:31 Agostino Sarubbo
2016-04-28  5:38 Michael Sterrett
2016-01-04  3:02 Michael Sterrett
2016-01-04  3:02 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675811134.aeacdb540f56595dc9ba8eff46810f6f9dd774dd.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox