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, 22 Aug 2017 14:49:04
Message-Id: 1503413332.cbc12a50fd21c37a938270a6e8abcafbe21661a8.polynomial-c@gentoo
1 commit: cbc12a50fd21c37a938270a6e8abcafbe21661a8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 22 14:47:35 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 22 14:48:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc12a50
7
8 games-rpg/manaplus: Bump to version 1.7.8.19
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 games-rpg/manaplus/Manifest | 1 +
13 games-rpg/manaplus/manaplus-1.7.8.19.ebuild | 99 +++++++++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/games-rpg/manaplus/Manifest b/games-rpg/manaplus/Manifest
17 index 07ec476ca01..3131ecae2aa 100644
18 --- a/games-rpg/manaplus/Manifest
19 +++ b/games-rpg/manaplus/Manifest
20 @@ -1,2 +1,3 @@
21 DIST manaplus-1.7.7.22.tar.xz 14894836 SHA256 b059067e7afba041b21a5cb266ed0ab9587da17b327c46952cccc691408f5515 SHA512 6dff569421123e1a3f7fb215f80da3ae20958510bc7ae6a252b85e1afe229e7e1398522ec1ddc9c3ddbde26dcd8ccbbe632b1307ff1527927cd1dc0bcad82f67 WHIRLPOOL 890a8875d3bd8294cc87409b03efad12dd104dee8b5b1eac9d200ceb4c4c7ae6d9ebf6901fea7a57e69b1415d165524001841cc09521ccb4f1976e548169a3b1
22 +DIST manaplus-1.7.8.19.tar.xz 14896636 SHA256 244cdaa02a480ed96ab95aa9095484068c233fc3388a9fc3ae4f6967ea4bbbf8 SHA512 d87dc8b4364b4ff8ccca7083019ec370cd3ac5ca29d02d4ce52706485219f107c932d9c75079848ea812ada5d1a6cbdb9d6437f3e6141093320d3984dd6548dd WHIRLPOOL f59d522f085bbd2e3dfe9d3f4b0d4925cfec8474a547fdb1b87fe0aad42d09eab326edccaef85c576ad7dca54bc26747bf294382a455aa776721c840e0cb4a6a
23 DIST manaplus-1.7.8.5.tar.xz 14896112 SHA256 0247a7cefb519cb6cf7af44bb61383f54179976dbe41fee3f9d357689c6565c1 SHA512 d5de7e467ed365123cabcbd72452c42d57bf436fbaffb339f474595c18413ef332e531cdb9b946c59c00aff28dfdbea4ed387b96bcda24c7ab9b949374e7d2ad WHIRLPOOL 574aad5ac8f1ad7fc2cc9b430fbdb13bd91ed7c86502a94ca44f668cd8b9b8ff105752470c0c16bfee801cc159e6827830abc3f523c4d05bd29d38ded120d48a
24
25 diff --git a/games-rpg/manaplus/manaplus-1.7.8.19.ebuild b/games-rpg/manaplus/manaplus-1.7.8.19.ebuild
26 new file mode 100644
27 index 00000000000..2d5897b5d6f
28 --- /dev/null
29 +++ b/games-rpg/manaplus/manaplus-1.7.8.19.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 +}