Diff openrct2-0.4.6 with a openrct2-9999
/usr/portage/games-simulation/openrct2/openrct2-9999.ebuild 2023-10-09 14:52:31.136368392 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit cmake readme.gentoo-r1 xdg-utils |
|
6 |
inherit cmake git-r3 readme.gentoo-r1 xdg-utils |
|
7 | ||
8 |
EGIT_REPO_URI="https://github.com/OpenRCT2/OpenRCT2.git" |
|
9 |
EGIT_BRANCH="develop" |
|
7 | 10 | |
8 | 11 |
MY_PN="OpenRCT2" |
9 | 12 |
MY_PN_OBJ="objects" |
... | ... | |
16 | 19 |
DESCRIPTION="An open source re-implementation of Chris Sawyer's RollerCoaster Tycoon 2" |
17 | 20 |
HOMEPAGE="https://openrct2.org/" |
18 | 21 |
SRC_URI=" |
19 |
https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
|
20 | 22 |
https://github.com/${MY_PN}/${MY_PN_OBJ}/releases/download/v${MY_PV_OBJ}/${MY_PN_OBJ}.zip -> ${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}.zip |
21 | 23 |
https://github.com/${MY_PN}/${MY_PN_TS}/releases/download/v${MY_PV_TS}/${MY_PN_TS}.zip -> ${PN}-${MY_PN_TS}-${MY_PV_TS}.zip |
22 | 24 |
test? ( https://github.com/${MY_PN}/${MY_PN_RPL}/releases/download/v${MY_PV_RPL}/${MY_PN_RPL}.zip -> ${PN}-${MY_PN_RPL}-${MY_PV_RPL}.zip ) |
23 | 25 |
" |
24 |
S="${WORKDIR}/${MY_PN}-${PV}" |
|
25 | 26 | |
26 | 27 |
LICENSE="GPL-3" |
27 | 28 |
SLOT="0" |
28 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|
29 |
KEYWORDS="" |
|
29 | 30 |
IUSE="dedicated +flac +opengl scripting test +truetype +vorbis" |
30 |
RESTRICT="!test? ( test )" |
|
31 | 31 | |
32 | 32 |
COMMON_DEPEND=" |
33 | 33 |
dev-libs/icu:= |
... | ... | |
70 | 70 |
virtual/pkgconfig |
71 | 71 |
" |
72 | 72 | |
73 |
RESTRICT="!test? ( test )" |
|
74 | ||
73 | 75 |
PATCHES=( |
74 | 76 |
"${FILESDIR}/${PN}-0.4.0-include-additional-paths.patch" |
75 | 77 |
"${FILESDIR}/${PN}-0.4.1-gtest-1.10.patch" |
76 | 78 |
) |
77 | 79 | |
78 | 80 |
src_unpack() { |
79 |
unpack "${P}".tar.gz |
|
81 |
git-r3_src_unpack |
|
80 | 82 | |
81 | 83 |
mkdir -p "${S}"/data/sequence || die |
82 | 84 |
cd "${S}"/data/sequence || die |