Skip to content

Commit

Permalink
games-rpg/baldurs-gate-ii-ee: new package, add 2.6.6.0.47292
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Rayment <finn@rayment.fr>
  • Loading branch information
rayment committed Jul 29, 2023
1 parent 8a895d6 commit f46fce6
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-rpg/baldurs-gate-ii-ee/Manifest
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
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}"
}
22 changes: 22 additions & 0 deletions games-rpg/baldurs-gate-ii-ee/metadata.xml
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 &amp; Dragons (AD&amp;D) 2nd edition
rules.
</longdescription>
<upstream>
<bugs-to>https://beamdog.atlassian.net/servicedesk/customer/portals</bugs-to>
</upstream>
</pkgmetadata>

0 comments on commit f46fce6

Please sign in to comment.