diff options
author | George Shapovalov <george@gentoo.org> | 2013-02-12 14:41:54 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2013-02-12 14:41:54 +0000 |
commit | 7e01b7a9c72c68c68743d036a775684c926fbd23 (patch) | |
tree | ea7366a8a6f3de2eaaa7b1b2e8c749406a58bc25 | |
parent | Stable for x86, wrt bug #456634 (diff) | |
download | gentoo-2-7e01b7a9c72c68c68743d036a775684c926fbd23.tar.gz gentoo-2-7e01b7a9c72c68c68743d036a775684c926fbd23.tar.bz2 gentoo-2-7e01b7a9c72c68c68743d036a775684c926fbd23.zip |
version bump, re #336240
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
-rw-r--r-- | media-libs/esdl/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/esdl/esdl-1.2.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/media-libs/esdl/ChangeLog b/media-libs/esdl/ChangeLog index 9e4f72bd559f..d010dd4a584d 100644 --- a/media-libs/esdl/ChangeLog +++ b/media-libs/esdl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/esdl -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/ChangeLog,v 1.24 2009/12/11 14:55:39 ranger Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/ChangeLog,v 1.25 2013/02/12 14:41:54 george Exp $ + +*esdl-1.2 (12 Feb 2013) + + 12 Feb 2013; George Shapovalov <george@gentoo.org> +esdl-1.2.ebuild: + version bump, re #336240 11 Dec 2009; Brent Baude <ranger@gentoo.org> esdl-1.0.1.ebuild: Marking esdl-1.0.1 ppc64 for bug 284691 diff --git a/media-libs/esdl/esdl-1.2.ebuild b/media-libs/esdl/esdl-1.2.ebuild new file mode 100644 index 000000000000..013fa378c8e7 --- /dev/null +++ b/media-libs/esdl/esdl-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/esdl-1.2.ebuild,v 1.1 2013/02/12 14:41:54 george Exp $ + +EAPI="2" + +inherit fixheadtails multilib eutils + +DESCRIPTION="Erlang bindings for the SDL library" +HOMEPAGE="http://esdl.sourceforge.net/" +SRC_URI="mirror://sourceforge/esdl/${P}.src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="image truetype" + +RDEPEND=">=dev-lang/erlang-14 + media-libs/libsdl[opengl] + image? ( media-libs/sdl-image ) + truetype? ( media-libs/sdl-ttf ) + virtual/opengl" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i "/CFLAGS.*=/s:-g -O2 -funroll-loops -Wall -ffast-math:${CFLAGS}:" c_src/Makefile + ht_fix_file Makefile c_src/Makefile + if use image ; then + sed -i "/ENABLE_SDL_IMAGE = /s:no:yes:" Makefile + fi + if use truetype ; then + sed -i "/ENABLE_SDL_TTF = /s:no:yes:" Makefile + fi +} + +src_install() { + addpredict /usr/$(get_libdir)/erlang/lib + ERLANG_DIR="/usr/$(get_libdir)/erlang/lib" + ESDL_DIR="${ERLANG_DIR}/${P}" + dodir ${ESDL_DIR} + make install INSTALLDIR="${D}"/${ESDL_DIR} || die "make install" +} |