1 |
commit: fe2dbcf97dfbc6249be25ac81d31991683ff0f07 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 28 20:39:27 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 20:40:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2dbcf9 |
7 |
|
8 |
app-emulation/dosemu: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
.../dosemu/dosemu-1.4.1_pre20130107-r3.ebuild | 87 ---------------------- |
13 |
1 file changed, 87 deletions(-) |
14 |
|
15 |
diff --git a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r3.ebuild b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 59a9fdf16d5..00000000000 |
18 |
--- a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,87 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit autotools eutils flag-o-matic pax-utils toolchain-funcs |
27 |
- |
28 |
-P_FD="dosemu-freedos-1.0-bin" |
29 |
-COMMIT="15cfb41ff20a052769d753c3262c57ecb050ad71" |
30 |
- |
31 |
-DESCRIPTION="DOS Emulator" |
32 |
-HOMEPAGE="http://www.dosemu.org/" |
33 |
-SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz |
34 |
- https://sourceforge.net/code-snapshots/git/d/do/dosemu/code.git/dosemu-code-${COMMIT}.zip -> ${P}.zip" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="-* amd64 x86" |
39 |
-IUSE="X svga gpm debug alsa sndfile fluidsynth" |
40 |
- |
41 |
-RDEPEND="X? ( x11-libs/libX11 |
42 |
- x11-libs/libXxf86vm |
43 |
- x11-libs/libXau |
44 |
- x11-libs/libXext |
45 |
- x11-libs/libXdmcp |
46 |
- x11-apps/xset |
47 |
- x11-apps/xlsfonts |
48 |
- x11-apps/bdftopcf |
49 |
- x11-apps/mkfontdir ) |
50 |
- svga? ( media-libs/svgalib ) |
51 |
- gpm? ( sys-libs/gpm ) |
52 |
- alsa? ( media-libs/alsa-lib ) |
53 |
- sndfile? ( media-libs/libsndfile ) |
54 |
- fluidsynth? ( media-sound/fluidsynth |
55 |
- media-sound/fluid-soundfont ) |
56 |
- media-libs/libsdl |
57 |
- >=sys-libs/slang-1.4" |
58 |
- |
59 |
-DEPEND="${RDEPEND} |
60 |
- X? ( x11-proto/xf86dgaproto ) |
61 |
- >=sys-devel/autoconf-2.57" |
62 |
- |
63 |
-S="${WORKDIR}/${PN}-code-${COMMIT}" |
64 |
- |
65 |
-src_prepare() { |
66 |
- epatch "${FILESDIR}"/${P}-fortify.patch |
67 |
- epatch "${FILESDIR}"/${PN}-1.4.1_pre20091009-dash.patch |
68 |
- epatch "${FILESDIR}"/${P}-no-glibc.patch |
69 |
- epatch "${FILESDIR}"/${P}-flex-2.6.3.patch |
70 |
- |
71 |
- epatch_user |
72 |
- |
73 |
- # Has problems with -O3 on some systems |
74 |
- replace-flags -O[3-9] -O2 |
75 |
- |
76 |
- # This one is from media-sound/fluid-soundfont (bug #479534) |
77 |
- sed "s,/usr/share/soundfonts/default.sf2,${EPREFIX}/usr/share/sounds/sf2/FluidR3_GM.sf2,"\ |
78 |
- -i src/plugin/fluidsynth/mid_o_flus.c || die |
79 |
- |
80 |
- eautoreconf |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- econf $(use_with X x) \ |
85 |
- $(use_with svga svgalib) \ |
86 |
- $(use_enable debug) \ |
87 |
- $(use_with gpm) \ |
88 |
- $(use_with alsa) \ |
89 |
- $(use_with sndfile) \ |
90 |
- $(use_with fluidsynth) \ |
91 |
- --with-fdtarball="${DISTDIR}"/${P_FD}.tgz \ |
92 |
- --sysconfdir="${EPREFIX}"/etc/dosemu/ \ |
93 |
- --with-docdir="${EPREFIX}"/usr/share/doc/${PF} |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- emake AR=$(tc-getAR) |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- default |
102 |
- |
103 |
- # r - randmmap: dosemu tries to get address mapping |
104 |
- # exactly where asked, loops otherwise. |
105 |
- # m - allow RWX mapping: as it's an emulator / code loader |
106 |
- pax-mark -mr "${ED}/usr/bin/dosemu.bin" |
107 |
-} |