1 |
commit: f08dedfeb5e2685393813bf3729db23228e34940 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 22 10:27:17 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 22 10:27:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f08dedfe |
7 |
|
8 |
games-rpg/manaplus: Bump to version 1.8.2.17 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
games-rpg/manaplus/Manifest | 1 + |
13 |
games-rpg/manaplus/manaplus-1.8.2.17.ebuild | 99 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 100 insertions(+) |
15 |
|
16 |
diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest |
17 |
index 52622db8a0e..a56671e7964 100644 |
18 |
--- a/games-rpg/manaplus/Manifest |
19 |
+++ b/games-rpg/manaplus/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST manaplus-1.7.11.11.tar.xz 14940736 BLAKE2B 42746df8f51808745e1e964419a6e5ad6d5f7e06adec2dc80956e4060fadb55f42150359637ea612919327c8fc4b5261d208b6837e47c310ec6e254cd99eee7f SHA512 d5b14cb0e9859a76abb9a6fb4e8761704e66ff145ba5e46b616aee43a58197bb2b28a4d81e9cdb49a9aaf295241d0730f123cfabd2a9a720d786826ee811ab40 |
22 |
+DIST manaplus-1.8.2.17.tar.xz 14982240 BLAKE2B 8ed41c0af49ed3c3bfce69e4c29fc4a3a555fbda1cb05f2c3fb6395c74cdca4d22e890422137573a6b308d3cfe09416892bc6850f11469a267d9419a44b112a8 SHA512 b67a7e5986b5aa9716e4ae4ee651e63445f11e7efe258726d8f7c5245ebc9e5da9b4b65fb561023bfcca492098f3a6da9cac77e5ace27a4b7b0a7245e38ac08d |
23 |
|
24 |
diff --git a/games-rpg/manaplus/manaplus-1.8.2.17.ebuild b/games-rpg/manaplus/manaplus-1.8.2.17.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0008d1923b6 |
27 |
--- /dev/null |
28 |
+++ b/games-rpg/manaplus/manaplus-1.8.2.17.ebuild |
29 |
@@ -0,0 +1,99 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+[[ ${PV} == 9999 ]] && inherit autotools git-r3 |
35 |
+ |
36 |
+DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World" |
37 |
+HOMEPAGE="http://manaplus.evolonline.org" |
38 |
+if [[ ${PV} == 9999 ]] ; then |
39 |
+ EGIT_REPO_URI="https://github.com/ManaPlus/ManaPlus.git" |
40 |
+else |
41 |
+ SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/${P}.tar.xz" |
42 |
+ KEYWORDS="~amd64 ~x86" |
43 |
+fi |
44 |
+ |
45 |
+LICENSE="GPL-2+" |
46 |
+SLOT="0" |
47 |
+IUSE="mumble nls opengl pugixml +sdl2 test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-games/physfs-1.0.0 |
51 |
+ media-fonts/dejavu |
52 |
+ media-fonts/liberation-fonts |
53 |
+ media-fonts/mplus-outline-fonts |
54 |
+ media-fonts/wqy-microhei |
55 |
+ media-libs/libpng:0= |
56 |
+ net-misc/curl |
57 |
+ sys-libs/zlib |
58 |
+ x11-apps/xmessage |
59 |
+ x11-libs/libX11 |
60 |
+ x11-misc/xdg-utils |
61 |
+ mumble? ( media-sound/mumble ) |
62 |
+ nls? ( virtual/libintl ) |
63 |
+ opengl? ( virtual/opengl ) |
64 |
+ pugixml? ( dev-libs/pugixml ) |
65 |
+ !pugixml? ( dev-libs/libxml2 ) |
66 |
+ sdl2? ( |
67 |
+ media-libs/libsdl2[X,opengl?,video] |
68 |
+ media-libs/sdl2-gfx |
69 |
+ media-libs/sdl2-image[png] |
70 |
+ media-libs/sdl2-mixer[vorbis] |
71 |
+ media-libs/sdl2-net |
72 |
+ media-libs/sdl2-ttf |
73 |
+ ) |
74 |
+ !sdl2? ( |
75 |
+ media-libs/libsdl[X,opengl?,video] |
76 |
+ media-libs/sdl-gfx |
77 |
+ media-libs/sdl-image[png] |
78 |
+ media-libs/sdl-mixer[vorbis] |
79 |
+ media-libs/sdl-net |
80 |
+ media-libs/sdl-ttf |
81 |
+ )" |
82 |
+DEPEND="${RDEPEND} |
83 |
+ virtual/pkgconfig |
84 |
+ nls? ( sys-devel/gettext )" |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ if [[ ${PV} == 9999 ]] ; then |
89 |
+ eautoreconf |
90 |
+ fi |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local myeconfargs=( |
95 |
+ --localedir=/usr/share/locale |
96 |
+ --without-internalsdlgfx |
97 |
+ $(use_with mumble) |
98 |
+ $(use_enable nls) |
99 |
+ $(use_with opengl) |
100 |
+ --enable-libxml=$(usex pugixml pugixml libxml) |
101 |
+ $(use_with sdl2) |
102 |
+ $(use_enable test unittests) |
103 |
+ ) |
104 |
+ CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}" |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ default |
109 |
+ |
110 |
+ local destpath="/usr/share/${PN}" |
111 |
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${destpath}"/data/fonts/dejavusans-bold.ttf |
112 |
+ dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${destpath}"/data/fonts/dejavusans.ttf |
113 |
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${destpath}"/data/fonts/dejavusansmono-bold.ttf |
114 |
+ dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${destpath}"/data/fonts/dejavusansmono.ttf |
115 |
+ dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${destpath}"/data/fonts/dejavuserifcondensed-bold.ttf |
116 |
+ dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf "${destpath}"/data/fonts/dejavuserifcondensed.ttf |
117 |
+ dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${destpath}"/data/fonts/liberationsansmono-bold.ttf |
118 |
+ dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${destpath}"/data/fonts/liberationsansmono.ttf |
119 |
+ dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${destpath}"/data/fonts/liberationsans-bold.ttf |
120 |
+ dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${destpath}"/data/fonts/liberationsans.ttf |
121 |
+ dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${destpath}"/data/fonts/mplus-1p-bold.ttf |
122 |
+ dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/data/fonts/mplus-1p-regular.ttf |
123 |
+ dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${destpath}"/data/fonts/wqy-microhei.ttf |
124 |
+} |
125 |
+ |
126 |
+src_test() { |
127 |
+ make check |
128 |
+} |