* [gentoo-commits] repo/gentoo:master commit in: games-emulation/dgen-sdl/files/, games-emulation/dgen-sdl/
@ 2020-07-05 0:24 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-07-05 0:24 UTC (permalink / raw
To: gentoo-commits
commit: 50d012f7120607d69c10e0938e16fa392bf699d7
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 5 00:23:29 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 5 00:23:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50d012f7
games-emulation/dgen-sdl: Call AM_PROG_AR
Closes: https://bugs.gentoo.org/724410
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap <AT> gentoo.org>
games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild | 29 ++++++++++++++--------
.../dgen-sdl/files/dgen-sdl-1.33-AM_PROG_AR.patch | 10 ++++++++
2 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild b/games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild
index 5d9acdc094b..c80d660bf3e 100644
--- a/games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild
+++ b/games-emulation/dgen-sdl/dgen-sdl-1.33-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit autotools
DESCRIPTION="A Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator"
HOMEPAGE="http://dgen.sourceforge.net/"
@@ -15,13 +17,19 @@ IUSE="joystick opengl"
RDEPEND="
media-libs/libsdl[joystick?,opengl?]
app-arch/libarchive
- opengl? ( virtual/opengl )
-"
-DEPEND="${RDEPEND}
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=( "${FILESDIR}"/${P}-joystick.patch )
+ opengl? ( virtual/opengl )"
+DEPEND="${RDEPEND}"
+BDEPEND="x86? ( dev-lang/nasm )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-joystick.patch
+ "${FILESDIR}"/${P}-AM_PROG_AR.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
src_configure() {
econf \
@@ -36,5 +44,6 @@ src_compile() {
}
src_install() {
- DOCS="AUTHORS ChangeLog README sample.dgenrc" default
+ default
+ dodoc sample.dgenrc
}
diff --git a/games-emulation/dgen-sdl/files/dgen-sdl-1.33-AM_PROG_AR.patch b/games-emulation/dgen-sdl/files/dgen-sdl-1.33-AM_PROG_AR.patch
new file mode 100644
index 00000000000..e04efcc01f3
--- /dev/null
+++ b/games-emulation/dgen-sdl/files/dgen-sdl-1.33-AM_PROG_AR.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,6 +25,7 @@
+ AC_PROG_CXXCPP
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
++AM_PROG_AR
+ AC_PROG_RANLIB
+
+ dnl Set the value of make, if make doesn't already.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-05 0:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-05 0:24 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dgen-sdl/files/, games-emulation/dgen-sdl/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox