From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB69A1381F3 for ; Sun, 16 Jun 2013 12:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DB50E08EA; Sun, 16 Jun 2013 12:47:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED2D1E08EA for ; Sun, 16 Jun 2013 12:47:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23D0133E38D for ; Sun, 16 Jun 2013 12:47:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C6BE1E5459 for ; Sun, 16 Jun 2013 12:47:23 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1371386550.41b5abecb5c71faab0d9a200144d78032f5bf385.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: media-libs/sdl-ttf/ X-VCS-Repository: proj/gamerlay X-VCS-Files: media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild media-libs/sdl-ttf/sdl-ttf-9999-r4.ebuild X-VCS-Directories: media-libs/sdl-ttf/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 41b5abecb5c71faab0d9a200144d78032f5bf385 X-VCS-Branch: master Date: Sun, 16 Jun 2013 12:47:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 557445b6-ccd5-4c52-9acb-8466f627d33f X-Archives-Hash: 64d2bc6c3bdc8fcb06cd546e22c89890 commit: 41b5abecb5c71faab0d9a200144d78032f5bf385 Author: Azamat H. Hackimov gmail com> AuthorDate: Sun Jun 16 12:42:30 2013 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Sun Jun 16 12:42:30 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=41b5abec [media-libs/sdl-ttf] Added versioned ebuild, removed broken 9999 ebuild. Package-Manager: portage-2.1.12.2 Manifest-Sign-Key: A018DE8C --- media-libs/sdl-ttf/sdl-ttf-2.0.12_pre242.ebuild | 40 ++++++++++++++++++++ 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" -}