From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FC15138331 for ; Sun, 29 Apr 2018 13:07:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96E16E0A00; Sun, 29 Apr 2018 13:07:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6588BE0A00 for ; Sun, 29 Apr 2018 13:07:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DD8E335C9B for ; Sun, 29 Apr 2018 13:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C89372A1 for ; Sun, 29 Apr 2018 13:06:57 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1525007187.4e970d590635d36ff686797b24b0bea7cb372139.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/, games-emulation/openmsx/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/openmsx/Manifest games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch games-emulation/openmsx/openmsx-0.14.0.ebuild X-VCS-Directories: games-emulation/openmsx/ games-emulation/openmsx/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 4e970d590635d36ff686797b24b0bea7cb372139 X-VCS-Branch: master Date: Sun, 29 Apr 2018 13:06:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 95a80b03-6e75-4445-b687-4bee903ab301 X-Archives-Hash: 1900f531847c1c05e5122e92828d8526 commit: 4e970d590635d36ff686797b24b0bea7cb372139 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 12:05:28 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 13:06:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e970d59 games-emulation/openmsx: Version bump Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-emulation/openmsx/Manifest | 1 + .../openmsx/files/openmsx-0.9.1-verbose.patch | 4 +- games-emulation/openmsx/openmsx-0.14.0.ebuild | 74 ++++++++++++++++++++++ 3 files changed, 77 insertions(+), 2 deletions(-) diff --git a/games-emulation/openmsx/Manifest b/games-emulation/openmsx/Manifest index 4b511ea3445..8e53442a1e4 100644 --- a/games-emulation/openmsx/Manifest +++ b/games-emulation/openmsx/Manifest @@ -1 +1,2 @@ +DIST openmsx-0.14.0.tar.gz 3338719 BLAKE2B e9c09d29bb994f4f40e22271c090580688724cb7024910f0f829a59d0e65e6e70e1c037b943582aac644ee51a00b7e439e751bd84e5828168486b74ee09e8b78 SHA512 74a30de89b4a7cb4d8d5a0ad0c16ab6b58244251ebcbe470cc3cccec6a636492fa8779d1667d76646eabcf8d7d67c53094d5e0a313d452a4a679d797e9394a9b DIST openmsx-0.9.1.tar.gz 2975351 BLAKE2B 6c571b1cc0039ea8e37af1d503260f21e6431d4403bb74a06fd60bfd1f1d3d0c1831c9e82ae2446dd8ff1bb7bd0cafcf8290306cb1d0bcc23cb7ba7cfebc3d1b SHA512 7c4d23963f33e3033dea1d0ad9351e4f38f7434e2e077b6f8fd00cf80e0160b45291ff19be71646178ecafa01e954267dfe4c815578d4abb14c8595a863f98ff diff --git a/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch b/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch index 18ac6fdc83b..e8007636f80 100644 --- a/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch +++ b/games-emulation/openmsx/files/openmsx-0.9.1-verbose.patch @@ -1,5 +1,5 @@ ---- build/main.mk.old 2015-01-18 12:18:50.608153217 +0100 -+++ build/main.mk 2015-01-18 12:20:00.352861984 +0100 +--- a/build/main.mk.old 2015-01-18 12:18:50.608153217 +0100 ++++ b/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) 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 00000000000..8b39565b4be --- /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 +}