public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/
Date: Fri, 21 Aug 2020 13:20:08 +0000 (UTC)	[thread overview]
Message-ID: <1598015994.b543b99a457e15cff0389a7954fa9641cb5eac10.voyageur@gentoo> (raw)

commit:     b543b99a457e15cff0389a7954fa9641cb5eac10
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 13:17:45 2020 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 13:19:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b543b99a

games-emulation/dosbox-staging: fix sdl2-net dep

Also add a USE-flag for it

Closes: https://bugs.gentoo.org/738360
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 .../dosbox-staging/dosbox-staging-0.75.1-r1.ebuild | 50 ++++++++++++++++++++++
 games-emulation/dosbox-staging/metadata.xml        |  1 +
 2 files changed, 51 insertions(+)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
new file mode 100644
index 00000000000..dbebde3b22e
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools desktop
+
+DESCRIPTION="Modernized DOSBox soft-fork"
+HOMEPAGE="https://dosbox-staging.github.io/"
+SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug dynrec network opengl opus"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+	debug? ( sys-libs/ncurses:0= )
+	network? ( media-libs/sdl2-net )
+	opengl? ( virtual/opengl )
+	opus? ( media-libs/opusfile )
+	media-libs/libpng:0=
+	media-libs/libsdl2[joystick,opengl?,video,X]
+	sys-libs/zlib
+	!games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-pthread.patch )
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable alsa alsa-midi) \
+		$(use_enable debug) \
+		$(use_enable !dynrec dynamic-x86) \
+		$(use_enable dynrec) \
+		$(use_enable network) \
+		$(use_enable opengl) \
+		$(use_enable opus opus-cdda)
+}
+
+src_install() {
+	default
+	doicon contrib/icons/${PN}.svg
+	make_desktop_entry dosbox DOSBox-staging ${PN}
+}

diff --git a/games-emulation/dosbox-staging/metadata.xml b/games-emulation/dosbox-staging/metadata.xml
index ea78ea742a7..91406d636bc 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="dynrec">Use recompiling cpu core instead of dynamic x86/x64 specific cpu core</flag>
+		<flag name="network">Enable networking features (modem, ipx)</flag>
 		<flag name="opus">Support compressed audio tracks (.opus) used with CDROM images</flag>
 	</use>
 	<upstream>


             reply	other threads:[~2020-08-21 13:20 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21 13:20 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-14 10:47 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/ Bernard Cafarelli
2024-04-14 21:09 Bernard Cafarelli
2024-04-07 19:10 Bernard Cafarelli
2024-04-07 19:10 Bernard Cafarelli
2024-03-18  5:31 Sam James
2024-02-14 13:17 Bernard Cafarelli
2023-01-11 21:50 Bernard Cafarelli
2022-12-26 23:18 Mike Gilbert
2022-12-22 20:35 Bernard Cafarelli
2022-10-20 21:38 Bernard Cafarelli
2022-09-20 20:17 Bernard Cafarelli
2022-01-12 11:45 Bernard Cafarelli
2021-12-29 18:35 Bernard Cafarelli
2021-12-29 11:16 Bernard Cafarelli
2021-10-31 17:51 Sam James
2021-10-22 21:29 Bernard Cafarelli
2021-10-22 20:59 Bernard Cafarelli
2021-10-11  3:16 Sam James
2021-08-30 11:01 Bernard Cafarelli
2021-07-06  7:51 Bernard Cafarelli
2021-07-06  7:51 Bernard Cafarelli
2021-07-05 18:24 Bernard Cafarelli
2020-12-04 14:30 Bernard Cafarelli
2020-10-27 13:13 Bernard Cafarelli
2020-09-04 21:26 Bernard Cafarelli
2020-08-19 10:03 Bernard Cafarelli
2020-05-09 15:39 Bernard Cafarelli

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=1598015994.b543b99a457e15cff0389a7954fa9641cb5eac10.voyageur@gentoo \
    --to=voyageur@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