Lines 1-7
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 2002-2019 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI="7" |
5 |
|
5 |
|
6 |
inherit autotools eutils flag-o-matic pax-utils toolchain-funcs |
6 |
inherit autotools eutils flag-o-matic pax-utils toolchain-funcs |
7 |
|
7 |
|
Lines 18-47
SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz
Link Here
|
18 |
LICENSE="GPL-2" |
18 |
LICENSE="GPL-2" |
19 |
SLOT="0" |
19 |
SLOT="0" |
20 |
KEYWORDS="-* amd64 x86" |
20 |
KEYWORDS="-* amd64 x86" |
21 |
IUSE="X svga gpm debug alsa sndfile fluidsynth" |
21 |
IUSE="X alsa debug fluidsynth gpm svga" |
22 |
|
22 |
|
23 |
RDEPEND="X? ( x11-libs/libX11 |
23 |
BDEPEND="app-arch/unzip |
24 |
x11-libs/libXxf86vm |
24 |
X? ( |
25 |
x11-libs/libXau |
|
|
26 |
x11-libs/libXext |
27 |
x11-libs/libXdmcp |
28 |
x11-apps/xset |
29 |
x11-apps/xlsfonts |
30 |
x11-apps/bdftopcf |
25 |
x11-apps/bdftopcf |
31 |
>=x11-apps/mkfontscale-1.2.0 ) |
26 |
>=x11-apps/mkfontscale-1.2.0 |
32 |
svga? ( media-libs/svgalib ) |
27 |
)" |
33 |
gpm? ( sys-libs/gpm ) |
28 |
COMMON_DEPEND="media-libs/libsdl |
|
|
29 |
>=sys-libs/slang-1.4 |
30 |
X? ( |
31 |
x11-libs/libX11 |
32 |
x11-libs/libXext |
33 |
x11-libs/libXxf86vm |
34 |
) |
34 |
alsa? ( media-libs/alsa-lib ) |
35 |
alsa? ( media-libs/alsa-lib ) |
35 |
sndfile? ( media-libs/libsndfile ) |
36 |
fluidsynth? ( |
36 |
fluidsynth? ( media-sound/fluidsynth |
37 |
media-sound/fluid-soundfont |
37 |
media-sound/fluid-soundfont ) |
38 |
media-sound/fluidsynth |
38 |
media-libs/libsdl |
39 |
) |
39 |
>=sys-libs/slang-1.4" |
40 |
gpm? ( sys-libs/gpm ) |
40 |
|
41 |
svga? ( media-libs/svgalib )" |
41 |
DEPEND="${RDEPEND} |
42 |
# sndfile? ( media-libs/libsndfile ) |
42 |
app-arch/unzip |
43 |
DEPEND="${COMMON_DEPEND} |
43 |
X? ( x11-base/xorg-proto ) |
44 |
X? ( x11-base/xorg-proto )" |
44 |
>=sys-devel/autoconf-2.57" |
45 |
RDEPEND="${COMMON_DEPEND} |
|
|
46 |
X? ( x11-apps/xset )" |
45 |
|
47 |
|
46 |
S="${WORKDIR}/${PN}-code-${COMMIT}" |
48 |
S="${WORKDIR}/${PN}-code-${COMMIT}" |
47 |
|
49 |
|
Lines 79-91
src_configure() {
Link Here
|
79 |
fi |
81 |
fi |
80 |
fi |
82 |
fi |
81 |
|
83 |
|
|
|
84 |
# sndfile support is unconditionally disabled in src/plugin/sndfile/snd_o_wav.c |
82 |
econf $(use_with X x) \ |
85 |
econf $(use_with X x) \ |
83 |
$(use_with svga svgalib) \ |
86 |
$(use_with svga svgalib) \ |
84 |
$(use_enable debug) \ |
87 |
$(use_enable debug) \ |
85 |
$(use_with gpm) \ |
88 |
$(use_with gpm) \ |
86 |
$(use_with alsa) \ |
89 |
$(use_with alsa) \ |
87 |
$(use_with sndfile) \ |
|
|
88 |
$(use_with fluidsynth) \ |
90 |
$(use_with fluidsynth) \ |
|
|
91 |
--without-sndfile \ |
89 |
--with-fdtarball="${DISTDIR}"/${P_FD}.tgz \ |
92 |
--with-fdtarball="${DISTDIR}"/${P_FD}.tgz \ |
90 |
--sysconfdir="${EPREFIX}"/etc/dosemu/ \ |
93 |
--sysconfdir="${EPREFIX}"/etc/dosemu/ \ |
91 |
--with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
94 |
--with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
92 |
- |
|
|