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, 28 Sep 2015 20:44:51
Message-Id: 1443473074.e6118706df7e73bdd08cefa7dd3ccb73b2faa392.mr_bones_@gentoo
1 commit: e6118706df7e73bdd08cefa7dd3ccb73b2faa392
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 03:26:37 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 28 20:44:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6118706
7
8 version bump
9
10 Package-Manager: portage-2.2.20.1
11
12 games-rpg/manaplus/Manifest | 1 +
13 games-rpg/manaplus/manaplus-1.5.9.26.ebuild | 75 +++++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest
17 index cdd098c..ec45849 100644
18 --- a/games-rpg/manaplus/Manifest
19 +++ b/games-rpg/manaplus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST manaplus-1.5.6.20.tar.xz 9376348 SHA256 cee7ce82c730c3e2254bc335023eb5531a3bcb4434a926f8685e16a2651f5b7e SHA512 bec1a2f9e0c034f234ce66836454df7296ce366a55d635713f4ba6103b4ab12d5a0dfd5d00b6b67a935499226e50ed1d1750f37ac70f06017d047015ba3a3627 WHIRLPOOL 728621e395fdb6ba4491e35d25897346cd70676a459c729cb56d258aeb6b413e144e57f5f306a7084511f5c0cbe3425ac25b921f3c5367d7db3696e43e869365
22 DIST manaplus-1.5.8.15.tar.xz 9399088 SHA256 c9ebf1c106fd04f8b192b4f07b15528a69bd3541f5eeee7cc5ecfa643a1dab9c SHA512 c99f5f782c794f0697242a2191b0eb5062964919abc6122cc88c2eb2bc32e4ce085b10c4d97d926ee72b0bac406db3130fc05d76cb8e6f1241579a115db8d44d WHIRLPOOL fc5600fe2e42f362abe507a99834bdf1810ef643709fba0005a78119728e4f204df8e7ef2672ba8548fd611f48ddb3b9a063a104b216f3c000b3ee52d83eacab
23 +DIST manaplus-1.5.9.26.tar.xz 9441816 SHA256 46efd357bc5e51311300e9239dead96f32a6a0a3c6407c091208e1b359d0151c SHA512 78cb38682fde6fb2fdb2f3805be45d69d926e2965bba3630c47f5f9ebc2d81b7dcae9dd08ae3bcaefd8837b02e09ec8da89b870052a232eb2ca8b9a9f8120413 WHIRLPOOL 4c2f153a79d71e6e69ec0b01419885453777e010c313fd4f86727cd39ec67d5eaeeeaa6237443b594ba3b42fba194e43f15f4fe5f4f43df4366aa2a85b4ce506
24
25 diff --git a/games-rpg/manaplus/manaplus-1.5.9.26.ebuild b/games-rpg/manaplus/manaplus-1.5.9.26.ebuild
26 new file mode 100644
27 index 0000000..f2ed73b
28 --- /dev/null
29 +++ b/games-rpg/manaplus/manaplus-1.5.9.26.ebuild
30 @@ -0,0 +1,75 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +inherit games
37 +
38 +DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
39 +HOMEPAGE="http://manaplus.evolonline.org"
40 +SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/manaplus-${PV}.tar.xz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="nls opengl"
46 +
47 +RDEPEND="
48 + >=dev-games/physfs-1.0.0
49 + dev-libs/libxml2
50 + media-libs/libpng:0=
51 + media-libs/libsdl2[X,opengl?,video]
52 + media-libs/sdl2-gfx
53 + media-libs/sdl2-image[png]
54 + media-libs/sdl2-mixer[vorbis]
55 + media-libs/sdl2-net
56 + media-libs/sdl2-ttf
57 + net-misc/curl
58 + sys-libs/zlib
59 + x11-libs/libX11
60 + x11-misc/xdg-utils
61 + x11-apps/xmessage
62 + media-fonts/dejavu
63 + media-fonts/wqy-microhei
64 + media-fonts/liberation-fonts
65 + media-fonts/mplus-outline-fonts
66 + nls? ( virtual/libintl )
67 + opengl? ( virtual/opengl )"
68 +DEPEND="${RDEPEND}
69 + virtual/pkgconfig
70 + nls? ( sys-devel/gettext )"
71 +
72 +src_prepare() {
73 + sed -i \
74 + -e '/^SUBDIRS/s/fonts//' \
75 + data/Makefile.in || die
76 +}
77 +
78 +src_configure() {
79 + CONFIG_SHELL=/bin/bash \
80 + egamesconf \
81 + --with-sdl2 \
82 + --without-internalsdlgfx \
83 + --localedir=/usr/share/locale \
84 + --prefix="/usr" \
85 + --bindir="${GAMES_BINDIR}" \
86 + $(use_with opengl) \
87 + $(use_enable nls)
88 +}
89 +
90 +src_install() {
91 + default
92 + dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
93 + dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono-bold.ttf
94 + dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono.ttf
95 + dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
96 + dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans-bold.ttf
97 + dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono-bold.ttf
98 + dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono.ttf
99 + dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans.ttf
100 + dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${GAMES_DATADIR}"/${PN}/data/fonts/wqy-microhei.ttf
101 + dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-bold.ttf
102 + dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-regular.ttf
103 +
104 + prepgamesdirs
105 +}