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-misc/opengfx/
Date: Mon, 28 Jun 2021 22:13:35 +0000 (UTC)	[thread overview]
Message-ID: <1624918367.2f83ebdaefce2859c2035e23226983365b3fc98e.chewi@gentoo> (raw)

commit:     2f83ebdaefce2859c2035e23226983365b3fc98e
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu May 20 21:21:16 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 22:12:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f83ebda

games-misc/opengfx: update to 0.6.1

Change installation path location from `/usr/share/games/openttd/data/`
to `/usr/share/openttd/baseset/`.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-misc/opengfx/Manifest             |  1 +
 games-misc/opengfx/metadata.xml         |  3 ++
 games-misc/opengfx/opengfx-0.6.1.ebuild | 64 +++++++++++++++++++++++++++++++++
 3 files changed, 68 insertions(+)

diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest
index 58d2808cd62..7015fc40a86 100644
--- a/games-misc/opengfx/Manifest
+++ b/games-misc/opengfx/Manifest
@@ -1 +1,2 @@
 DIST opengfx-0.6.0-source.tar.xz 9693320 BLAKE2B cb1d25fb038b3b481c0abe206426b5843c2f7b81b7cf81a525ebf8b217359c5ea50c0e1ee1ed37d5093a0186231a1e1b9134624a8b69362f6733c6c13d5e1500 SHA512 275b9040e6938bdd5bee2d39361e0b78f447a8e497cc8ff018c7874dc16a357870f8b560999ebb2f2f0b275644c7c9ce85c964875f5a798e2ec45e62a8bc768f
+DIST opengfx-0.6.1-source.tar.xz 9690748 BLAKE2B faa3ca805166a1716f8a235048506620bbb98a4265c72571b3a33e88f3375caff75b5576b64ef451e99dea734145f3be748a9109c7003d1ad9043a90cdd34dad SHA512 4ba3528dbdddea1baa2875f917f959034659c8205fbda2b2a67c5fe80161235d15c25dab323e6da8cba2711b7b4f0c9a96d4187fd2de61ae9a2ff9fd077b063b

diff --git a/games-misc/opengfx/metadata.xml b/games-misc/opengfx/metadata.xml
index 78274e0fa55..60f4cf275b2 100644
--- a/games-misc/opengfx/metadata.xml
+++ b/games-misc/opengfx/metadata.xml
@@ -5,4 +5,7 @@
 	<email>games@gentoo.org</email>
 	<name>Gentoo Games Project</name>
 </maintainer>
+<upstream>
+	<remote-id type="github">OpenTTD/OpenGFX</remote-id>
+</upstream>
 </pkgmetadata>

diff --git a/games-misc/opengfx/opengfx-0.6.1.ebuild b/games-misc/opengfx/opengfx-0.6.1.ebuild
new file mode 100644
index 00000000000..95f257d7145
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.6.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenGFX https://github.com/OpenTTD/OpenGFX"
+SRC_URI="https://cdn.openttd.org/${PN}-releases/${PV}/${P}-source.tar.xz"
+S="${WORKDIR}/${P}-source"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND="
+	games-util/grfcodec
+	games-util/nml
+	${PYTHON_DEPS}
+"
+
+DOCS=( "README.md" "changelog.txt" )
+
+src_prepare() {
+	default
+
+	python-any-r1_pkg_setup
+}
+
+src_compile() {
+	local myemakeargs=(
+		GIMP=""
+		PYTHON="${EPYTHON}"
+	)
+
+	emake "${myemakeargs[@]}" all
+}
+
+src_test() {
+	local myemakeargs=(
+		GIMP=""
+		PYTHON="${EPYTHON}"
+	)
+
+	emake "${myemakeargs[@]}" check
+}
+
+src_install() {
+	local myemakeargs=(
+		DO_NOT_INSTALL_README="true"
+		DO_NOT_INSTALL_LICENSE="true"
+		DO_NOT_INSTALL_CHANGELOG="true"
+		GIMP=""
+		INSTALL_DIR="${ED}/usr/share/openttd/baseset/"
+		PYTHON="${EPYTHON}"
+	)
+
+	emake "${myemakeargs[@]}" install
+
+	einstalldocs
+}


             reply	other threads:[~2021-06-28 22:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28 22:13 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24  3:30 [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/ 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-03-13  0:36 Conrad Kostecki
2021-03-12 23:59 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=1624918367.2f83ebdaefce2859c2035e23226983365b3fc98e.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