summaryrefslogtreecommitdiff
path: root/media-libs/esdl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/esdl
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/esdl')
-rw-r--r--media-libs/esdl/Manifest9
-rw-r--r--media-libs/esdl/esdl-1.0.1.ebuild41
-rw-r--r--media-libs/esdl/esdl-1.2.ebuild41
-rw-r--r--media-libs/esdl/esdl-1.3.1.ebuild40
-rw-r--r--media-libs/esdl/metadata.xml22
5 files changed, 153 insertions, 0 deletions
diff --git a/media-libs/esdl/Manifest b/media-libs/esdl/Manifest
new file mode 100644
index 000000000000..a85e54459729
--- /dev/null
+++ b/media-libs/esdl/Manifest
@@ -0,0 +1,9 @@
+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
+EBUILD esdl-1.0.1.ebuild 1071 SHA256 cf3652d9dba559907ddab686e496f312cb0fc0fa0f4a54a1fd13332c6501cee6 SHA512 0ffb7e2878d60b4ccebb5005e829a3755a370ee3eb9e0a71d76d73c71bf2a7723927c6404a13111a314ba0c61ff8b0e5c1c7d8cd5d1f55f48ed6b3fdce7593f5 WHIRLPOOL e2587913198a18af314c3391dda687c4b86b604752d1c21df72b658e02c98cb62c11a70fd5b6a61cdb83e4789376ba2fa9e54e1d6aa7d12d437196f71642262e
+EBUILD esdl-1.2.ebuild 1067 SHA256 0952fde79455cf54b319ca3b8ea3723f4ee1d553e341353d102ea54ba93a09a8 SHA512 c95e9e75e026818ad7bbefd4ac2a96cc5dd429f287f38bde5526205ef4bfa1a3567d5f023a2880675bfe2514912c998181387e337b50fcdf2041da7c17743607 WHIRLPOOL ee06a894a01fc3d123bf32c3ba28e3d41da4c691f102f9c1b81b4c656fca2b434e46c9e8bf081b7af32094a35fea8b5365f2eb0826375d8bc32a32201ffd577f
+EBUILD esdl-1.3.1.ebuild 806 SHA256 2f7067e09bc10f1eac8e045f0f4446c6d525be3454a480047f7a6818758a625a SHA512 81a067091d43562e7bcab6bcc193a8f8909932630f3d096ef9fb5c8872d542db659a25152268176bd33c7e8b4176bfa96684934a76ad2717a874175e49eff972 WHIRLPOOL 29d96123ec06fe38896345fcd27253682dee114fa763bdd45e5f68fee4e2a047915e4427e989ee0254079121b9192b03f2557a4be34a43f8091aeeb3bb723277
+MISC ChangeLog 2880 SHA256 e2128ec336c0598c588c469e1495853fcd61878100eccdeef7e0ce90b6f808e6 SHA512 9bf4210d54eb6f827b58a7e837274a61b4f94adf026352a3d440b63e88a7ffde8ff3d0b905e740db34d35b0f59fe9d11389814213166db967a082a6bd40e412e WHIRLPOOL 4a14ed7efae7cd3f34a10a868035c497ec7dd6fa4e66975acc3a959803992f39d8526d0ab4b9ce4a0d55ca6c53569d87804f5ed8825d4ca9ca1581ae50bd2550
+MISC ChangeLog-2015 3170 SHA256 aa8d7614302577c94f35e27e542863834b75f3935fbdb0577919d2296d8153a5 SHA512 ccc7552d780c9a843a2d099b65b4c7a6aee8d15de525fc453ecec184f8830bdc70891f8c61a5ca3869e7582f749c9f92167e7801d5a6595238ce1126d6d2357b WHIRLPOOL 4949f7e60c5aad7e70cf80b37ac3ec8d3c5c0ad6c210ad4e75a40d9addea0bccef591f7ea185ea7d0a1b0b3f445cdf37a335b27215766d72940f11966aac1dac
+MISC metadata.xml 666 SHA256 c1d8b20cce6d8fa985cafad7057ec6e1e22273716ea7cab6cca06a762bf1f84d SHA512 f27a7eee8bd4b88e9239bcea08dff2e4f79b654c1b63b6aaa2f79461acaba0950cbe3ad2875ad6b667b21ecbcaf6704ddc1d47640630fe1cd2a5e24b72a3aef4 WHIRLPOOL 3f9700c159273daffef6c57e2d91dc53cb27700707aaa307fb9452010388a669b57336beda221361a6d2001995b3f368b4cbd29106c12fe19b5eb018545e9a07
diff --git a/media-libs/esdl/esdl-1.0.1.ebuild b/media-libs/esdl/esdl-1.0.1.ebuild
new file mode 100644
index 000000000000..6e37cb922e3a
--- /dev/null
+++ b/media-libs/esdl/esdl-1.0.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-13
+ >=media-libs/libsdl-1.2.5[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"
+}
diff --git a/media-libs/esdl/esdl-1.2.ebuild b/media-libs/esdl/esdl-1.2.ebuild
new file mode 100644
index 000000000000..81322a9d83b2
--- /dev/null
+++ b/media-libs/esdl/esdl-1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+}
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..1ce1fdc89b8b
--- /dev/null
+++ b/media-libs/esdl/esdl-1.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ppc64 ~x86"
+IUSE="image truetype"
+
+RDEPEND="
+ >=dev-lang/erlang-14[wxwidgets]
+ 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
+}
diff --git a/media-libs/esdl/metadata.xml b/media-libs/esdl/metadata.xml
new file mode 100644
index 000000000000..22ffd472bec3
--- /dev/null
+++ b/media-libs/esdl/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <longdescription>
+ESDL - What is that?
+
+It is library that gives you access to SDL and Opengl
+functionality in your erlang program.
+SDL handles 2d graphics, user events and audio while
+Opengl handles 3d graphics. More information.
+</longdescription>
+ <use>
+ <flag name="image">Enable image support</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">esdl</remote-id>
+ </upstream>
+</pkgmetadata>