diff options
Diffstat (limited to 'media-libs/esdl')
-rw-r--r-- | media-libs/esdl/Manifest | 3 | ||||
-rw-r--r-- | media-libs/esdl/esdl-1.3.1-r1.ebuild | 37 | ||||
-rw-r--r-- | media-libs/esdl/esdl-1.3.1.ebuild | 4 |
3 files changed, 41 insertions, 3 deletions
diff --git a/media-libs/esdl/Manifest b/media-libs/esdl/Manifest index 78833ccc39f7..986b118411cd 100644 --- a/media-libs/esdl/Manifest +++ b/media-libs/esdl/Manifest @@ -1,3 +1,4 @@ DIST esdl-1.3.1.src.tgz 308475 BLAKE2B 258d4c774ee56cf1c4afbb1f0a712cd42a1ca5742c7dde6c03b3f297351d3c3cda918491ad58338551450fb68ea29da04477c4057cebb7ffa81b9bba25a918b7 SHA512 66e8f69fa29fc0400f58dfa892656e00536a481a3dc364b9b295aee98818ff325f6475a009287352520ef428941e866b46e6f0267a7df184831c87b9304d385d -EBUILD esdl-1.3.1.ebuild 788 BLAKE2B 56456e0cbe38af7e8f6513276f6d2dc993a3b3eb9833dcbf1d04ee89a0b86273d451564282e31243b666a53f6a3af7a8c00235d4e8a2db94833cd124e8818ec0 SHA512 5526fdc7dee78c8d86b3ca2630ab085b35babb9527879efebc4d944bbde1d2df8815e9fc944b1760c1d80f9865da09e006b0cc6680dd947acac68e6269a402f3 +EBUILD esdl-1.3.1-r1.ebuild 777 BLAKE2B 37b2035d7fa205c9a072ab03d031a8fc79754277a0750a369fd71f622901e79530c00e94a66e7862d2aaed4f1c5165066e72617e601df8cc3f42897bbd3f6b14 SHA512 358281162a9f542f24aa7a875a01f070e9ad64ecf09816b2e49381291ae38e06f71bdf2ef6d5e5bb364cd2e1904eecebbdfcf5a0151888b6358849c6e5d0048a +EBUILD esdl-1.3.1.ebuild 789 BLAKE2B bee9dbe87f9239ecf4e342667e8ae6bc5429a82f925c5ca590ebfb4fbc95055b57b3f6029ba74b92a5fd235b42d16c71f2cd03fa1a71e74e775453e8779acfbb SHA512 eb4798da77adfe00b5d6836eaed8691211ae511a9cd6b13f8496f8db91ace4e4e398b4893b1625abcec0d88254c2b3a1d5728362185ab5280a63460be4bfe7d7 MISC metadata.xml 579 BLAKE2B 48c5bd34d44edbd6406adf00687ab48b6221389dd57f89051a8e2e98fb9d4318d8dd48bbd19071e927b2bc4f8992097eb70a21e1f0f05c552bdb841793125ccc SHA512 aece9e13238218dc397900565abeb0e2cbfbc1c058ff2c2b68126ed9cd26519f815c92cfc5fbe8eea2ed4b75960a643cca1d4a399d746473791a24c3893f7d29 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 +} diff --git a/media-libs/esdl/esdl-1.3.1.ebuild b/media-libs/esdl/esdl-1.3.1.ebuild index 914c6cb7ef44..80fb6155d9ee 100644 --- a/media-libs/esdl/esdl-1.3.1.ebuild +++ b/media-libs/esdl/esdl-1.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 inherit fixheadtails DESCRIPTION="Erlang bindings for the SDL library" -HOMEPAGE="http://esdl.sourceforge.net/" +HOMEPAGE="https://esdl.sourceforge.net/" SRC_URI="mirror://sourceforge/esdl/${P}.src.tgz" LICENSE="BSD" |