1 |
commit: 510ee00b28d609f9072944886fbba9047e4a6128 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 12:11:36 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 12:15:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=510ee00b |
7 |
|
8 |
games-emulation/dosbox: Add core-inline USE flag for performance |
9 |
|
10 |
Closes: https://bugs.gentoo.org/673932 |
11 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild | 3 ++- |
15 |
games-emulation/dosbox/dosbox-9999.ebuild | 3 ++- |
16 |
games-emulation/dosbox/metadata.xml | 1 + |
17 |
3 files changed, 5 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild |
20 |
index e10196bb2d2..f6a503b6b2a 100644 |
21 |
--- a/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild |
22 |
+++ b/games-emulation/dosbox/dosbox-0.74_p20160629-r2.ebuild |
23 |
@@ -16,7 +16,7 @@ SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip |
24 |
LICENSE="GPL-2" |
25 |
SLOT="0" |
26 |
KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
27 |
-IUSE="alsa debug glide hardened opengl X" |
28 |
+IUSE="alsa +core-inline debug glide hardened opengl X" |
29 |
|
30 |
RDEPEND="alsa? ( media-libs/alsa-lib ) |
31 |
glide? ( media-libs/openglide ) |
32 |
@@ -49,6 +49,7 @@ src_configure() { |
33 |
ac_cv_lib_X11_main=$(usex X yes no) \ |
34 |
econf \ |
35 |
$(use_enable alsa alsa-midi) \ |
36 |
+ $(use_enable core-inline) \ |
37 |
$(use_enable !hardened dynamic-core) \ |
38 |
$(use_enable !hardened dynamic-x86) \ |
39 |
$(use_enable debug) \ |
40 |
|
41 |
diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild |
42 |
index 4c6bd555931..421603aa2fd 100644 |
43 |
--- a/games-emulation/dosbox/dosbox-9999.ebuild |
44 |
+++ b/games-emulation/dosbox/dosbox-9999.ebuild |
45 |
@@ -21,7 +21,7 @@ HOMEPAGE="http://dosbox.sourceforge.net/" |
46 |
|
47 |
LICENSE="GPL-2" |
48 |
SLOT="0" |
49 |
-IUSE="alsa debug glide hardened opengl X" |
50 |
+IUSE="alsa +core-inline debug glide hardened opengl X" |
51 |
|
52 |
DEPEND="alsa? ( media-libs/alsa-lib ) |
53 |
glide? ( media-libs/openglide ) |
54 |
@@ -55,6 +55,7 @@ src_configure() { |
55 |
ac_cv_lib_X11_main=$(usex X yes no) \ |
56 |
econf \ |
57 |
$(use_enable alsa alsa-midi) \ |
58 |
+ $(use_enable core-inline) \ |
59 |
$(use_enable !hardened dynamic-core) \ |
60 |
$(use_enable !hardened dynamic-x86) \ |
61 |
$(use_enable debug) \ |
62 |
|
63 |
diff --git a/games-emulation/dosbox/metadata.xml b/games-emulation/dosbox/metadata.xml |
64 |
index 4c30301896f..791f145ba08 100644 |
65 |
--- a/games-emulation/dosbox/metadata.xml |
66 |
+++ b/games-emulation/dosbox/metadata.xml |
67 |
@@ -14,6 +14,7 @@ |
68 |
<remote-id type="sourceforge">dosbox</remote-id> |
69 |
</upstream> |
70 |
<use> |
71 |
+ <flag name="core-inline">Enable memory-increasing inlines for better performance but requiring more build time</flag> |
72 |
<flag name="glide">Enable unofficial Glide emulation via media-libs/openglide</flag> |
73 |
</use> |
74 |
</pkgmetadata> |