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 97240158087 for ; Sun, 24 Oct 2021 05:40:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE2AEE0863; Sun, 24 Oct 2021 05:40:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5B80E0863 for ; Sun, 24 Oct 2021 05:40:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8784343017 for ; Sun, 24 Oct 2021 05:40:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C20B168 for ; Sun, 24 Oct 2021 05:40:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635054019.968ed5f146135a4b2acbafc51618d7449e8a6622.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-misc/opengfx/Manifest games-misc/opengfx/opengfx-7.1.ebuild X-VCS-Directories: games-misc/opengfx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 968ed5f146135a4b2acbafc51618d7449e8a6622 X-VCS-Branch: master Date: Sun, 24 Oct 2021 05:40:27 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: feb0bca8-cbf5-4aef-b7bb-c73cc9dd7d89 X-Archives-Hash: 4032ba4cbf2dc78049d750ee066602d0 commit: 968ed5f146135a4b2acbafc51618d7449e8a6622 Author: Sam James gentoo org> AuthorDate: Sun Oct 24 05:40:12 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 24 05:40:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968ed5f1 games-misc/opengfx: add 7.1 Signed-off-by: Sam James gentoo.org> games-misc/opengfx/Manifest | 1 + games-misc/opengfx/opengfx-7.1.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index 1e6e73aa566..ae42e141d9f 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1 +1,2 @@ DIST opengfx-0.6.1-source.tar.xz 9690748 BLAKE2B faa3ca805166a1716f8a235048506620bbb98a4265c72571b3a33e88f3375caff75b5576b64ef451e99dea734145f3be748a9109c7003d1ad9043a90cdd34dad SHA512 4ba3528dbdddea1baa2875f917f959034659c8205fbda2b2a67c5fe80161235d15c25dab323e6da8cba2711b7b4f0c9a96d4187fd2de61ae9a2ff9fd077b063b +DIST opengfx-7.1-source.tar.xz 9828168 BLAKE2B a1d8305744b76924400cad8503af1a20991551323adea6d0d60d9f6d5ac6311e52cb8f028eb614bbda41106823ab9b912f1fb8af02953758a2eb2912066a38e9 SHA512 55079babcd78d4a36279cb7610b6800308aca8409ed3b9fa33cd4993b0c1f988d7afe270b17930b97609c4fdf8cf4e362e17c11bd85d2ef136d042256c98483f diff --git a/games-misc/opengfx/opengfx-7.1.ebuild b/games-misc/opengfx/opengfx-7.1.ebuild new file mode 100644 index 00000000000..568beb7453a --- /dev/null +++ b/games-misc/opengfx/opengfx-7.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_{8..10} ) + +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 +}