Diff baldurs-gate-ee-2.5.23121 with a baldurs-gate-ee-2.6.6.0.47291-r1
| /usr/portage/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.6.6.0.47291-r1.ebuild 2023-10-09 14:52:31.128368391 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2021 Gentoo Authors |
|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit desktop unpacker wrapper |
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Baldur's Gate: Enhanced Edition" |
| 9 |
HOMEPAGE="https://www.baldursgate.com/" |
|
| 10 |
SRC_URI="baldur_s_gate_enhanced_edition_en_${PV//./_}.sh"
|
|
| 9 |
HOMEPAGE="https://baldursgate.beamdog.com/" |
|
| 10 |
SRC_URI="baldur_s_gate_enhanced_edition_${PV//./_}.sh"
|
|
| 11 | 11 | |
| 12 | 12 |
LICENSE="GOG-EULA" |
| 13 | 13 |
SLOT="0" |
| 14 |
KEYWORDS="-* ~amd64 ~x86" |
|
| 14 |
KEYWORDS="-* ~amd64" |
|
| 15 | 15 |
RESTRICT="bindist fetch" |
| 16 | 16 | |
| 17 | 17 |
RDEPEND="dev-libs/expat |
| 18 |
dev-libs/openssl:0 |
|
| 18 |
dev-libs/openssl-compat:1.0.0 |
|
| 19 | 19 |
media-libs/openal |
| 20 | 20 |
virtual/opengl |
| 21 | 21 |
x11-libs/libX11" |
| 22 | 22 |
BDEPEND="app-arch/unzip" |
| 23 | 23 | |
| 24 |
QA_PRESTRIPPED="/opt/${PN}/BaldursGate\(64\)\?"
|
|
| 24 |
QA_PRESTRIPPED="opt/${PN}/BaldursGate"
|
|
| 25 | 25 | |
| 26 | 26 |
S="${WORKDIR}/data/noarch"
|
| 27 | 27 | |
| ... | ... | |
| 43 | 43 | |
| 44 | 44 |
insinto "${dir}"
|
| 45 | 45 |
doins -r "game/." |
| 46 |
fperms +x "${dir}/BaldursGate"{,64}
|
|
| 46 |
fperms +x "${dir}/BaldursGate"
|
|
| 47 | 47 | |
| 48 |
use amd64 && make_wrapper ${PN} "./BaldursGate64" "${dir}"
|
|
| 49 |
use x86 && make_wrapper ${PN} "./BaldursGate" "${dir}"
|
|
| 48 |
make_wrapper ${PN} "./BaldursGate" "${dir}"
|
|
| 50 | 49 | |
| 51 | 50 |
newicon "support/icon.png" "${PN}.png"
|
| 52 | 51 |
make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}"
|