commit:     245433f13fe772c0e87ee2e375e25f0fdbf2b464
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jul  5 08:46:22 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jul  5 20:48:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245433f1

media-libs/esdl: EAPI8 bump

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31762
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-libs/esdl/esdl-1.3.1-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/media-libs/esdl/esdl-1.3.1-r1.ebuild 
b/media-libs/esdl/esdl-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..0908e7ca6aed
--- /dev/null
+++ b/media-libs/esdl/esdl-1.3.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Erlang bindings for the SDL library"
+HOMEPAGE="https://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}"
+BDEPEND="dev-util/rebar:0"
+
+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
+}

Reply via email to