1 |
commit: c74ba037a9433072a4f10235b4e6084c0c4426f0 |
2 |
Author: David Hicks <david <AT> hicks <DOT> id <DOT> au> |
3 |
AuthorDate: Fri Jul 28 11:56:13 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 09:53:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74ba037 |
7 |
|
8 |
games-strategy/seven-kingdoms: bump to version 2.14.7 |
9 |
|
10 |
Changes made: |
11 |
* Download source from new official GitHub repository |
12 |
* Prefer https for official webpage |
13 |
* Use EAPI=6 |
14 |
* Remove src_prepare as the default in EAPI 6 now includes user patches |
15 |
* Add new curl dependency (required for full multi-player ability) |
16 |
* Remove deprecated games eclass dependency and use of functions |
17 |
* Update the data directory to /usr/share/ |
18 |
* --without-wine is not required as this is the default |
19 |
* --disable-debug is not required as this is the default |
20 |
* No need to specify DOCS as README will be picked up automatically |
21 |
* Remove package exclusion games-strategy/seven-kingdoms-data as this |
22 |
package is no longer in the tree |
23 |
|
24 |
Gentoo-Bug: 626426 |
25 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
26 |
Closes: https://github.com/gentoo/gentoo/pull/5233 |
27 |
|
28 |
games-strategy/seven-kingdoms/Manifest | 1 + |
29 |
.../seven-kingdoms/seven-kingdoms-2.14.7.ebuild | 37 ++++++++++++++++++++++ |
30 |
2 files changed, 38 insertions(+) |
31 |
|
32 |
diff --git a/games-strategy/seven-kingdoms/Manifest b/games-strategy/seven-kingdoms/Manifest |
33 |
index 78caac3ff9e..c075a847835 100644 |
34 |
--- a/games-strategy/seven-kingdoms/Manifest |
35 |
+++ b/games-strategy/seven-kingdoms/Manifest |
36 |
@@ -1,3 +1,4 @@ |
37 |
DIST 7kaa-2.14.5.tar.xz 31223408 SHA256 c7f04fa640d324ed8f1523da49945acd0f1ee2a99e3ee82ee29b52d2f735e464 SHA512 cd797e63ba377d1f7b3e37cd775afd381ad015baf90bdfe00bc3f8741f745548b8abdd61e4b334e9fa54a5c04b48493ba8a90fbebef3f977517f12563d1efddd WHIRLPOOL 0a786e9657568349579fa7ce2fe907942ffbcec1e03eb07b22a3ede915005a57389957960971df9680f7f8cb1a0b281e9da289500b9bf1e5c3e414aa60769451 |
38 |
+DIST 7kaa-2.14.7.tar.xz 31342092 SHA256 9425cfb7f11a915e82d4696649db35a4d53969a9479a4705b403206df462e543 SHA512 5c2067a842af18f2eaa21267ee0c48064eecfc6b967eb2abf967f2bf782a9699186b038d87de03fad71b5d88ec9fc1cfddd7521cb90c255a3a8d2aa586d3f2c1 WHIRLPOOL 89feb88acfa19e93a1d2e3820f1fe0d20c8225acff22d444616bd55e6c8ad214f7f6b3e3b830803c3c9c3cafa778da8b9adcbc937ef4f7db9dc36577011aa9b1 |
39 |
DIST 7kaa-source-2.14.4.tar.bz2 27366752 SHA256 60b61f321db6c295330fb3fb21894bc41cb6e0bd797aff9abe45cf2392b49fa1 SHA512 7ee39aba89993d9f0041ab991e053069e0c3ab4298f74c0ec95e3f30f49a71731ef37d8870b1ab9afd97b1c4618a879492976006b8a513bfc4bc44dfac591bf0 WHIRLPOOL 4568d36278d4a286e0395b79ec06c03905b5e69be827faa80f4808c8b8fa097a65ac69ee5c58020dfcf21aa00649eaab2a3ac87a636b680167b4c83b3d3e5f73 |
40 |
DIST 7kaa.png 559 SHA256 354f64479b55df2021ca67366abb4724218ca3676fde9e735bfb2218bc1559f4 SHA512 0ec1ba67107a7823943704879efaf12297c5441c43b54f49684550927b10dc40c657fe93eb7c4cc85208d08194f179c9602fd8df6545776f3e1b4481803b16e6 WHIRLPOOL cb896939453d8ed6fc425931bb1f5b74c62aeea67e71e4645fe79fc69fb13fae89d4959651fd95dcbb416c378b4ef44873dc6ebdabc1f2bb1fed3753332209da |
41 |
|
42 |
diff --git a/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..012fe8f1bc6 |
45 |
--- /dev/null |
46 |
+++ b/games-strategy/seven-kingdoms/seven-kingdoms-2.14.7.ebuild |
47 |
@@ -0,0 +1,37 @@ |
48 |
+# Copyright 1999-2017 Gentoo Foundation |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=6 |
52 |
+ |
53 |
+inherit eutils |
54 |
+ |
55 |
+MY_PN="7kaa" |
56 |
+MY_P="${MY_PN}-${PV}" |
57 |
+ |
58 |
+DESCRIPTION="Seven Kingdoms: Ancient Adversaries" |
59 |
+HOMEPAGE="https://7kfans.com/" |
60 |
+SRC_URI="https://github.com/the3dfxdude/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz |
61 |
+ https://dev.gentoo.org/~pinkbyte/distfiles/${MY_PN}.png" |
62 |
+ |
63 |
+LICENSE="GPL-2" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+ |
67 |
+DEPEND="net-libs/enet:1.3= |
68 |
+ media-libs/libsdl2[X,video] |
69 |
+ media-libs/openal |
70 |
+ net-misc/curl" |
71 |
+RDEPEND="${DEPEND}" |
72 |
+ |
73 |
+S="${WORKDIR}/${MY_P}" |
74 |
+ |
75 |
+src_unpack() { |
76 |
+ unpack ${MY_P}.tar.xz |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ default |
81 |
+ |
82 |
+ doicon "${DISTDIR}/${MY_PN}.png" |
83 |
+ make_desktop_entry "${MY_PN}" "Seven Kingdoms: Ancient Adversaries" "${MY_PN}" "Game;StrategyGame" |
84 |
+} |