public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/
Date: Fri, 12 Mar 2021 23:59:43 +0000 (UTC)	[thread overview]
Message-ID: <1615593566.ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.conikost@gentoo> (raw)

commit:     ca104aea54a40ea4b8f6fdbe143af07af00ce7b7
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 23:58:06 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 23:59:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca104aea

games-misc/opengfx: fix compilation with -native-symlinks

Closes: https://bugs.gentoo.org/775572
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-misc/opengfx/opengfx-0.6.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/games-misc/opengfx/opengfx-0.6.0.ebuild b/games-misc/opengfx/opengfx-0.6.0.ebuild
index 7e39ffe5a49..6c5137c6549 100644
--- a/games-misc/opengfx/opengfx-0.6.0.ebuild
+++ b/games-misc/opengfx/opengfx-0.6.0.ebuild
@@ -1,9 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 MY_PN="OpenGFX"
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1
 
 DESCRIPTION="OpenGFX data files for OpenTTD"
 HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
@@ -23,11 +26,14 @@ DOCS=( "README.md" "changelog.txt" )
 
 src_prepare() {
 	default
+
+	python-any-r1_pkg_setup
 }
 
 src_compile() {
 	myemakeargs=(
 		GIMP=""
+		PYHTON="${EPYTHON}"
 	)
 
 	emake "${myemakeargs[@]}" all
@@ -36,6 +42,7 @@ src_compile() {
 src_test() {
 	myemakeargs=(
 		GIMP=""
+		PYHTON="${EPYTHON}"
 	)
 
 	emake "${myemakeargs[@]}" check
@@ -48,6 +55,7 @@ src_install() {
 		DO_NOT_INSTALL_CHANGELOG="true"
 		GIMP=""
 		INSTALL_DIR="${ED}/usr/share/games/openttd/data/"
+		PYHTON="${EPYTHON}"
 	)
 
 	emake "${myemakeargs[@]}" install


             reply	other threads:[~2021-03-12 23:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 23:59 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-03 20:14 [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/ Sam James
2025-05-05  7:51 Sam James
2025-05-05  7:49 Sam James
2025-01-24  3:30 Sam James
2025-01-23 22:43 Sam James
2025-01-21 23:00 James Le Cuirot
2024-04-27  7:46 Matthew Smith
2023-05-01 17:55 Sam James
2021-12-28 17:10 Ionen Wolkens
2021-10-24  8:30 Sam James
2021-10-24  5:40 Sam James
2021-06-28 22:13 James Le Cuirot
2021-06-28 22:13 James Le Cuirot
2021-03-13  0:36 Conrad Kostecki
2020-11-26 21:16 Conrad Kostecki
2016-12-26 17:04 Lars Wendler
2015-12-03 13:28 Agostino Sarubbo
2015-11-23  8:50 Agostino Sarubbo
2015-10-02 16:41 Michael Sterrett
2015-09-20  9:30 Agostino Sarubbo
2015-09-19 16:03 Agostino Sarubbo

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=1615593566.ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.conikost@gentoo \
    --to=conikost@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