summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-06-11 11:37:21 +0200
committerJeroen Roovers <jer@gentoo.org>2016-06-11 12:08:52 +0200
commit26efbca30515a8674eac90699380b9122be94829 (patch)
tree296c42b2600972cdb39dcb45ed82a4ec190c8de4 /media-libs
parentmedia-libs/libdiscid: x86 stable, bug #578932 (diff)
downloadgentoo-26efbca30515a8674eac90699380b9122be94829.tar.gz
gentoo-26efbca30515a8674eac90699380b9122be94829.tar.bz2
gentoo-26efbca30515a8674eac90699380b9122be94829.zip
media-libs/esdl: Version bump.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/esdl/Manifest1
-rw-r--r--media-libs/esdl/esdl-1.3.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/esdl/Manifest b/media-libs/esdl/Manifest
index 457cc7931a04..48abe105ccf1 100644
--- a/media-libs/esdl/Manifest
+++ b/media-libs/esdl/Manifest
@@ -1,2 +1,3 @@
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
+DIST esdl-1.3.1.src.tgz 308475 SHA256 01789310d6fd9a4149fc9ddb16fa97ed2c03bbb2d52aa174561800934269aa38 SHA512 66e8f69fa29fc0400f58dfa892656e00536a481a3dc364b9b295aee98818ff325f6475a009287352520ef428941e866b46e6f0267a7df184831c87b9304d385d WHIRLPOOL c34f894e90af716cd7f33d98dfd129b5b373e7a12778ac38e16b7cf67534402fefe65c8d51ab8c0558bad566642543cb8b7145649f46fcb8b108e08c6c9d11f0
diff --git a/media-libs/esdl/esdl-1.3.1.ebuild b/media-libs/esdl/esdl-1.3.1.ebuild
new file mode 100644
index 000000000000..f16933a9ccc6
--- /dev/null
+++ b/media-libs/esdl/esdl-1.3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils fixheadtails multilib
+
+DESCRIPTION="Erlang bindings for the SDL library"
+HOMEPAGE="http://esdl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/esdl/${P}.src.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~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}
+ dev-util/rebar
+"
+
+src_compile() {
+ rebar compile || die
+}
+
+src_install() {
+ ERLANG_DIR="/usr/$(get_libdir)/erlang/lib"
+ ESDL_DIR="${ERLANG_DIR}/${P}"
+
+ find -name 'Makefile*' -exec rm -f '{}' \;
+
+ insinto ${ESDL_DIR}
+ doins -r ebin c_src include priv src
+}