-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-rpg/baldurs-gate-ii-ee: new package, add 2.6.6.0.47292
Signed-off-by: Finn Rayment <finn@rayment.fr>
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST baldur_s_gate_ii_enhanced_edition_2_6_6_0_47292.sh 3360219867 BLAKE2B c30ed186082a4f2ca4d0417f7f208448964548a1a58b2c3cf597cb6cc4931525e622e2c0e4545523dba44c3ba54fd3033483faf7d01a538e6b5bd8fa26a766c9 SHA512 bab2c2dd9a05dcdf756310241c3707766b3391943f66836ff19d170810ba3a6c9dc2451d389db669aba5cec7bbf2a2ecdf30f0fa4d7aedaee1401c92f3d178c5 |
52 changes: 52 additions & 0 deletions
52
games-rpg/baldurs-gate-ii-ee/baldurs-gate-ii-ee-2.6.6.0.47292.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit desktop unpacker wrapper | ||
|
||
DESCRIPTION="Baldur's Gate II: Enhanced Edition" | ||
HOMEPAGE="https://baldursgate.beamdog.com/" | ||
SRC_URI="baldur_s_gate_ii_enhanced_edition_${PV//./_}.sh" | ||
|
||
LICENSE="GOG-EULA" | ||
SLOT="0" | ||
KEYWORDS="-* ~amd64" | ||
RESTRICT="bindist fetch" | ||
|
||
RDEPEND="dev-libs/expat | ||
dev-libs/openssl-compat:1.0.0 | ||
media-libs/openal | ||
virtual/opengl | ||
x11-libs/libX11" | ||
BDEPEND="app-arch/unzip" | ||
|
||
QA_PRESTRIPPED="opt/${PN}/BaldursGateII" | ||
|
||
S="${WORKDIR}/data/noarch" | ||
|
||
pkg_nofetch() { | ||
einfo "Please buy and download \"${SRC_URI}\" from" | ||
einfo "https://www.gog.com/game/baldurs_gate_2_enhanced_edition" | ||
einfo "and place it in your DISTDIR directory." | ||
} | ||
|
||
src_unpack() { | ||
unpack_zip ${A} | ||
} | ||
|
||
src_install() { | ||
local dir="/opt/${PN}" | ||
|
||
dodoc -r "game/Manuals/." | ||
rm -r "game/Manuals" || die "rm failed" | ||
|
||
insinto "${dir}" | ||
doins -r "game/." | ||
fperms +x "${dir}/BaldursGateII" | ||
|
||
make_wrapper ${PN} "./BaldursGateII" "${dir}" | ||
|
||
newicon "support/icon.png" "${PN}.png" | ||
make_desktop_entry "${PN}" "Baldur's Gate II: Enhanced Edition" "${PN}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person" proxied="yes"> | ||
<email>finn@rayment.fr</email> | ||
<name>Finn Rayment</name> | ||
</maintainer> | ||
<maintainer type="project" proxied="proxy"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
Baldur's Gate II: Enhanced Edition is a remake of the sequal to the | ||
original role-playing video game Baldur's Gate. It takes place in the | ||
Forgotten Realms, a high fantasy campaign setting, using a modified | ||
version of the Advanced Dungeons & Dragons (AD&D) 2nd edition | ||
rules. | ||
</longdescription> | ||
<upstream> | ||
<bugs-to>https://beamdog.atlassian.net/servicedesk/customer/portals</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |