Install this version:
emerge -a =games-util/grfcodec-6.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-util/grfcodec-6.1.0
Or alternatively:
emerge --autounmask-write -a =games-util/grfcodec-6.1.0
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="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=(
"${FILESDIR}"/${PN}-6.1.0-cmake-install.patch
# Bug #894648
"${FILESDIR}"/${PN}-6.0.6_p20230811-no-fortify-source.patch
)
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | grfcodec-6.1.0-source.tar.xz | 170688 bytes | https://github.com/OpenTTD/grfcodec/releases/download/6.1.0/grfcodec-6.1.0-source.tar.xz |