From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/emilia-pinball/
Date: Thu, 14 Aug 2025 05:09:15 +0000 (UTC)	[thread overview]
Message-ID: <1755147929.caf13ee3aa8f9fd6a9cdc883e772cd6ac207cb0b.eschwartz@gentoo> (raw)
commit:     caf13ee3aa8f9fd6a9cdc883e772cd6ac207cb0b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 14 04:27:49 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 05:05:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf13ee3
games-arcade/emilia-pinball: update EAPI 7 -> 8
Fixes building the same libraries as both static and shared.
Closes: https://bugs.gentoo.org/891049
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
 .../emilia-pinball/emilia-pinball-0.3.1-r4.ebuild  | 76 ++++++++++++++++++++++
 1 file changed, 76 insertions(+)
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r4.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r4.ebuild
new file mode 100644
index 000000000000..c8c49901d77b
--- /dev/null
+++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop
+
+MY_PN=${PN/emilia-/}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="SDL OpenGL pinball game"
+HOMEPAGE="https://pinball.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/pinball/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+	dev-libs/libltdl:0
+	media-libs/libsdl[joystick,opengl,video,X]
+	media-libs/sdl-image[png]
+	media-libs/sdl-mixer[vorbis]
+	x11-libs/libICE
+	x11-libs/libSM
+	virtual/opengl
+	virtual/glu
+"
+DEPEND="
+	${DEPEND}
+	x11-libs/libXt
+"
+
+RDEPEND+=" acct-group/gamestat"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-glibc210.patch
+	"${FILESDIR}"/${P}-libtool.patch
+	"${FILESDIR}"/${P}-gcc46.patch
+	"${FILESDIR}"/${P}-parallel.patch
+)
+
+src_prepare() {
+	# bug #334899
+	sed -i -e '/dnl/d' {src,test}/Makefile.am || die
+
+	default
+
+	rm -rf libltdl || die
+	eautoreconf
+}
+
+src_configure() {
+	econf --with-x
+}
+
+src_compile() {
+	emake CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+	default
+
+	dosym pinball /usr/bin/emilia-pinball
+
+	sed -i \
+		-e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \
+		"${ED}"/usr/bin/pinball-config || die
+
+	newicon data/pinball.xpm ${PN}.xpm
+	make_desktop_entry emilia-pinball "Emilia pinball"
+
+	fperms -R 660 /var/games/pinball
+	fowners -R root:gamestat /usr/bin/pinball /var/games/pinball
+	fperms g+s /usr/bin/pinball
+}
next             reply	other threads:[~2025-08-14  5:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14  5:09 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-02  3:02 [gentoo-commits] repo/gentoo:master commit in: games-arcade/emilia-pinball/ Eli Schwartz
2025-08-14  5:09 Eli Schwartz
2025-08-14  5:09 Eli Schwartz
2021-12-17  7:51 Arthur Zamarin
2021-08-23  4:06 Sam James
2018-08-26 11:01 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=1755147929.caf13ee3aa8f9fd6a9cdc883e772cd6ac207cb0b.eschwartz@gentoo \
    --to=eschwartz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox