diff options
author | 2018-01-11 16:40:02 +0000 | |
---|---|---|
committer | 2018-01-13 23:18:36 +0100 | |
commit | a73f986bae914bb63e3a83ac62c376051b9dbce6 (patch) | |
tree | 37d3007093ed5d026989e1f9ecdba277ace46ce6 /games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild | |
parent | games-emulation/vbam: add 2.0.1 with upstream's suggested patches (diff) | |
download | gentoo-a73f986bae914bb63e3a83ac62c376051b9dbce6.tar.gz gentoo-a73f986bae914bb63e3a83ac62c376051b9dbce6.tar.bz2 gentoo-a73f986bae914bb63e3a83ac62c376051b9dbce6.zip |
games-rpg/baldurs-gate-ee: updated installer
The GOG installer was updated, but the game version remains the same.
Closes: https://bugs.gentoo.org/642882
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6834
Diffstat (limited to 'games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild')
-rw-r--r-- | games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild new file mode 100644 index 000000000000..4e3bf5f6ec9a --- /dev/null +++ b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils unpacker + +DESCRIPTION="Baldur's Gate: Enhanced Edition" +HOMEPAGE="https://www.baldursgate.com/" +SRC_URI="gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist fetch" + +DEPEND="app-arch/unzip" +RDEPEND="dev-libs/expat[abi_x86_32(-)] + dev-libs/json-c[abi_x86_32(-)] + dev-libs/openssl:0[abi_x86_32(-)] + media-libs/openal[abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)]" + +QA_PREBUILT="/opt/${PN}/BaldursGate" + +S="${WORKDIR}/data/noarch" + +pkg_nofetch() { + einfo "Please buy and download \"${SRC_URI}\" from" + einfo "https://www.gog.com/game/baldurs_gate_enhanced_edition" + einfo "and copy it to \"${DISTDIR}\"" +} + +src_unpack() { + unpack_zip "${DISTDIR}/${SRC_URI}" +} + +src_install() { + local ABI="x86" + local dir="/opt/${PN}" + + dodoc -r "game/Manuals/." + rm -r "game/Manuals" || die "rm failed" + + insinto "${dir}" + doins -r "game/." + fperms +x "${dir}/BaldursGate" + + dodir "${dir}/lib" + dosym "../../../usr/$(get_libdir)/libjson-c.so" "${dir}/lib/libjson.so.0" + + newicon "support/icon.png" "${PN}.png" + make_wrapper ${PN} "./BaldursGate" "${dir}" "${dir}/lib" + make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}" "Game;RolePlaying" +} |