Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/manaplus/
Date: Mon, 22 Feb 2016 06:02:04
Message-Id: 1456120914.37771b1efd039a9b2112dabbf39fcc5a0632d1ea.mr_bones_@gentoo
1 commit: 37771b1efd039a9b2112dabbf39fcc5a0632d1ea
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 22 05:55:05 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 22 06:01:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37771b1e
7
8 games-rpg/manaplus:
9
10 games-rpg/manaplus/manaplus-9999.ebuild | 83 +++++++++++++++++++++++++++++++++
11 1 file changed, 83 insertions(+)
12
13 diff --git a/games-rpg/manaplus/manaplus-9999.ebuild b/games-rpg/manaplus/manaplus-9999.ebuild
14 new file mode 100644
15 index 0000000..a34b274
16 --- /dev/null
17 +++ b/games-rpg/manaplus/manaplus-9999.ebuild
18 @@ -0,0 +1,83 @@
19 +# Copyright 1999-2016 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI=5
24 +inherit autotools git-r3 games
25 +
26 +DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
27 +HOMEPAGE="http://manaplus.evolonline.org"
28 +EGIT_REPO_URI="https://github.com/ManaPlus/ManaPlus.git"
29 +
30 +LICENSE="GPL-2+"
31 +SLOT="0"
32 +IUSE="mumble nls opengl pugixml test"
33 +
34 +RDEPEND="
35 + >=dev-games/physfs-1.0.0
36 + media-fonts/dejavu
37 + media-fonts/wqy-microhei
38 + media-fonts/liberation-fonts
39 + media-fonts/mplus-outline-fonts
40 + media-libs/libpng:0=
41 + media-libs/libsdl2[X,opengl?,video]
42 + media-libs/sdl2-gfx
43 + media-libs/sdl2-image[png]
44 + media-libs/sdl2-mixer[vorbis]
45 + media-libs/sdl2-net
46 + media-libs/sdl2-ttf
47 + net-misc/curl
48 + sys-libs/zlib
49 + x11-apps/xmessage
50 + x11-libs/libX11
51 + x11-misc/xdg-utils
52 + mumble? ( media-sound/mumble )
53 + nls? ( virtual/libintl )
54 + opengl? ( virtual/opengl )
55 + pugixml? ( dev-libs/pugixml )
56 + !pugixml? ( dev-libs/libxml2 )"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig
59 + nls? ( sys-devel/gettext )"
60 +
61 +src_unpack() {
62 + git-r3_src_unpack
63 +}
64 +
65 +src_prepare() {
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + CONFIG_SHELL=/bin/bash \
71 + egamesconf \
72 + --with-sdl2 \
73 + --without-internalsdlgfx \
74 + --localedir=/usr/share/locale \
75 + --prefix="/usr" \
76 + --bindir="${GAMES_BINDIR}" \
77 + $(use_with mumble) \
78 + $(use_enable nls) \
79 + $(use_with opengl) \
80 + --enable-libxml=$(usex pugixml pugixml libxml) \
81 + $(use_enable test unittests)
82 +}
83 +
84 +src_install() {
85 + default
86 + dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
87 + dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
88 + dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono-bold.ttf
89 + dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono.ttf
90 + dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavuserifcondensed-bold.ttf
91 + dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavuserifcondensed.ttf
92 + dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono-bold.ttf
93 + dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono.ttf
94 + dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans-bold.ttf
95 + dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans.ttf
96 + dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-bold.ttf
97 + dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-regular.ttf
98 + dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${GAMES_DATADIR}"/${PN}/data/fonts/wqy-microhei.ttf
99 +
100 + prepgamesdirs
101 +}