public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dgen-sdl/files/, games-emulation/dgen-sdl/
Date: Sun,  5 Jul 2020 00:24:37 +0000 (UTC)	[thread overview]
Message-ID: <1593908609.50d012f7120607d69c10e0938e16fa392bf699d7.soap@gentoo> (raw)

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.


                 reply	other threads:[~2020-07-05  0:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1593908609.50d012f7120607d69c10e0938e16fa392bf699d7.soap@gentoo \
    --to=soap@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