summaryrefslogtreecommitdiff
path: root/games-emulation/openmsx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-30 21:33:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-30 21:33:31 +0100
commit2f8db31405fac68eea6f7257d58529243815033b (patch)
tree54259cc8988a98a10586fc0496b1f3501cd1e2a1 /games-emulation/openmsx
parenta4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff)
gentoo resync : 30.04.2018
Diffstat (limited to 'games-emulation/openmsx')
-rw-r--r--games-emulation/openmsx/Manifest5
-rw-r--r--games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch14
-rw-r--r--games-emulation/openmsx/openmsx-0.14.0.ebuild74
-rw-r--r--games-emulation/openmsx/openmsx-0.9.1.ebuild64
4 files changed, 76 insertions, 81 deletions
diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest
index 1ebf08c1fcea..a2465372542c 100644
--- a/games-emulation/openmsx/Manifest
+++ b/games-emulation/openmsx/Manifest
@@ -1,4 +1,3 @@
-AUX openmsx-0.9.1-verbose.patch 654 BLAKE2B e6c2fa739ef7714075fce989e61487b46f78a6b6094f7ff7c3a5ae7c26dfbb0a8fbc14d86f3f45e69e7d9672f296d7dc5f0346337521dadc041bc057c86b49ba SHA512 d895e5dd5ecf7748382ce213a0928fdb26d8957d2487eae94f64120746097b49edfcecf860ea33294fe1fa7d1af5b9332510af852fc816c9355336136e8d03f7
-DIST openmsx-0.9.1.tar.gz 2975351 BLAKE2B 6c571b1cc0039ea8e37af1d503260f21e6431d4403bb74a06fd60bfd1f1d3d0c1831c9e82ae2446dd8ff1bb7bd0cafcf8290306cb1d0bcc23cb7ba7cfebc3d1b SHA512 7c4d23963f33e3033dea1d0ad9351e4f38f7434e2e077b6f8fd00cf80e0160b45291ff19be71646178ecafa01e954267dfe4c815578d4abb14c8595a863f98ff
-EBUILD openmsx-0.9.1.ebuild 1483 BLAKE2B 2437285182ce4687dc80f63f90170adae37f5a2bb1f9d7be9c01636fc479d57f0be9109d0f3f4ae1905180692c9e089da6d616bb5014b315d57375f7dbefb646 SHA512 e463931cd16714a7a4caeaada52ebc7e3ebbc200d6e0ce0d03246e58e93bf3b106a46b8a5e1269e4a65e71ac7b381995ab685d3a3601ba10c32c26a3a117e34f
+DIST openmsx-0.14.0.tar.gz 3338719 BLAKE2B e9c09d29bb994f4f40e22271c090580688724cb7024910f0f829a59d0e65e6e70e1c037b943582aac644ee51a00b7e439e751bd84e5828168486b74ee09e8b78 SHA512 74a30de89b4a7cb4d8d5a0ad0c16ab6b58244251ebcbe470cc3cccec6a636492fa8779d1667d76646eabcf8d7d67c53094d5e0a313d452a4a679d797e9394a9b
+EBUILD openmsx-0.14.0.ebuild 1647 BLAKE2B 97b6ed516383c7162051dbf19ec1805b28b3df9a5845f44fd01a30a898b3078827a1a78026b3b113dd45f472f408d1d165e266b0bf2fa4746aa33e187f9cf27a SHA512 47f3bb94878edc3303c467a552262fed6c3aa0d539ef4a6981e9705b4e4166200126f6da93e1e1e6bcf78b38e102d5ebe22c2c5e9f93a0557cb21b2370e9fed9
MISC metadata.xml 330 BLAKE2B 0557bfe5901a6eb7331ad400d19b438dd3125b0af9426dd7c5bc369e3e5769677e645529b71c19797a57b4e3a43440a94664e80fa941e414a2b29e209382190d SHA512 0e2cbbe9308c1a43be6617797af0abe91bfa1dbb604ef9bc96dfb7c6c7310799c689ff7450afd9eb5b66d7aaeda878e0d046b404a0220b69b5dcf38be346e422
diff --git a/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch b/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch
deleted file mode 100644
index 18ac6fdc83b6..000000000000
--- a/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- build/main.mk.old 2015-01-18 12:18:50.608153217 +0100
-+++ build/main.mk 2015-01-18 12:20:00.352861984 +0100
-@@ -541,10 +541,9 @@
- DEPEND_SUBST=$(patsubst $(SOURCES_PATH)/%.cc,$(DEPEND_PATH)/%.d,$<)
- $(OBJECTS_FULL): $(INIT_DUMMY_FILE)
- $(OBJECTS_FULL): $(OBJECTS_PATH)/%.o: $(SOURCES_PATH)/%.cc $(DEPEND_PATH)/%.d
-- @echo "Compiling $(patsubst $(SOURCES_PATH)/%,%,$<)..."
- @mkdir -p $(@D)
- @mkdir -p $(patsubst $(OBJECTS_PATH)%,$(DEPEND_PATH)%,$(@D))
-- @$(COMPILE_ENV) $(CXX) \
-+ $(COMPILE_ENV) $(CXX) \
- $(DEPEND_FLAGS) -MMD -MF $(DEPEND_SUBST) \
- -o $@ $(CXXFLAGS) $(COMPILE_FLAGS) -c $<
- @touch $@ # Force .o file to be newer than .d file.
diff --git a/games-emulation/openmsx/openmsx-0.14.0.ebuild b/games-emulation/openmsx/openmsx-0.14.0.ebuild
new file mode 100644
index 000000000000..8b39565b4be2
--- /dev/null
+++ b/games-emulation/openmsx/openmsx-0.14.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop readme.gentoo-r1
+
+DESCRIPTION="MSX emulator that aims for perfection"
+HOMEPAGE="http://openmsx.org/"
+SRC_URI="https://github.com/openMSX/openMSX/releases/download/RELEASE_0_14_0/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/tcl:0=
+ dev-libs/libxml2
+ media-libs/libpng:0=
+ media-libs/libsdl[sound,video]
+ >=media-libs/glew-1.3.2:0=
+ media-libs/sdl-image[png]
+ media-libs/sdl-ttf
+ virtual/opengl
+"
+DEPEND="${RDEPEND}"
+
+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
+}
+
+src_compile() {
+ emake \
+ CXXFLAGS="${CXXFLAGS}" \
+ INSTALL_SHARE_DIR=/usr/share/${PN} \
+ V=1
+}
+
+src_install() {
+ emake \
+ V=1 \
+ INSTALL_BINARY_DIR="${ED}/usr/bin" \
+ INSTALL_SHARE_DIR="${ED}/usr/share/${PN}" \
+ INSTALL_DOC_DIR="${D}"/usr/share/doc/${PF} \
+ 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
+}
diff --git a/games-emulation/openmsx/openmsx-0.9.1.ebuild b/games-emulation/openmsx/openmsx-0.9.1.ebuild
deleted file mode 100644
index db68c3dbc64d..000000000000
--- a/games-emulation/openmsx/openmsx-0.9.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils games
-
-DESCRIPTION="MSX emulator that aims for perfection"
-HOMEPAGE="http://openmsx.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
-
-DEPEND="
- dev-lang/tcl:0=
- dev-libs/libxml2
- media-libs/libpng:0
- media-libs/libsdl[sound,video]
- media-libs/glew
- media-libs/sdl-image[png]
- media-libs/sdl-ttf
- virtual/opengl"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- 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
- epatch "${FILESDIR}"/${P}-verbose.patch
-}
-
-src_compile() {
- emake \
- CXXFLAGS="${CXXFLAGS}" \
- INSTALL_SHARE_DIR="${GAMES_DATADIR}"/${PN}
-}
-
-src_install() {
- emake \
- INSTALL_BINARY_DIR="${D}${GAMES_BINDIR}" \
- INSTALL_SHARE_DIR="${D}${GAMES_DATADIR}"/${PN} \
- INSTALL_DOC_DIR="${D}"/usr/share/doc/${PF} \
- install
- dodoc README
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- elog "If you want to if you want to emulate real MSX systems and not"
- elog "only the free C-BIOS machines, put the system ROMs in one of"
- elog "the following directories: ${GAMES_DATADIR}/${PN}/systemroms"
- elog "or ~/.openMSX/share/systemroms"
-}