diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/sdl-ttf |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/sdl-ttf')
-rw-r--r-- | media-libs/sdl-ttf/Manifest | 6 | ||||
-rw-r--r-- | media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch | 10 | ||||
-rw-r--r-- | media-libs/sdl-ttf/metadata.xml | 13 | ||||
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild | 48 |
4 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/sdl-ttf/Manifest b/media-libs/sdl-ttf/Manifest new file mode 100644 index 000000000000..22b251a0bbfc --- /dev/null +++ b/media-libs/sdl-ttf/Manifest @@ -0,0 +1,6 @@ +AUX sdl-ttf-2.0.11-underlink.patch 316 SHA256 315ad9ecd1aa7232b74a8cf4b907fd092b5bc8450d2333a337ed55a639685a41 SHA512 9421cd6ce0502400bab1a87404a2378b79cdd8ce15644aea0978b85395693a422596175feccc119b0de8d83df2095a5accb74c80ad7b0dfee62d0536b8787030 WHIRLPOOL 21124bb3542061e54080dff341fca421b8c717d900a15604c10aacccd00cfd0c4443b68fc89e7450e0dddb38b2200752513c759c1c8acf59b12e71d71ca283d8 +DIST SDL_ttf-2.0.11.tar.gz 4053686 SHA256 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 SHA512 64e04d1cd77e525e0f2413ad928841e5d3d09d551c030fc577b50777116580e430cb272b2aeb6191dfcc464669cf2f7a5a50d10e7c75637a3b1e8c8fca7fc78b WHIRLPOOL 41a28ded747de5d844878c1ba58bdaed972fa7fd1d8b0d1844ec8a98b4b3f0eb252e6667d53b5d417ffee1f3a6744879f7eddd67751ef24cfdf99429be4279f1 +EBUILD sdl-ttf-2.0.11-r1.ebuild 1260 SHA256 d571a3675b0d7459dc7639b4d01c2655e565c7cc36e96a6893dcc7461b34f14b SHA512 21f6c243d0e676b7763130442585613690617a08692a7d170d938bfa551ff8f78b25e149ba05f97584c4dfcace66300d613fb91f35d534d982a26b9ed5bd063f WHIRLPOOL d0f4c39b50e792761e4f55b9d04a83ed9ef7cf0ca85b9da17cbbf1ea9211813d1090c7e902edb974dcf6b7d4fb2bc8fbfa1b34258ba19263f138311b31a545bb +MISC ChangeLog 2478 SHA256 6a47a8083a39c348f2f7ad99183068070f77ee5396daa3051b9873a4e4107f3a SHA512 a12da309e99b1067a4816dd459b894a994522eb07e7725cb9a401e00a8f84000e4caf3ccbbdb2ec6b2ddde433795a3d82efb31979c8715a6639b6e100fa090cd WHIRLPOOL 35ae64a70c2a7245d42f6de97b36328841587bd4463be280bef0ebae94e8e160abe7789610e1f4dbbb79d78d4dacfadf9b423dd965614bb22f8559b1f392acd6 +MISC ChangeLog-2015 9078 SHA256 04223244d41f6a606e014ec1322c0f0c880078ea005ebd7c856cdfe8eb770fd3 SHA512 b4cbf55a43e3c9c9e4b2a1feb88f1b491337f09eef1aed27e6daefa92d99ac3de037dcad1f718c773e76a271129c96c2a46f6f452dc4572212a2bfabd3fd0b00 WHIRLPOOL 7d0209f518cd857232239f6896d0d18a68311856178d46be73ac3856e137b1c2855115e94082e57e3a2eee91665b332e5cde2ae12ef5ddfeaa0a7229bee67fde +MISC metadata.xml 487 SHA256 56f9c17e53eba8c9a752e9b692508b633b619325068ce9da643240df768c68df SHA512 8da59a1be8aa7ca22c2f8b14e4c4fd288a9bc4b508157bb38b0cbb8f1f5f7dce3904861e419b8a6b40a0b895e8866c53b677c1467c0531b9615d70806bdee360 WHIRLPOOL 3ded2d44173c501567aacf5eb0ea89038ec5e321978e70d898a76250c2e5b8aabdd3fc5f93ef53e75928bfd4a88fe678c38b0ead9ff4e1b490e6e5123b0eb9ef diff --git a/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch b/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch new file mode 100644 index 000000000000..136589ec7f13 --- /dev/null +++ b/media-libs/sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch @@ -0,0 +1,10 @@ +--- Makefile.am.old 2011-05-17 17:17:18.972003301 +0200 ++++ Makefile.am 2011-05-17 17:18:38.281983708 +0200 +@@ -33,6 +33,7 @@ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + endif ++libSDL_ttf_la_LIBADD = @MATHLIB@ + + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = SDL_ttf.pc diff --git a/media-libs/sdl-ttf/metadata.xml b/media-libs/sdl-ttf/metadata.xml new file mode 100644 index 000000000000..85e213f8bf1c --- /dev/null +++ b/media-libs/sdl-ttf/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +<longdescription> +This is a sample library which allows you to use TrueType fonts in your SDL applications. It +comes with an example program "showfont" which displays an example string for a given +TrueType font file. +</longdescription> +</pkgmetadata> diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild new file mode 100644 index 000000000000..6099641223d3 --- /dev/null +++ b/media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils multilib-minimal + +MY_P="${P/sdl-/SDL_}" +DESCRIPTION="library that allows you to use TrueType fonts in SDL applications" +HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/" +SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/${MY_P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="static-libs X" + +RDEPEND=" + abi_x86_32? ( + !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] + !<=app-emulation/emul-linux-x86-sdl-20140406 + ) + X? ( >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) + >=media-libs/libsdl-1.2.15-r4[${MULTILIB_USEDEP}] + >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_with X x) +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + dodoc CHANGES README + use static-libs || prune_libtool_files --all +} |