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