summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/dosbox')
-rw-r--r--games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild3
-rw-r--r--games-emulation/dosbox/dosbox-9999.ebuild3
-rw-r--r--games-emulation/dosbox/metadata.xml1
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>