From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECE6A1580E0 for ; Tue, 28 Jan 2025 06:39:04 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D7A3B343338 for ; Tue, 28 Jan 2025 06:39:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4380E110471; Tue, 28 Jan 2025 06:38:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3B320110470 for ; Tue, 28 Jan 2025 06:38:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DEE34343323 for ; Tue, 28 Jan 2025 06:38:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2726C17F2 for ; Tue, 28 Jan 2025 06:38:57 +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: <1738046279.0f624ba1b451b3c9eb6a7603d15521e485697d04.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/grfcodec/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/grfcodec/grfcodec-6.1.0-r1.ebuild games-util/grfcodec/grfcodec-9999.ebuild X-VCS-Directories: games-util/grfcodec/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0f624ba1b451b3c9eb6a7603d15521e485697d04 X-VCS-Branch: master Date: Tue, 28 Jan 2025 06:38:57 +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: e019e32d-e204-4441-a078-b46caffca891 X-Archives-Hash: 2ccec46c14cc8b19c0e3b1af243ab27c commit: 0f624ba1b451b3c9eb6a7603d15521e485697d04 Author: Sam James gentoo org> AuthorDate: Tue Jan 28 06:37:10 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 28 06:37:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f624ba1 games-util/grfcodec: add 9999 We added a live ebuild for OpenTTD in 479943c4245e7ef3ffe896f89d109340ff1225c4, do the same for its deps. Doesn't seem like we really need it for opensfx/opengfx though, they don't at least have changes in git since the last release and don't seem to change too much in general. Signed-off-by: Sam James gentoo.org> games-util/grfcodec/grfcodec-6.1.0-r1.ebuild | 25 ++++++++++++++---- games-util/grfcodec/grfcodec-9999.ebuild | 38 ++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 5 deletions(-) diff --git a/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild index ce2b664d42de..ccdef8ea78af 100644 --- a/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild +++ b/games-util/grfcodec/grfcodec-6.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,15 +7,24 @@ inherit cmake DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" HOMEPAGE="https://github.com/OpenTTD/grfcodec" -SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/OpenTTD/grfcodec" + inherit git-r3 +else + SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz" + + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND="media-libs/libpng:=" -DEPEND="${RDEPEND} - dev-libs/boost" +DEPEND=" + ${RDEPEND} + dev-libs/boost +" PATCHES=( "${FILESDIR}"/${PN}-6.1.0-cmake-install.patch @@ -23,3 +32,9 @@ PATCHES=( # Bug #894648 "${FILESDIR}"/${PN}-6.0.6_p20230811-no-fortify-source.patch ) + +src_install() { + cmake_src_install + + rm "${ED}"/usr/share/doc/${PF}/COPYING || die +} diff --git a/games-util/grfcodec/grfcodec-9999.ebuild b/games-util/grfcodec/grfcodec-9999.ebuild new file mode 100644 index 000000000000..ef7e76ab4d14 --- /dev/null +++ b/games-util/grfcodec/grfcodec-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A suite of programs to modify openttd/Transport Tycoon Deluxe's GRF files" +HOMEPAGE="https://github.com/OpenTTD/grfcodec" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/OpenTTD/grfcodec" + inherit git-r3 +else + SRC_URI="https://github.com/OpenTTD/grfcodec/releases/download/${PV}/${P}-source.tar.xz" + + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND="media-libs/libpng:=" +DEPEND=" + ${RDEPEND} + dev-libs/boost +" + +PATCHES=( + # Bug #894648 + "${FILESDIR}"/${PN}-6.0.6_p20230811-no-fortify-source.patch +) + +src_install() { + cmake_src_install + + rm "${ED}"/usr/share/doc/${PF}/COPYING || die +}