Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/manaplus/
Date: Sun, 18 Jun 2017 23:54:51
Message-Id: 1497830010.c5505d85911967b036eca05ed51f8324315de211.polynomial-c@gentoo
1 commit: c5505d85911967b036eca05ed51f8324315de211
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 18 23:53:30 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 18 23:53:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5505d85
7
8 games-rpg/manaplus: Bump to version 1.7.6.10
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.10.ebuild | 98 +++++++++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest
17 index e403a28cef2..44d53ec095d 100644
18 --- a/games-rpg/manaplus/Manifest
19 +++ b/games-rpg/manaplus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST manaplus-1.7.5.14.tar.xz 14813736 SHA256 9019e48a19c47674355ae7524f513e45785a05be166e8a302d93e536653ab8ac SHA512 4c95554c590cc8b96bcd66f528e26b184ff3f9c60230130b092731a8b310bb64ee8fdeab44c0415b7cf9b81ed5ab9aca90ff3b167e895413c0139c1909c44c37 WHIRLPOOL fb36cdbae6f15dd65104b64a58e24f083fcb50bc26d6219d1d4984d0114a1a846e72055a7b7fbcfef72a9a44477956ad81a3d876c9d225186a1460851fbd6262
22 DIST manaplus-1.7.5.27.tar.xz 14844236 SHA256 2eea734ccb5a869c3a0e97cc93a88c9bba9cd22d7fbf95dfeb1475fda7ee48ec SHA512 71c73323705c5deb98d27701801deac2696ac7b99aa3eb0bdebc2ee876c64b77496e4c5c02674934218bef74287bba676a4e5866fab8ad53be3712207e83d5c4 WHIRLPOOL 8dfa66d7a8c13a0947020f528f08389d8d97b4e2ffca3b6b6aba3d82dd5f811db960b2608bb3b1bf16d2e0dbdfb5573010b891d1538df6b048a4b18a737ae0a7
23 +DIST manaplus-1.7.6.10.tar.xz 14847988 SHA256 14e20a63d33fc1a30af16e7143e3015baead9db957ea2c38a90a08fcefe6fa50 SHA512 ca8a191c37758883d593dd1f8718fe4c8f9620fac5fd6034aad12a84815ec75e725e26a868673fe25c59efef7f21012869f6f90156ca93d2d48b26c8ffdd87cf WHIRLPOOL fbee48f38ba09ec5e9125e17311d844d0a2af464a90d962f7eb3d3ed06a7e93f035f12391ff397307b7e9408002159948f37718f0bcb642e2df78521b5164ce3
24
25 diff --git a/games-rpg/manaplus/manaplus-1.7.6.10.ebuild b/games-rpg/manaplus/manaplus-1.7.6.10.ebuild
26 new file mode 100644
27 index 00000000000..7896a6774af
28 --- /dev/null
29 +++ b/games-rpg/manaplus/manaplus-1.7.6.10.ebuild
30 @@ -0,0 +1,98 @@
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 + CONFIG_SHELL=/bin/bash \
96 + econf \
97 + --localedir=/usr/share/locale \
98 + --without-internalsdlgfx \
99 + $(use_with mumble) \
100 + $(use_enable nls) \
101 + $(use_with opengl) \
102 + --enable-libxml=$(usex pugixml pugixml libxml) \
103 + $(use_with sdl2) \
104 + $(use_enable test unittests)
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 +}