summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-08-11 02:04:37 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-08-11 03:37:07 -0400
commit4e583e6cd8c55a42333bba2d0089d032870d69af (patch)
tree1ba71d6ffa2d624fbee471f0bf895f8152ef6a11 /games-emulation/openmsx
parentgames-emulation/emutos: drop 1.1.1 (diff)
downloadgentoo-4e583e6cd8c55a42333bba2d0089d032870d69af.tar.gz
gentoo-4e583e6cd8c55a42333bba2d0089d032870d69af.tar.bz2
gentoo-4e583e6cd8c55a42333bba2d0089d032870d69af.zip
games-emulation/openmsx: drop 17.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation/openmsx')
-rw-r--r--games-emulation/openmsx/Manifest1
-rw-r--r--games-emulation/openmsx/openmsx-17.0.ebuild112
2 files changed, 0 insertions, 113 deletions
diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest
index 5c3a8475c626..bceea346b609 100644
--- a/games-emulation/openmsx/Manifest
+++ b/games-emulation/openmsx/Manifest
@@ -1,2 +1 @@
-DIST openmsx-17.0.tar.gz 4045461 BLAKE2B 46c70ce3f853aecebf8bdeddc5786903634d88d013497383490d79b0dbf455f48a70b3658b9913db197cf7e66cbc6f4da37da58b1b24d77c75b731e842c663df SHA512 4fc87efd2bfbcd12bebb4e005b18b1cb2048f5d8f3188ef9b55f1e003c8d021fb47bd67d647137daa6a8640b5656b0db363f3b62158d690ddb5f7bf1af3459e1
DIST openmsx-18.0.tar.gz 4151084 BLAKE2B 0d5b4e4745c12689e4227408481367b4b4faaa4c7c2830ec0c4b9a5eb90c4b415628cd21834384d39fa4a820c725431848e98f7ef722c437f7bb4f96ae7b14c4 SHA512 f395fae8eac3bcb9334251c1c266a8c4d2951d6510a7c4885ddbc95aaed39f4ef8ae12a177d4a9ff44745ca368055f55f9983029b47441f4fd9731696f79809f
diff --git a/games-emulation/openmsx/openmsx-17.0.ebuild b/games-emulation/openmsx/openmsx-17.0.ebuild
deleted file mode 100644
index e64f1d8a6d6c..000000000000
--- a/games-emulation/openmsx/openmsx-17.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-
-inherit desktop flag-o-matic python-any-r1 readme.gentoo-r1 toolchain-funcs xdg
-
-DESCRIPTION="MSX emulator that aims for perfection"
-HOMEPAGE="https://openmsx.org/"
-SRC_URI="https://github.com/openMSX/openMSX/releases/download/RELEASE_${PV//./_}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+joystick"
-
-RDEPEND="dev-lang/tcl:0=
- media-libs/alsa-lib
- media-libs/libogg
- media-libs/libpng:0=
- media-libs/libsdl2[joystick=,sound,video]
- media-libs/libtheora
- media-libs/libvorbis
- media-libs/sdl2-ttf
- >=media-libs/glew-1.3.2:0=
- sys-libs/zlib
- virtual/opengl"
-DEPEND="${RDEPEND}"
-BDEPEND="${PYTHON_DEPS}"
-
-DOC_CONTENTS="
-If you want to if you want to emulate real MSX systems and not
-only the free C-BIOS machines, put the system ROMs in one of
-the following directories: /usr/share/${PN}/systemroms
-or ~/.openMSX/share/systemroms
-"
-
-src_prepare() {
- default
- sed -i \
- -e '/^LDFLAGS:=/d' \
- -e '/LINK_FLAGS_PREFIX/d' \
- -e '/LINK_FLAGS+=/s/-s//' \
- -e '/LINK_FLAGS+=\$(TARGET_FLAGS)/s/$/ $(LDFLAGS)/' \
- build/main.mk \
- || die
- sed -i -e '/SYMLINK/s:true:false:' build/custom.mk || die
- sed -i -e 's/GPL.txt//' doc/node.mk || die
-
- # Build system only configured to use bundled version - but not from the
- # directory it's distributed in
- cp "${S}/Contrib/catch2/catch.hpp" "${S}/src/unittest" || die
-}
-
-src_configure() {
- tc-export CXX
-
- # Doesn't compile without this, and build system doesn't consistently add
- # it properly for all compilers
- append-cxxflags '-std=c++17'
-
- default
-}
-
-src_compile() {
- emake \
- CXXFLAGS="${CXXFLAGS}" \
- INSTALL_SHARE_DIR="${EPREFIX}/usr/share/${PN}" \
- V=1
-}
-
-src_test() {
- # To get tests, we need to build with OPENMSX_FLAVOUR=unittest and then the
- # build is stored in a directory of the pattern
- # ${WORKDIR}/derived/*-unittest/. This is separate from the actual build,
- # stored in ${WORKDIR}/derived/*-opt. The unittest binary and the workdir
- # binary are in each of these directories under their `bin` directories.
- emake \
- V=1 \
- CXXFLAGS="${CXXFLAGS}" \
- OPENMSX_FLAVOUR=unittest
-
- # There will only ever be one *-unittest directory
- "${S}"/derived/*-unittest/bin/openmsx || die
-}
-
-src_install() {
- # To guarantee installing the proper binary in case tests were built,
- # specify the default OPENMSX_FLAVOUR
- emake \
- V=1 \
- INSTALL_BINARY_DIR="${ED}/usr/bin" \
- INSTALL_SHARE_DIR="${ED}/usr/share/${PN}" \
- INSTALL_DOC_DIR="${ED}/usr/share/doc/${PF}" \
- OPENMSX_FLAVOUR=opt \
- install
-
- einstalldocs
- readme.gentoo_create_doc
-
- for i in 16 32 48 64 128 256 ; do
- newicon -s "${i}" "share/icons/openMSX-logo-${i}.png" "${PN}.png"
- done
- make_desktop_entry "${PN}" "openMSX"
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
- xdg_pkg_postinst
-}