games-emulation/dosbox: Add core-inline USE flag for performance
authorJames Le Cuirot <chewi@gentoo.org>
Sat, 29 Dec 2018 12:11:36 +0000 (12:11 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 29 Dec 2018 12:15:53 +0000 (12:15 +0000)
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>
games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild
games-emulation/dosbox/dosbox-9999.ebuild
games-emulation/dosbox/metadata.xml

index e10196bb2d21523b530cbac9ed3f01a207a45442..f6a503b6b2a4d24cc0b521af8b9fd1890c9f825a 100644 (file)
@@ -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) \
index 4c6bd555931fc4d400aaed5e7f8f36cf84511bda..421603aa2fd025ed22b6921519ebbacde665034f 100644 (file)
@@ -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) \
index 4c30301896f00ef23181597043024aa2fc99c3a5..791f145ba089631b1e0d4ac0d9efe5165df54764 100644 (file)
@@ -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>