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: Tue, 30 May 2017 14:22:32
Message-Id: 1496154137.ad325afa78d3f8899a9a33a218a7ff1acfb02bdb.polynomial-c@gentoo
1 commit: ad325afa78d3f8899a9a33a218a7ff1acfb02bdb
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 30 13:29:59 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue May 30 14:22:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad325afa
7
8 games-rpg/manaplus: Bump to version 1.7.5.27
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.5.27.ebuild | 98 +++++++++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest
17 index 013698f77a3..26bb458323a 100644
18 --- a/games-rpg/manaplus/Manifest
19 +++ b/games-rpg/manaplus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST manaplus-1.7.4.29.tar.xz 14816088 SHA256 08048156c97255b1b1311a912c6b7224a7f7ade2d2bfaee0375968ee843b5f48 SHA512 0ba95ee6f9f3b18e53bc61047b4a5779faf76c9eb88d49e7f2e171cd13fc211c574d02e8b38b3e6a382bfa82e28db37d7908058054bd7a010615fabbf6dd2c7d WHIRLPOOL e7a654ebd350efda80321c32ba3395f0b5099d4e25725e84fdb01a3a0421aa3bf19c012c025cc3a74c8eaaec94fedf978e15e33467ae5699569d4e21a1463255
22 DIST manaplus-1.7.5.14.tar.xz 14813736 SHA256 9019e48a19c47674355ae7524f513e45785a05be166e8a302d93e536653ab8ac SHA512 4c95554c590cc8b96bcd66f528e26b184ff3f9c60230130b092731a8b310bb64ee8fdeab44c0415b7cf9b81ed5ab9aca90ff3b167e895413c0139c1909c44c37 WHIRLPOOL fb36cdbae6f15dd65104b64a58e24f083fcb50bc26d6219d1d4984d0114a1a846e72055a7b7fbcfef72a9a44477956ad81a3d876c9d225186a1460851fbd6262
23 +DIST manaplus-1.7.5.27.tar.xz 14844236 SHA256 2eea734ccb5a869c3a0e97cc93a88c9bba9cd22d7fbf95dfeb1475fda7ee48ec SHA512 71c73323705c5deb98d27701801deac2696ac7b99aa3eb0bdebc2ee876c64b77496e4c5c02674934218bef74287bba676a4e5866fab8ad53be3712207e83d5c4 WHIRLPOOL 8dfa66d7a8c13a0947020f528f08389d8d97b4e2ffca3b6b6aba3d82dd5f811db960b2608bb3b1bf16d2e0dbdfb5573010b891d1538df6b048a4b18a737ae0a7
24
25 diff --git a/games-rpg/manaplus/manaplus-1.7.5.27.ebuild b/games-rpg/manaplus/manaplus-1.7.5.27.ebuild
26 new file mode 100644
27 index 00000000000..7896a6774af
28 --- /dev/null
29 +++ b/games-rpg/manaplus/manaplus-1.7.5.27.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 +}