From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: media-libs/sdl-ttf/
Date: Sun, 16 Jun 2013 12:47:23 +0000 (UTC) [thread overview]
Message-ID: <1371386550.41b5abecb5c71faab0d9a200144d78032f5bf385.winterheart@gentoo> (raw)
commit: 41b5abecb5c71faab0d9a200144d78032f5bf385
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Jun 16 12:42:30 2013 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> 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"
-}
reply other threads:[~2013-06-16 12:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371386550.41b5abecb5c71faab0d9a200144d78032f5bf385.winterheart@gentoo \
--to=winterheart@gentoo.ru \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox