public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/files/, games-emulation/openmsx/
Date: Wed, 29 Aug 2018 22:18:08 +0000 (UTC)	[thread overview]
Message-ID: <1535581078.79b3c537aa2945a8cd29334f5a07fd1dfe508833.chewi@gentoo> (raw)

commit:     79b3c537aa2945a8cd29334f5a07fd1dfe508833
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 22:16:44 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> 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 = '<SDL_ttf.h>'
++	header = '<SDL/SDL_ttf.h>'
+ 	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


             reply	other threads:[~2018-08-29 22:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 22:18 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-19  3:24 [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/files/, games-emulation/openmsx/ Sam James
2021-01-24 23:08 James Le Cuirot
2018-04-29 13:06 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535581078.79b3c537aa2945a8cd29334f5a07fd1dfe508833.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox