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