Diff dosbox-0.75_pre4302 with a dosbox-9999
/usr/portage/games-emulation/dosbox/dosbox-9999.ebuild 2023-10-09 14:52:31.084368390 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
24 | 24 |
;; |
25 | 25 |
esac |
26 | 26 | |
27 |
GLIDE_PATCH=841e1071597b64ead14dd08c25a03206b2d1d1b6 |
|
27 |
GLIDE_PATCH=6a01f554fad979cf34d3ff07c9579192c88086c3 |
|
28 | 28 |
SRC_URI+=" glide? ( https://raw.githubusercontent.com/voyageur/openglide/${GLIDE_PATCH}/platform/dosbox/dosbox_glide.diff -> dosbox_glide-${GLIDE_PATCH}.diff )" |
29 | 29 | |
30 | 30 |
DESCRIPTION="DOS emulator" |
... | ... | |
33 | 33 | |
34 | 34 |
LICENSE="GPL-2" |
35 | 35 |
SLOT="0" |
36 |
KEYWORDS="amd64 ~arm ~ppc ppc64 x86" |
|
37 | 36 |
IUSE="alsa +core-inline debug glide hardened opengl X" |
38 | 37 | |
39 | 38 |
RDEPEND="alsa? ( media-libs/alsa-lib ) |
... | ... | |
49 | 48 |
DEPEND="${RDEPEND}" |
50 | 49 | |
51 | 50 |
PATCHES=( |
52 |
"${FILESDIR}"/${PN}-0.74-ncurses.patch |
|
53 |
"${FILESDIR}"/${PN}-0.75-detect-AR.patch |
|
51 |
"${FILESDIR}"/${PN}-0.75-ncurses.patch |
|
54 | 52 |
) |
55 | 53 | |
56 | 54 |
src_prepare() { |
57 |
use glide && eapply "${DISTDIR}"/dosbox_glide-${GLIDE_PATCH}.diff "${FILESDIR}"/${PN}-0.75-glide-libdl.patch |
|
55 |
use glide && eapply "${DISTDIR}"/dosbox_glide-${GLIDE_PATCH}.diff |
|
58 | 56 |
default |
59 | 57 |
eautoreconf |
60 | 58 |
} |