summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/esdl/ChangeLog9
-rw-r--r--media-libs/esdl/Manifest10
-rw-r--r--media-libs/esdl/esdl-1.2.ebuild42
3 files changed, 55 insertions, 6 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/Manifest b/media-libs/esdl/Manifest
index 4abbaa63157a..3a0898277d0d 100644
--- a/media-libs/esdl/Manifest
+++ b/media-libs/esdl/Manifest
@@ -1,4 +1,6 @@
-DIST esdl-1.0.1.src.tar.gz 428917 RMD160 e60ec93bdfdea593f4fd507b65a792ffeccfd0d6 SHA1 9452f54e0d8c8db2f54a7a8b4850c352f9267abb SHA256 16fcf29656e6a54c9e10d0a73faa3e5b305c6aab3ab691cad2206c427265877d
-EBUILD esdl-1.0.1.ebuild 1182 RMD160 0747d7c4833bc44d32afeef1f48aa603b053a66e SHA1 88469caacb61dc8ddac9ddc7aee67005f51fd7df SHA256 2901c9426897f2e7085f953d53c3c6959cb6553a0d5275d36e990177b1905caf
-MISC ChangeLog 3046 RMD160 a1d9857f9829bb8cead62bc8441564666404f371 SHA1 a3dfbfc4490854a7aee6f2f603adf2cf828c500a SHA256 04981fd6235adee0a3bb8016deab6581e9dbbe1a07e6ee2f5573489c016fca7e
-MISC metadata.xml 544 RMD160 5f36677a13f8759dec8797586bfdf1229011821c SHA1 77ef9f38e486108a5f6d8efbdfa82b4ee0ffcaef SHA256 e5f0657af8a8d0dae43edd52f60e8f17d8788b3777c0330bda73389b5e384e30
+DIST esdl-1.0.1.src.tar.gz 428917 SHA256 16fcf29656e6a54c9e10d0a73faa3e5b305c6aab3ab691cad2206c427265877d SHA512 dedc3a4b995e1cdeccd8b389f9de4f8dcb4aa780e8e0ed01730972c94bae8a4897edf2183f24a15df19c0e1ae7bda5481bdbdc55f4e3de0da3efef13291f33ac WHIRLPOOL 1cd0273e132f2cec34d526363a6e44227f6fa1b40fea9838562f3ace3d25909d09b883931e41757a708698c90d9504cd08834882ca49d4210c7436b062ba2efb
+DIST esdl-1.2.src.tar.gz 270309 SHA256 492898262a283a5d0256b287f49fa6462febf4f026d95274ce3bc6263ce4767d SHA512 74fa747f03deb38aee993ffbb1633120517a1aa43ef339d269482e41e91b925507bb60f0c37a082c4fb5b9938f8e7b7a6e9de9541b061be19446ee61a14a17d6 WHIRLPOOL 0cf9599434f9e6052a7bcdbae46e601dd24b99cb549984c8646bbe93cbd1171e0f4680ef400e9c21c11bbb6dc999242b3ac3fcf383d9023aed64469b7d75d76f
+EBUILD esdl-1.0.1.ebuild 1182 SHA256 2901c9426897f2e7085f953d53c3c6959cb6553a0d5275d36e990177b1905caf SHA512 cb7e95e61d0e59fe65127fb1439553ab75be0135a51d8ae01d6d34249ccbf6c96657096bfd4a6421089aea40d7902fae8ed04ac420c4417c076d6e672947e4c8 WHIRLPOOL 522971d950c7ef3eb60b871f710cbafc2fafc23b43349cd527cbbdf2d549a8f48bf1914923ee494c98215dd40318302779bb31a569bf414ced5c3af9dc468adf
+EBUILD esdl-1.2.ebuild 1173 SHA256 7ae3aab36e8e678edeedada38b4d8f68de7d2b545fff11b720649fb25698b342 SHA512 0dfffc16b94b2350e45f313b3ec604dbd4387581be92b8e5950cbe7dee1a5a39c9ebc7b805d91f4224e5ab6aa8505ddf977fba055a8700dc648b38f4afcb7871 WHIRLPOOL 98dc8b7ff7e3a0e497d27ef7cacfa6f747408f521a47a77f472e542fc8242dff01290a65220917a4c287369abdd9e373387878073f9fec06d88ccc2980753273
+MISC ChangeLog 3170 SHA256 aa8d7614302577c94f35e27e542863834b75f3935fbdb0577919d2296d8153a5 SHA512 ccc7552d780c9a843a2d099b65b4c7a6aee8d15de525fc453ecec184f8830bdc70891f8c61a5ca3869e7582f749c9f92167e7801d5a6595238ce1126d6d2357b WHIRLPOOL 4949f7e60c5aad7e70cf80b37ac3ec8d3c5c0ad6c210ad4e75a40d9addea0bccef591f7ea185ea7d0a1b0b3f445cdf37a335b27215766d72940f11966aac1dac
+MISC metadata.xml 544 SHA256 e5f0657af8a8d0dae43edd52f60e8f17d8788b3777c0330bda73389b5e384e30 SHA512 e9c9116579ff4d8e1368e168aff8537b69616e3fc74456df6bd99cfd52d13edc4725cc871300dc0237f85984b0e0e6b55fc594733bc445bde6b703df6d0f68c5 WHIRLPOOL d981c7c3090464fdf349c601afa6d74c95f54f001b1412b0134f6c1b610ab794ed3d854ac9827487cae000aab86e8884b100b8c4428ee31a6cc31e7a9c302d5c
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"
+}