mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
games-emulation/atari800: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST atari800-3.1.0.tar.gz 1492289 BLAKE2B cad7a3111bf714321d01aff1f8b30408efc1eca0876d9b795395d62d18eabdf78b71d3b2af887e8ba03e33e3824fcd5b45070e39cddd0e5ad0bda2d853f724b1 SHA512 c8f035c9be000c67dd854a14a236d165e6e2d30b5138f8772c6ea5c5290b0410525570e3ed9dcb2f9bcb129f97a36e6eef5993f0a5ad3cc993c6b59b127bcabe
|
||||
DIST atari800-4.2.0-src.tgz 7047710 BLAKE2B eac4b2da03d2ff5ec9e18dda41e0345975ed16c1cee23d15d2633211b7d4835b7a26c79fbf1672bb9ce3b82d52c7273e717371a0065ba29807f76d823eeb9855 SHA512 1236a8e05bf878e4514ae8e9f1556e0961a7f11ff0333eef415af455d217f712d5c6ededdd343dff6ba1aab777e19997bf9ecb859408187d69fc141301ecba31
|
||||
DIST xf25.zip 188942 BLAKE2B c10b9108eebc571ac334ea6fca76d227e3d2fcde1595e8823a3d178dc31d9efa9b209572ee03875461289093615470192cf5c9a06cf0b4363d097a9eac201db4 SHA512 306612fc2af41ed10d76103af83e141cfd8bd3ba2ea3cbd1d0b81d4d5b0108c06948a5c626648c8a2424536757a42a3f8b9af1fb63fa3c31096447ffed0f9923
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop autotools
|
||||
|
||||
DESCRIPTION="Atari 800 emulator"
|
||||
HOMEPAGE="https://atari800.github.io/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}.tar.gz
|
||||
https://sourceforge.net/projects/${PN}/files/ROM/Original%20XL%20ROM/xf25.zip"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ncurses oss opengl readline +sdl +sound"
|
||||
|
||||
NOTSDL_DEPS="
|
||||
sys-libs/ncurses:0=
|
||||
sound? (
|
||||
!oss? ( media-libs/libsdl[sound] )
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
sdl? ( >=media-libs/libsdl-1.2.0[opengl?,sound?,video] )
|
||||
ncurses? ( ${NOTSDL_DEPS} )
|
||||
!sdl? ( !ncurses? ( ${NOTSDL_DEPS} ) )
|
||||
readline? (
|
||||
sys-libs/readline:0=
|
||||
sys-libs/ncurses:0= )
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove some not-so-interesting ones
|
||||
rm -f DOC/{INSTALL.*,*.in,CHANGES.OLD} || die
|
||||
sed -i \
|
||||
-e '1s/ 1 / 6 /' \
|
||||
src/atari800.man || die
|
||||
sed "s:/usr/share/games:/usr/share:" \
|
||||
"${FILESDIR}"/atari800.cfg > "${T}"/atari800.cfg || die
|
||||
|
||||
# Bug 544608
|
||||
eapply "${FILESDIR}/${P}-tgetent-detection.patch"
|
||||
pushd src > /dev/null && eautoreconf
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local video="ncurses"
|
||||
local sound=no
|
||||
|
||||
use sdl && video="sdl"
|
||||
if use sound ; then
|
||||
if use sdl ; then
|
||||
sound=sdl
|
||||
elif use oss ; then
|
||||
sound=oss
|
||||
else
|
||||
echo
|
||||
elog "Sound requested but neither sdl nor oss specified."
|
||||
elog "Disabling sound suport."
|
||||
fi
|
||||
fi
|
||||
|
||||
cd src && \
|
||||
econf \
|
||||
$(use_with readline) \
|
||||
--with-video=${video} \
|
||||
--with-sound=${sound}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C src
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/atari800
|
||||
newman src/atari800.man atari800.6
|
||||
dodoc README.1ST DOC/*
|
||||
insinto "/usr/share/${PN}"
|
||||
doins "${WORKDIR}/"*.ROM
|
||||
insinto /etc
|
||||
doins "${T}"/atari800.cfg
|
||||
newicon data/atari2.svg ${PN}.svg
|
||||
make_desktop_entry ${PN} "Atari 800 emulator"
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
Atari 800 Emulator, Version 1.2.2
|
||||
OS/A_ROM=atariosa.rom
|
||||
OS/B_ROM=/usr/share/games/atari800/ATARIOSB.ROM
|
||||
XL/XE_ROM=/usr/share/games/atari800/ATARIXL.ROM
|
||||
BASIC_ROM=/usr/share/games/atari800/ATARIBAS.ROM
|
||||
5200_ROM=
|
||||
DISK_DIR=
|
||||
ROM_DIR=
|
||||
H1_DIR=
|
||||
H2_DIR=
|
||||
H3_DIR=
|
||||
H4_DIR=
|
||||
HD_READ_ONLY=1
|
||||
EXE_DIR=
|
||||
STATE_DIR=
|
||||
PRINT_COMMAND=lpr %s
|
||||
SCREEN_REFRESH_RATIO=1
|
||||
MACHINE_TYPE=Atari OS/B
|
||||
RAM_SIZE=48
|
||||
DEFAULT_TV_MODE=NTSC
|
||||
DISABLE_BASIC=1
|
||||
ENABLE_SIO_PATCH=1
|
||||
ENABLE_H_PATCH=1
|
||||
ENABLE_P_PATCH=1
|
||||
Reference in New Issue
Block a user