* [gentoo-commits] proj/gamerlay:master commit in: media-libs/sdl-ttf/
@ 2013-06-16 12:47 Azamat H. Hackimov
0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2013-06-16 12:47 UTC (permalink / raw
To: gentoo-commits
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"
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-16 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-16 12:47 [gentoo-commits] proj/gamerlay:master commit in: media-libs/sdl-ttf/ Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox