public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/epiar/
Date: Wed, 23 Jun 2021 03:31:53 +0000 (UTC)	[thread overview]
Message-ID: <1624418963.54be0f79213bfbb565e2c52e519d067aa243dba8.ionen@gentoo> (raw)

commit:     54be0f79213bfbb565e2c52e519d067aa243dba8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 23 03:11:15 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun 23 03:29:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54be0f79

games-arcade/epiar: fix startup, update deps

Unsure when this last worked, but it tries to load a missing
font path and either fails on assert failure or segfaults if
-DNDEBUG.

For now just install the font.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../{epiar-0.5.1.ebuild => epiar-0.5.1-r1.ebuild}  | 32 +++++++++++-----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/games-arcade/epiar/epiar-0.5.1.ebuild b/games-arcade/epiar/epiar-0.5.1-r1.ebuild
similarity index 63%
rename from games-arcade/epiar/epiar-0.5.1.ebuild
rename to games-arcade/epiar/epiar-0.5.1-r1.ebuild
index 83ff1fd13f1..ba4c0b862a2 100644
--- a/games-arcade/epiar/epiar-0.5.1.ebuild
+++ b/games-arcade/epiar/epiar-0.5.1-r1.ebuild
@@ -6,34 +6,26 @@ EAPI=7
 LUA_COMPAT=( lua5-1 )
 inherit autotools lua-single
 
-DESCRIPTION="A space adventure/combat game"
+DESCRIPTION="Space adventure/combat game"
 HOMEPAGE="https://epiar.net/"
 SRC_URI="https://github.com/cthielen/Epiar/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 RDEPEND="
+	${LUA_DEPS}
 	dev-games/physfs
 	dev-libs/libxml2
 	media-libs/ftgl
-	media-libs/libsdl[video]
+	media-libs/libsdl[opengl,sound,video]
 	media-libs/sdl-image[png]
-	media-libs/sdl-mixer
-	${LUA_DEPS}
-"
-DEPEND="
-	${RDEPEND}
-	x11-libs/libX11
-	virtual/opengl
-"
-BDEPEND="
-	app-arch/unzip
-	virtual/pkgconfig
-"
+	media-libs/sdl-mixer[vorbis]
+	virtual/opengl"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.5.1-unbundle-lua5.1.patch
@@ -44,7 +36,15 @@ src_prepare() {
 	default
 
 	# Remove bundled Lua 5.1
-	rm -rf source/lua || die
+	rm -r source/lua || die
 
 	eautoreconf
 }
+
+src_install() {
+	default
+
+	# Game fails to start without this otherwise missing font.
+	insinto /usr/share/epiar/resources/Fonts
+	doins resources/Fonts/FreeSansBold.ttf
+}


             reply	other threads:[~2021-06-23  3:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  3:31 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-29 13:30 [gentoo-commits] repo/gentoo:master commit in: games-arcade/epiar/ David Seifert
2022-09-26 15:43 David Seifert
2021-04-07  8:11 Sam James
2021-04-07  1:58 Sam James
2021-04-07  1:58 Sam James
2019-03-17 21:58 James Le Cuirot

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=1624418963.54be0f79213bfbb565e2c52e519d067aa243dba8.ionen@gentoo \
    --to=ionen@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