logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: b4c22ace5c8cd25b932d044b9f2863eac7dc2958
parent bf17d67d8c4d79ed0d5cb96d8dfc362414dd7197
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  5 May 2021 09:12:21 +0200

games-arcade/emilia-pinball: New package

Diffstat:

Agames-arcade/emilia-pinball/emilia-pinball-9999.ebuild40++++++++++++++++++++++++++++++++++++++++
Agames-arcade/emilia-pinball/metadata.xml10++++++++++
2 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/games-arcade/emilia-pinball/emilia-pinball-9999.ebuild b/games-arcade/emilia-pinball/emilia-pinball-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ "${PV}" == "9999" ]] +then + EGIT_REPO_URI="https://github.com/adoptware/pinball" + inherit git-r3 +else + MY_P="pinball-${PV}" + SRC_URI="https://github.com/rzr/pinball/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64 ~ppc ~sparc ~x86" +fi + +DESCRIPTION="SDL OpenGL pinball game" +HOMEPAGE="http://pinball.sourceforge.net/ https://github.com/rzr/pinball" + +LICENSE="GPL-2" +SLOT="0" +IUSE="gles1" + +# Note: media-libs/libsdl2::gentoo doesn't have USE=gles1 yet +RDEPEND=" + media-libs/libsdl2[joystick,opengl,video,gles1?] + virtual/opengl +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + default + ./bootstrap || die +} + +src_configure() { + econf $(use_enable gles1 opengles1) +} diff --git a/games-arcade/emilia-pinball/metadata.xml b/games-arcade/emilia-pinball/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person" proxied="yes"> + <email>contact@hacktivis.me</email> +</maintainer> +<use> + <flag name="gles1">include OpenGL ES 1.0 support</flag> +</use> +</pkgmetadata>