From 510ee00b28d609f9072944886fbba9047e4a6128 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 29 Dec 2018 12:11:36 +0000 Subject: [PATCH] games-emulation/dosbox: Add core-inline USE flag for performance Closes: https://bugs.gentoo.org/673932 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: James Le Cuirot --- games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild | 3 ++- games-emulation/dosbox/dosbox-9999.ebuild | 3 ++- games-emulation/dosbox/metadata.xml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild index e10196bb2d21..f6a503b6b2a4 100644 --- a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild +++ b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild @@ -16,7 +16,7 @@ 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 X" +IUSE="alsa +core-inline debug glide hardened opengl X" RDEPEND="alsa? ( media-libs/alsa-lib ) glide? ( media-libs/openglide ) @@ -49,6 +49,7 @@ src_configure() { ac_cv_lib_X11_main=$(usex X yes no) \ econf \ $(use_enable alsa alsa-midi) \ + $(use_enable core-inline) \ $(use_enable !hardened dynamic-core) \ $(use_enable !hardened dynamic-x86) \ $(use_enable debug) \ diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild index 4c6bd555931f..421603aa2fd0 100644 --- a/games-emulation/dosbox/dosbox-9999.ebuild +++ b/games-emulation/dosbox/dosbox-9999.ebuild @@ -21,7 +21,7 @@ HOMEPAGE="http://dosbox.sourceforge.net/" LICENSE="GPL-2" SLOT="0" -IUSE="alsa debug glide hardened opengl X" +IUSE="alsa +core-inline debug glide hardened opengl X" DEPEND="alsa? ( media-libs/alsa-lib ) glide? ( media-libs/openglide ) @@ -55,6 +55,7 @@ src_configure() { ac_cv_lib_X11_main=$(usex X yes no) \ econf \ $(use_enable alsa alsa-midi) \ + $(use_enable core-inline) \ $(use_enable !hardened dynamic-core) \ $(use_enable !hardened dynamic-x86) \ $(use_enable debug) \ diff --git a/games-emulation/dosbox/metadata.xml b/games-emulation/dosbox/metadata.xml index 4c30301896f0..791f145ba089 100644 --- a/games-emulation/dosbox/metadata.xml +++ b/games-emulation/dosbox/metadata.xml @@ -14,6 +14,7 @@ dosbox + Enable memory-increasing inlines for better performance but requiring more build time Enable unofficial Glide emulation via media-libs/openglide -- 2.26.2