From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B951C1382C5 for ; Wed, 23 Jun 2021 03:31:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE4B1E081A; Wed, 23 Jun 2021 03:31:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4AA05E081A for ; Wed, 23 Jun 2021 03:31:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D911C33D3C7 for ; Wed, 23 Jun 2021 03:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 553617A1 for ; Wed, 23 Jun 2021 03:31:53 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1624418963.54be0f79213bfbb565e2c52e519d067aa243dba8.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/epiar/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/epiar/epiar-0.5.1-r1.ebuild games-arcade/epiar/epiar-0.5.1.ebuild X-VCS-Directories: games-arcade/epiar/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 54be0f79213bfbb565e2c52e519d067aa243dba8 X-VCS-Branch: master Date: Wed, 23 Jun 2021 03:31:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6b02256d-57ca-49d1-9ae4-5783241d15e5 X-Archives-Hash: 20b81321e26728b28ec696db6fab1150 commit: 54be0f79213bfbb565e2c52e519d067aa243dba8 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 23 03:11:15 2021 +0000 Commit: Ionen Wolkens gentoo 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 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 +}