diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-18 12:50:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-18 12:50:07 +0000 |
commit | ebb07c94f800907e02d2a6b92c1bc757b2f86f49 (patch) | |
tree | 9b5feb42804ee57e6fe960470f5b0c98c1aa4970 /media-libs/sdl2-ttf | |
parent | 529bbf6d047ac6b80c0d9310ec0f666c145ec5fe (diff) |
gentoo auto-resync : 18:03:2024 - 12:50:07
Diffstat (limited to 'media-libs/sdl2-ttf')
-rw-r--r-- | media-libs/sdl2-ttf/Manifest | 2 | ||||
-rw-r--r-- | media-libs/sdl2-ttf/sdl2-ttf-2.22.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/sdl2-ttf/Manifest b/media-libs/sdl2-ttf/Manifest index 2a55b90a4a09..ca0f802632aa 100644 --- a/media-libs/sdl2-ttf/Manifest +++ b/media-libs/sdl2-ttf/Manifest @@ -1,5 +1,7 @@ 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 EBUILD sdl2-ttf-2.20.0.ebuild 1076 BLAKE2B fd14cb726b64f81a946be027cebe1c12916374ad6920cc6e423aa7b9f7156a24e890528530f467ccd78c0fc839e830138e3f7e37dbc3ec2db9848be6d151f2b3 SHA512 b9ca4431ebafc924c248f4b51ad460f6c36523e52190070fab956d520e8d74ace8393bbc32e2f699314bbfd3bfb8a070c505548a3917f09c5f98bb297e0fc265 EBUILD sdl2-ttf-2.20.2.ebuild 1127 BLAKE2B aacba7d7617fbe4cb320a6da83a6a371e17905aafb3fda2c4578ed3d5d9789fb8fdfd3bcc2d51d6895c8e30c4a1528b7229682376de03056a7596b765bf9c1f1 SHA512 39460971e6d64e2d5316f10852fc6dbcdcac3a4ccd624b102bdf152409c4537936e488d4b8ecb9a112f53f6d3360cdf8ea21517001ed12a1c5564d29f402b40b +EBUILD sdl2-ttf-2.22.0.ebuild 1137 BLAKE2B d918caa41c672f64072ae8aff08115a21a4d631d94e1e318526dd3dbd3a4a48c94ddccd3742884042ec5ccd52b40c6f98cfa5e8a9f25645092bbbe729eed91c2 SHA512 a88a1ebb8ffcd2da017a09b768e9d321691dcd61de2c0fe458514b95b02138e802538c67aceedc8ba973a63f442508532fbe324884c36c0538a3ba80dbe13b14 MISC metadata.xml 694 BLAKE2B def65e69533279b6f10d380901d78f004e3524413598d9ecd2661262eb2ae5f6331f1a0fa2729084b2b5fea05e0811057098686a4fa4f65d6a92a0cdb667310a SHA512 f5d6cb83fe8ff6db7f3c6c171a435e7682470299738cbe4a90a7132dc5bd0083f0abd052754c037e10b23a94dc57e57a938bf489334191ed9c144e4493d28232 diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.22.0.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.22.0.ebuild new file mode 100644 index 000000000000..30270f37f2cf --- /dev/null +++ b/media-libs/sdl2-ttf/sdl2-ttf-2.22.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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 ~loong ~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.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 +} |