commit: 510ee00b28d609f9072944886fbba9047e4a6128 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Dec 29 12:11:36 2018 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Dec 29 12:15:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=510ee00b
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 <chewi <AT> gentoo.org> 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 e10196bb2d2..f6a503b6b2a 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 4c6bd555931..421603aa2fd 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 4c30301896f..791f145ba08 100644 --- a/games-emulation/dosbox/metadata.xml +++ b/games-emulation/dosbox/metadata.xml @@ -14,6 +14,7 @@ <remote-id type="sourceforge">dosbox</remote-id> </upstream> <use> + <flag name="core-inline">Enable memory-increasing inlines for better performance but requiring more build time</flag> <flag name="glide">Enable unofficial Glide emulation via media-libs/openglide</flag> </use> </pkgmetadata>
