summaryrefslogtreecommitdiff
path: root/media-libs/sdl2-ttf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 08:38:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 08:38:29 +0100
commitdbb637a643576bbb9286907cd6c73e3cda3ca1f6 (patch)
treee2431b0c6a4b1c6787601ecc675d72401b00cd3a /media-libs/sdl2-ttf
parentb5c8e7977a8950fe976559fbed28db9c0bcd3d6f (diff)
gentoo auto-resync : 19:07:2022 - 08:38:29
Diffstat (limited to 'media-libs/sdl2-ttf')
-rw-r--r--media-libs/sdl2-ttf/Manifest4
-rw-r--r--media-libs/sdl2-ttf/metadata.xml3
-rw-r--r--media-libs/sdl2-ttf/sdl2-ttf-2.20.0.ebuild38
3 files changed, 44 insertions, 1 deletions
diff --git a/media-libs/sdl2-ttf/Manifest b/media-libs/sdl2-ttf/Manifest
index 0ad84c6d58cb..cb4810b9f63e 100644
--- a/media-libs/sdl2-ttf/Manifest
+++ b/media-libs/sdl2-ttf/Manifest
@@ -1,5 +1,7 @@
DIST SDL2_ttf-2.0.15.tar.gz 4479718 BLAKE2B 8401ed4979dade5affa86be4463958d0c90f72d3b2874540cf868e460c5d6773a2b11eaf6d13792d23193085050970ebf877b707b0febaba9be29c4329be9d7c SHA512 30d685932c3dd6f2c94e2778357a5c502f0421374293d7102a64d92f9c7861229bf36bedf51c1a698b296a58c858ca442d97afb908b7df1592fc8d4f8ae8ddfd
DIST SDL2_ttf-2.0.18.tar.gz 14896353 BLAKE2B d1409353b06a1ca33e053ffabf1b05222705ba7df0cdf95b12724218649981a1d7b6f895c82b90d6da26bb34561760d6d37b62c0f64ea8672319cb6d7d0ce882 SHA512 9a211c07d4180fe3fb2f7614e907d1002ddf3bb77b57f62116f22dc29a6043f091deb6a8113656d26a44d2f06b9abcc372aa3e0761500fcf47b455406973a1c7
+DIST SDL2_ttf-2.20.0.tar.gz 13156472 BLAKE2B f31b1193beaaab0e2aaab6f56c82f4931db79ab81526398e20176c9fb121409d4f9f56109aa721d645496f6c228450cb95bda48c40037f1a3f904154e0e21fee SHA512 14c78cfa04b938f0bd141d841a9473a1678bb04d01a96391cfa37ae3e7e316c90f175aff7d052499f7d982f59b823813e4cfdd367631a44b08b85f9b60d09c8c
EBUILD sdl2-ttf-2.0.15.ebuild 1012 BLAKE2B bf74f411dec169458fc2d3bbd4ef6767dd71dfdcb864a0ced60dafa9d66c1336ada53285218304c935389d1d8e76362bb0560a796302ea982a2030a96747f5d1 SHA512 7c4aea39529b338e10a3d005ea3563f49f8b38481fcfb47546112c7900ab59696f7b9c0591291b0528c3e24e4f0b4c7e7d3140a735688fb6021c267792e820ab
EBUILD sdl2-ttf-2.0.18-r1.ebuild 1263 BLAKE2B d269da1117ec58cf58adaa977c1e169da57b8be96f24ff3f616adeb633e719fbd6f8315ed194d98d49fa07b395796724512b1e710e4efedada2fa5f717c33024 SHA512 ba3422de6719f35811bfd1fb510256b6747cdc1168bcf1bc968c7d68e956a0e6b6b7348f3c0f572a8a5c6a8617ac8b9f217d2fedeb1b6e0c7b513783ed9d1561
-MISC metadata.xml 611 BLAKE2B 1333ebf75ae6e7474d28165d0943096e028b8dba76862963a7683b7600c59c3c33eaf1c81a9607da030ee78ac236808d06f95d753da7d06effbbb227deff98bb SHA512 b6c76a4af0eefcbcf61c7ff8d459264bfb12bce63dadce1ff039bd2538e9fc51540ca019bd7edbe48537d0851080444810d012c1d205aa44d4137560e75d64a6
+EBUILD sdl2-ttf-2.20.0.ebuild 1086 BLAKE2B 55c1de1315a899766b0106ca0c09549207086057ad817cf0c8654c381063bc003bb16c648d8295a4dd52145d2dc95bc0282b878815c4dd9c87808d07b20d17a7 SHA512 6b28f4deec79d5e0cba2c7ab908d90854d60570482d6f06663d5969671b91f6ccca34c0d77d8328723db1182f3283cde8e0825ee431e15f30e81c2e8ca7ff0c7
+MISC metadata.xml 694 BLAKE2B def65e69533279b6f10d380901d78f004e3524413598d9ecd2661262eb2ae5f6331f1a0fa2729084b2b5fea05e0811057098686a4fa4f65d6a92a0cdb667310a SHA512 f5d6cb83fe8ff6db7f3c6c171a435e7682470299738cbe4a90a7132dc5bd0083f0abd052754c037e10b23a94dc57e57a938bf489334191ed9c144e4493d28232
diff --git a/media-libs/sdl2-ttf/metadata.xml b/media-libs/sdl2-ttf/metadata.xml
index d09642a95cf8..fabe55791e72 100644
--- a/media-libs/sdl2-ttf/metadata.xml
+++ b/media-libs/sdl2-ttf/metadata.xml
@@ -15,4 +15,7 @@
<use>
<flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> for enhanced font rendering</flag>
</use>
+ <upstream>
+ <remote-id type="github">libsdl-org/SDL_ttf</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.20.0.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.20.0.ebuild
new file mode 100644
index 000000000000..842f7e1ef60b
--- /dev/null
+++ b/media-libs/sdl2-ttf/sdl2-ttf-2.20.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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://www.libsdl.org/projects/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
+}