diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild')
-rw-r--r-- | media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild b/media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild new file mode 100644 index 000000000000..03b5545aa54b --- /dev/null +++ b/media-libs/sdl2-ttf/sdl2-ttf-2.0.18-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +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://www.libsdl.org/projects/SDL_ttf/release/${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}] ) + X? ( >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local myeconfargs=( + --disable-freetype-builtin + --disable-harfbuzz-builtin + + $(use_enable static-libs static) + $(use_with X x) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + dodoc {CHANGES,README}.txt + + find "${ED}" -name '*.la' -delete || die +} |