Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/baldurs-gate-ee/, profiles/arch/amd64/no-multilib/, ...
Date: Sun, 18 Jun 2017 18:54:06
Message-Id: 1497811964.b80a56ef689d402b0b8e18a4ceff1bea4ff2df05.mgorny@gentoo
1 commit: b80a56ef689d402b0b8e18a4ceff1bea4ff2df05
2 Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 18 18:45:03 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 18 18:52:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a56ef
7
8 games-rpg/baldurs-gate-ee: new package
9
10 Closes: https://github.com/gentoo/gentoo/pull/4928
11 Package-Manager: Portage-2.3.5, Repoman-2.3.1
12
13 games-rpg/baldurs-gate-ee/Manifest | 1 +
14 .../baldurs-gate-ee-2.3.67.3.ebuild | 56 ++++++++++++++++++++++
15 games-rpg/baldurs-gate-ee/metadata.xml | 21 ++++++++
16 profiles/arch/amd64/no-multilib/package.mask | 1 +
17 .../hardened/linux/amd64/no-multilib/package.mask | 1 +
18 5 files changed, 80 insertions(+)
19
20 diff --git a/games-rpg/baldurs-gate-ee/Manifest b/games-rpg/baldurs-gate-ee/Manifest
21 new file mode 100644
22 index 00000000000..f79b24057cf
23 --- /dev/null
24 +++ b/games-rpg/baldurs-gate-ee/Manifest
25 @@ -0,0 +1 @@
26 +DIST gog_baldur_s_gate_enhanced_edition_2.5.0.8.sh 2877122979 SHA256 ddd4ad12a340db1fe74f68532565df216577ffd76ce9190da0a288594b161e7b SHA512 b129e7c8e656092ab731410e0776576f28e497958e84faf02095d0a22ee72a2c8c9d1563b8c972959f6f9d4c2cb9dacd13358d5aee1c53c3f198d9b362c19d3d WHIRLPOOL 730218b67b6f026bbd3f40d2f0d382c60b10be48ca0e13f6d705ca96e6edebe21e0fb3131dd1c07aadf3c7396f56e8dbd55b0c19074bd7564ea7d533cb98ace2
27
28 diff --git a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3.ebuild
29 new file mode 100644
30 index 00000000000..9dab4cbf46b
31 --- /dev/null
32 +++ b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3.ebuild
33 @@ -0,0 +1,56 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit eutils unpacker
40 +
41 +DESCRIPTION="Baldur's Gate: Enhanced Edition"
42 +HOMEPAGE="https://www.baldursgate.com/"
43 +SRC_URI="gog_baldur_s_gate_enhanced_edition_2.5.0.8.sh"
44 +
45 +LICENSE="GOG-EULA"
46 +SLOT="0"
47 +KEYWORDS="-* ~amd64 ~x86"
48 +RESTRICT="bindist fetch"
49 +
50 +DEPEND="app-arch/unzip"
51 +RDEPEND="dev-libs/expat[abi_x86_32(-)]
52 + dev-libs/json-c[abi_x86_32(-)]
53 + dev-libs/openssl:0[abi_x86_32(-)]
54 + media-libs/openal[abi_x86_32(-)]
55 + virtual/opengl[abi_x86_32(-)]
56 + x11-libs/libX11[abi_x86_32(-)]"
57 +
58 +QA_PREBUILT="/opt/${PN}/BaldursGate"
59 +
60 +S="${WORKDIR}/data/noarch"
61 +
62 +pkg_nofetch() {
63 + einfo "Please buy and download \"${SRC_URI}\" from"
64 + einfo "https://www.gog.com/game/baldurs_gate_enhanced_edition"
65 + einfo "and copy it to \"${DISTDIR}\""
66 +}
67 +
68 +src_unpack() {
69 + unpack_zip "${DISTDIR}/${SRC_URI}"
70 +}
71 +
72 +src_install() {
73 + local ABI="x86"
74 + local dir="/opt/${PN}"
75 +
76 + dodoc -r "game/Manuals/."
77 + rm -r "game/Manuals" || die "rm failed"
78 +
79 + insinto "${dir}"
80 + doins -r "game/."
81 + fperms +x "${dir}/BaldursGate"
82 +
83 + dodir "${dir}/lib"
84 + dosym "../../../usr/$(get_libdir)/libjson-c.so" "${dir}/lib/libjson.so.0"
85 +
86 + newicon "support/icon.png" "${PN}.png"
87 + make_wrapper ${PN} "./BaldursGate" "${dir}" "${dir}/lib"
88 + make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}" "Game;RolePlaying"
89 +}
90
91 diff --git a/games-rpg/baldurs-gate-ee/metadata.xml b/games-rpg/baldurs-gate-ee/metadata.xml
92 new file mode 100644
93 index 00000000000..09145c6cdfd
94 --- /dev/null
95 +++ b/games-rpg/baldurs-gate-ee/metadata.xml
96 @@ -0,0 +1,21 @@
97 +<?xml version="1.0" encoding="UTF-8"?>
98 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
99 +<pkgmetadata>
100 + <maintainer type="person">
101 + <email>sir.suriv@×××××.com</email>
102 + <name>Diogo Pereira</name>
103 + </maintainer>
104 + <maintainer type="project">
105 + <email>proxy-maint@g.o</email>
106 + <name>Proxy Maintainers</name>
107 + </maintainer>
108 + <longdescription lang="en">
109 + Baldur's Gate: Enhanced Edition is a remake of the role-playing video
110 + game Baldur's Gate. It takes place in the Forgotten Realms, a high
111 + fantasy campaign setting, using a modified version of the Advanced
112 + Dungeons &amp; Dragons (AD&amp;D) 2nd edition rules.
113 + </longdescription>
114 + <upstream>
115 + <bugs-to>https://support.baldursgate.com/projects/bg-ee-bugs/issues</bugs-to>
116 + </upstream>
117 +</pkgmetadata>
118
119 diff --git a/profiles/arch/amd64/no-multilib/package.mask b/profiles/arch/amd64/no-multilib/package.mask
120 index 76c485bd223..31b00d58918 100644
121 --- a/profiles/arch/amd64/no-multilib/package.mask
122 +++ b/profiles/arch/amd64/no-multilib/package.mask
123 @@ -116,6 +116,7 @@ games-misc/little-inferno
124 games-misc/papers-please
125 games-puzzle/hoh-bin
126 games-roguelike/adom
127 +games-rpg/baldurs-gate-ee
128 games-rpg/dear-esther
129 games-rpg/dungeon-defenders
130 games-rpg/eschalon-book-1-demo
131
132 diff --git a/profiles/hardened/linux/amd64/no-multilib/package.mask b/profiles/hardened/linux/amd64/no-multilib/package.mask
133 index 3bc7a0be28a..9aff5953aea 100644
134 --- a/profiles/hardened/linux/amd64/no-multilib/package.mask
135 +++ b/profiles/hardened/linux/amd64/no-multilib/package.mask
136 @@ -112,6 +112,7 @@ games-misc/little-inferno
137 games-puzzle/hoh-bin
138 games-roguelike/adom
139 <games-roguelike/dwarf-fortress-0.43.0
140 +games-rpg/baldurs-gate-ee
141 games-rpg/dear-esther
142 games-rpg/eschalon-book-1-demo
143 games-rpg/nwmouse