diff --git a/games-rpg/baldurs-gate-ii-ee/Manifest b/games-rpg/baldurs-gate-ii-ee/Manifest new file mode 100644 index 0000000000000..2b0a3d9d4457a --- /dev/null +++ b/games-rpg/baldurs-gate-ii-ee/Manifest @@ -0,0 +1 @@ +DIST baldur_s_gate_ii_enhanced_edition_2_6_6_0_47292.sh 3360219867 BLAKE2B c30ed186082a4f2ca4d0417f7f208448964548a1a58b2c3cf597cb6cc4931525e622e2c0e4545523dba44c3ba54fd3033483faf7d01a538e6b5bd8fa26a766c9 SHA512 bab2c2dd9a05dcdf756310241c3707766b3391943f66836ff19d170810ba3a6c9dc2451d389db669aba5cec7bbf2a2ecdf30f0fa4d7aedaee1401c92f3d178c5 diff --git a/games-rpg/baldurs-gate-ii-ee/baldurs-gate-ii-ee-2.6.6.0.47292.ebuild b/games-rpg/baldurs-gate-ii-ee/baldurs-gate-ii-ee-2.6.6.0.47292.ebuild new file mode 100644 index 0000000000000..6e88bb0ee3ef9 --- /dev/null +++ b/games-rpg/baldurs-gate-ii-ee/baldurs-gate-ii-ee-2.6.6.0.47292.ebuild @@ -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}" +} diff --git a/games-rpg/baldurs-gate-ii-ee/metadata.xml b/games-rpg/baldurs-gate-ii-ee/metadata.xml new file mode 100644 index 0000000000000..38e75a9e2b5f3 --- /dev/null +++ b/games-rpg/baldurs-gate-ii-ee/metadata.xml @@ -0,0 +1,22 @@ + + + + + finn@rayment.fr + Finn Rayment + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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. + + + https://beamdog.atlassian.net/servicedesk/customer/portals + +