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 C3945138334 for ; Wed, 29 Aug 2018 22:18:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C244FE07DF; Wed, 29 Aug 2018 22:18:13 +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 90F3AE07DF for ; Wed, 29 Aug 2018 22:18:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 51072335CA0 for ; Wed, 29 Aug 2018 22:18:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 204343B5 for ; Wed, 29 Aug 2018 22:18:08 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1535581078.79b3c537aa2945a8cd29334f5a07fd1dfe508833.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/files/, games-emulation/openmsx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/openmsx/files/sdl-ttf.patch games-emulation/openmsx/openmsx-0.14.0.ebuild X-VCS-Directories: games-emulation/openmsx/files/ games-emulation/openmsx/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 79b3c537aa2945a8cd29334f5a07fd1dfe508833 X-VCS-Branch: master Date: Wed, 29 Aug 2018 22:18:08 +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: 3c414b30-07d7-4272-aa81-a517fb14de4b X-Archives-Hash: d6f3820310722a3f2ce543d75e8eeefb commit: 79b3c537aa2945a8cd29334f5a07fd1dfe508833 Author: James Le Cuirot gentoo org> AuthorDate: Wed Aug 29 22:16:44 2018 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Aug 29 22:17:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b3c537 games-emulation/openmsx: Fix SDL_ttf probe, add Python dep, EAPI 7 Closes: https://bugs.gentoo.org/655888 Package-Manager: Portage-2.3.48, Repoman-2.3.10 games-emulation/openmsx/files/sdl-ttf.patch | 12 ++++++++++++ games-emulation/openmsx/openmsx-0.14.0.ebuild | 19 ++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/games-emulation/openmsx/files/sdl-ttf.patch b/games-emulation/openmsx/files/sdl-ttf.patch new file mode 100644 index 00000000000..6ff469e509e --- /dev/null +++ b/games-emulation/openmsx/files/sdl-ttf.patch @@ -0,0 +1,12 @@ +diff -Naur a/build/libraries.py b/build/libraries.py +--- a/build/libraries.py 2017-08-03 11:26:28.000000000 +0100 ++++ b/build/libraries.py 2018-08-29 23:11:04.392981071 +0100 +@@ -304,7 +304,7 @@ + class SDL_ttf(Library): + libName = 'SDL_ttf' + makeName = 'SDL_TTF' +- header = '' ++ header = '' + function = 'TTF_OpenFont' + dependsOn = ('SDL', 'FREETYPE') + diff --git a/games-emulation/openmsx/openmsx-0.14.0.ebuild b/games-emulation/openmsx/openmsx-0.14.0.ebuild index 8b39565b4be..42d560e04cd 100644 --- a/games-emulation/openmsx/openmsx-0.14.0.ebuild +++ b/games-emulation/openmsx/openmsx-0.14.0.ebuild @@ -1,17 +1,19 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit desktop readme.gentoo-r1 +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-any-r1 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" +SRC_URI="https://github.com/openMSX/openMSX/releases/download/RELEASE_${PV//./_}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" RDEPEND=" dev-lang/tcl:0= @@ -23,7 +25,14 @@ RDEPEND=" media-libs/sdl-ttf virtual/opengl " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + ${PYTHON_DEPS} +" + +PATCHES=( + "${FILESDIR}"/sdl-ttf.patch +) DOC_CONTENTS=" If you want to if you want to emulate real MSX systems and not