diff options
Diffstat (limited to 'games-emulation/dosbox/dosbox-0.74.3.ebuild')
-rw-r--r-- | games-emulation/dosbox/dosbox-0.74.3.ebuild | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/games-emulation/dosbox/dosbox-0.74.3.ebuild b/games-emulation/dosbox/dosbox-0.74.3.ebuild index 7ed3281b1644..efeca818c009 100644 --- a/games-emulation/dosbox/dosbox-0.74.3.ebuild +++ b/games-emulation/dosbox/dosbox-0.74.3.ebuild @@ -1,31 +1,33 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools desktop flag-o-matic +inherit autotools desktop -case "${PV}" in -9999) - MY_P=${PN} - ESVN_REPO_URI="https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk" - inherit subversion - ;; -*_pre*) - MY_PV=0-r${PV#*_pre} - MY_P=${PN}-code-${MY_PV}-${PN}-trunk - SRC_URI="https://sourceforge.net/code-snapshots/svn/d/do/dosbox/code-0/${MY_P}.zip" - BDEPEND="app-arch/unzip" - ;; -*) - MY_PV=$(ver_rs 2 -) - MY_P=${PN}-${MY_PV} - SRC_URI="mirror://sourceforge/dosbox/${MY_P}.tar.gz" - ;; +case ${PV} in + 9999) + MY_P=${PN} + ESVN_REPO_URI="https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk" + inherit subversion + ;; + *_pre*) + MY_PV=0-r${PV#*_pre} + MY_P=${PN}-code-${MY_PV}-${PN}-trunk + SRC_URI="https://sourceforge.net/code-snapshots/svn/d/do/dosbox/code-0/${MY_P}.zip" + BDEPEND="app-arch/unzip" + ;; + *) + MY_PV=$(ver_rs 2 -) + MY_P=${PN}-${MY_PV} + SRC_URI="mirror://sourceforge/dosbox/${MY_P}.tar.gz" + ;; esac DESCRIPTION="DOS emulator" HOMEPAGE="https://www.dosbox.com/" +S="${WORKDIR}/${MY_P}" + LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm ~ppc ppc64 x86" @@ -40,11 +42,8 @@ RDEPEND="alsa? ( media-libs/alsa-lib ) media-libs/sdl-net media-libs/sdl-sound sys-libs/zlib" - DEPEND="${RDEPEND}" -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-0.74-ncurses.patch ) |