diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2013-06-16 18:42:30 +0600 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2013-06-16 18:42:30 +0600 |
commit | 41b5abecb5c71faab0d9a200144d78032f5bf385 (patch) | |
tree | 52aa3bc504cf0e2eab01fb54b809fefcb045f435 /media-libs | |
parent | [media-libs/sdl-image] Added versioned ebuild, removed broken 9999 ebuild. (diff) | |
download | gamerlay-41b5abecb5c71faab0d9a200144d78032f5bf385.tar.gz gamerlay-41b5abecb5c71faab0d9a200144d78032f5bf385.tar.bz2 gamerlay-41b5abecb5c71faab0d9a200144d78032f5bf385.zip |
[media-libs/sdl-ttf] Added versioned ebuild, removed broken 9999 ebuild.
Package-Manager: portage-2.1.12.2
Manifest-Sign-Key: A018DE8C
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild | 40 | ||||
-rw-r--r-- | media-libs/sdl-ttf/sdl-ttf-9999-r4.ebuild | 49 |
2 files changed, 40 insertions, 49 deletions
diff --git a/media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild b/media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild new file mode 100644 index 0000000..43f81be --- /dev/null +++ b/media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +EAPI=5 + +inherit mercurial versionator + +MY_PV=${PV/_pre/-} +EHG_REVISION=$(get_version_component_range 4 ${MY_PV}) + +DESCRIPTION="TrueType font decoding add-on for SDL" +HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf" +EHG_REPO_URI="http://hg.libsdl.org/SDL_ttf" + +LICENSE="ZLIB" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +#FIXME: Add "test". +IUSE="showfont static-libs X" + +RDEPEND=" + media-libs/libsdl:2 + >=media-libs/freetype-2.3 + X? ( x11-libs/libXt ) +" +DEPEND="${RDEPEND}" + +src_configure() { + MISSING=true econf \ + $(use_enable static-libs static) \ + $(use_with X x) +} + +src_install() { + emake DESTDIR="${D}" install + use static-libs || prune_libtool_files --all + use showfont && newbin '.libs/showfont' "showfont2" + dodoc {CHANGES,README}.txt +} diff --git a/media-libs/sdl-ttf/sdl-ttf-9999-r4.ebuild b/media-libs/sdl-ttf/sdl-ttf-9999-r4.ebuild deleted file mode 100644 index d060f83..0000000 --- a/media-libs/sdl-ttf/sdl-ttf-9999-r4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=5 - -# Enable Bash strictness. -set -e - -inherit eutils mercurial - -MY_P="SDL_ttf-${PV}" -DESCRIPTION="TrueType font decoding add-on for SDL" -HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf" -EHG_REPO_URI="http://hg.libsdl.org/SDL_ttf" - -LICENSE="ZLIB" -SLOT="2/0.10.2" -KEYWORDS="" - -#FIXME: Add "test". -IUSE="showfont static-libs X" - -RDEPEND=" - media-libs/libsdl:2= - >=media-libs/freetype-2.3 - X? ( x11-libs/libXt ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_configure() { - local myeconfargs=( - $(use_enable static-libs static) - $(use_with X x) - ) - - # See "sdl-image-9999.ebuild" for discussion. - MISSING=true econf "${myeconfargs[@]}" -} - -src_install() { - default - dodoc CHANGES README - use static-libs || prune_libtool_files --all - - # Prevent SDL 2.0's "showfont" from colliding with SDL 1.2's "showfont". - use showfont && newbin '.libs/showfont' "showfont-2" -} |