diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-12-29 12:11:36 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-12-29 12:15:53 +0000 |
commit | 510ee00b28d609f9072944886fbba9047e4a6128 (patch) | |
tree | 6564111685a290bdcdfd67e24a2cd39ce47455db /games-emulation/dosbox | |
parent | games-emulation/dosbox: Fix libpng and zlib dependencies (diff) | |
download | gentoo-510ee00b28d609f9072944886fbba9047e4a6128.tar.gz gentoo-510ee00b28d609f9072944886fbba9047e4a6128.tar.bz2 gentoo-510ee00b28d609f9072944886fbba9047e4a6128.zip |
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@gentoo.org>
Diffstat (limited to 'games-emulation/dosbox')
-rw-r--r-- | games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild | 3 | ||||
-rw-r--r-- | games-emulation/dosbox/dosbox-9999.ebuild | 3 | ||||
-rw-r--r-- | 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 @@ <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> |