From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox/
Date: Sat, 29 Dec 2018 12:16:08 +0000 (UTC) [thread overview]
Message-ID: <1546085750.b765dc5d03b45bba1756ef66a5350d3e87deb16c.chewi@gentoo> (raw)
commit: b765dc5d03b45bba1756ef66a5350d3e87deb16c
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 12:01:55 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 12:15:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b765dc5d
games-emulation/dosbox: Make X11 dependency optional
The x11-libs/libX11 dependency was missing although this was
transitively covered by libsdl[X]. It's not really required though and
DOSBox detects it somewhat automagically. If libX11 is present but
libsdl was not built with X support then the build actually fails. For
these reasons, we have to forcibly disable X11 using an autoconf cache
variable.
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild | 6 ++++--
games-emulation/dosbox/dosbox-9999.ebuild | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild
index d9dccc1aa6a..14138bcda6d 100644
--- a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild
+++ b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild
@@ -16,14 +16,15 @@ SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="alsa debug glide hardened opengl"
+IUSE="alsa debug glide hardened opengl X"
RDEPEND="alsa? ( media-libs/alsa-lib )
glide? ( media-libs/openglide )
opengl? ( virtual/glu virtual/opengl )
debug? ( sys-libs/ncurses:0 )
+ X? ( x11-libs/libX11 )
media-libs/libpng:0
- media-libs/libsdl[joystick,opengl?,video,X]
+ media-libs/libsdl[joystick,opengl?,video,X?]
media-libs/sdl-net
media-libs/sdl-sound"
DEPEND="${RDEPEND}
@@ -44,6 +45,7 @@ src_prepare() {
src_configure() {
use glide && append-cppflags -I"${EPREFIX}"/usr/include/openglide
+ ac_cv_lib_X11_main=$(usex X yes no) \
econf \
$(use_enable alsa alsa-midi) \
$(use_enable !hardened dynamic-core) \
diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild
index a5bfff9c4f3..c8d3998bd01 100644
--- a/games-emulation/dosbox/dosbox-9999.ebuild
+++ b/games-emulation/dosbox/dosbox-9999.ebuild
@@ -21,12 +21,13 @@ HOMEPAGE="http://dosbox.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="alsa debug glide hardened opengl"
+IUSE="alsa debug glide hardened opengl X"
DEPEND="alsa? ( media-libs/alsa-lib )
glide? ( media-libs/openglide )
opengl? ( virtual/glu virtual/opengl )
debug? ( sys-libs/ncurses:0 )
+ X? ( x11-libs/libX11 )
media-libs/libpng:0
media-libs/libsdl[joystick,opengl?,video,X]
media-libs/sdl-net
@@ -50,6 +51,7 @@ src_prepare() {
src_configure() {
use glide && append-cppflags -I"${EPREFIX}"/usr/include/openglide
+ ac_cv_lib_X11_main=$(usex X yes no) \
econf \
$(use_enable alsa alsa-midi) \
$(use_enable !hardened dynamic-core) \
next reply other threads:[~2018-12-29 12:16 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-29 12:16 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 0:20 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox/ Eli Schwartz
2023-09-28 1:19 Sam James
2023-09-27 8:33 Sam James
2023-09-27 6:22 Sam James
2021-04-04 7:22 Sam James
2021-02-24 20:47 James Le Cuirot
2020-01-05 19:45 Agostino Sarubbo
2020-01-05 19:43 Agostino Sarubbo
2020-01-05 18:45 Agostino Sarubbo
2020-01-01 22:56 James Le Cuirot
2020-01-01 22:56 James Le Cuirot
2020-01-01 22:56 James Le Cuirot
2019-06-09 19:22 Sergei Trofimovich
2019-01-05 19:43 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-12-29 12:16 James Le Cuirot
2018-08-27 21:16 James Le Cuirot
2018-01-11 14:54 Bernard Cafarelli
2017-01-20 16:21 David Seifert
2016-12-14 23:12 James Le Cuirot
2016-10-30 20:05 Sven Wegener
2016-08-24 19:07 NP Hardass
2016-08-24 19:07 NP Hardass
2016-06-29 22:23 William Hubbs
2016-06-28 17:35 Michael Sterrett
2016-06-28 14:51 Michael Sterrett
2016-06-28 13:59 Patrice Clement
2015-11-22 3:35 Michael Sterrett
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=1546085750.b765dc5d03b45bba1756ef66a5350d3e87deb16c.chewi@gentoo \
--to=chewi@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