blob: a84ac889ed7dc4b4ca57653869c1de7d20762887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
)
|