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, 17 Oct 2017 10:37:52
Message-Id: 1508236663.ccf7ebdfd48259901aa7ef5ee103f3f4327a74b7.polynomial-c@gentoo
1 commit: ccf7ebdfd48259901aa7ef5ee103f3f4327a74b7
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 17 10:35:55 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 10:37:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf7ebdf
7
8 games-rpg/manaplus: Bump to version 1.7.10.14
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 games-rpg/manaplus/Manifest | 1 +
13 games-rpg/manaplus/manaplus-1.7.10.14.ebuild | 99 ++++++++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest
17 index ced3461d417..4c658a81a37 100644
18 --- a/games-rpg/manaplus/Manifest
19 +++ b/games-rpg/manaplus/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST manaplus-1.7.10.14.tar.xz 14932496 SHA256 0a59af85953b1f73de8d1e2ff0be567167088ce8342e30537f49dc8784597f04 SHA512 9be54eeee2c0defb7affe7a01e071c152c854a9cc0a16179c967cb1980ebc3ee837004beb991fc9f603424797bf54146e04eee3221d233f448966afac4c784db WHIRLPOOL 7a311174b9c537c6964f519c6889348ccc929225d7466cfbd2a6b643155a2dbbb1cb8332ad8b9bcc7804d9dd0bf6d9b1cb1368692faa35e612f6a5a0575465be
22 DIST manaplus-1.7.9.2.tar.xz 14900648 SHA256 8fcbdf7cc5045e7f0118152774e6e190d27f9e612c440d929d5c02750716542d SHA512 9bb4888d85d133dbd730dfeb49456ef849bae04f9c8e4bd7b5fe1e4541ee4da291c193057e6ca77a7802b5256e977dccec334a5c6cbbcfa424f2faf2a6c2fe91 WHIRLPOOL af70949ae9b985607c2afb3432a1d0757470cf1d4ce896543d099e2b1c0d9ee5a362720cf0edc5ae5cb567a876f8acb7c19cef5fd04aa9db3f17406a1a910877
23 DIST manaplus-1.7.9.30.tar.xz 14930020 SHA256 1ae531f2e049a26edbb8f373348c620d2f3761cefb6a49a9a4399e0f40cd9c6a SHA512 5be99c4199de09e05472f4c835466932693f5a86f3bfc7d79426c96adfeb3f6e4e647f511ab0c9c31433e3ed481e6df5a7a83abf50784587b8b95493c1391646 WHIRLPOOL af62630410a1d276d6ff5408aaf4bce3b13c6fd3bc2a2aa09176987175cecc8d0e621dd75c27c5e176abae73ef27651fac60f841861fb17ddb899cd0954d0598
24
25 diff --git a/games-rpg/manaplus/manaplus-1.7.10.14.ebuild b/games-rpg/manaplus/manaplus-1.7.10.14.ebuild
26 new file mode 100644
27 index 00000000000..2d5897b5d6f
28 --- /dev/null
29 +++ b/games-rpg/manaplus/manaplus-1.7.10.14.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 +}