From: | "Julian Ospald (hasufell)" <hasufell@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-rpg/arx-libertatis: ChangeLog arx-libertatis-1.0.3.ebuild |
Date: | Tue, 31 Jul 2012 09:10:43 |
Message-Id: | 20120731091033.883912004C@flycatcher.gentoo.org |
1 | hasufell 12/07/31 09:10:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: arx-libertatis-1.0.3.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha120/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.7 games-rpg/arx-libertatis/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/arx-libertatis/ChangeLog?rev=1.7&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/arx-libertatis/ChangeLog?rev=1.7&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/arx-libertatis/ChangeLog?r1=1.6&r2=1.7 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/ChangeLog,v |
20 | retrieving revision 1.6 |
21 | retrieving revision 1.7 |
22 | diff -u -r1.6 -r1.7 |
23 | --- ChangeLog 31 Jul 2012 09:07:27 -0000 1.6 |
24 | +++ ChangeLog 31 Jul 2012 09:10:33 -0000 1.7 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for games-rpg/arx-libertatis |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/ChangeLog,v 1.6 2012/07/31 09:07:27 hasufell Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/ChangeLog,v 1.7 2012/07/31 09:10:33 hasufell Exp $ |
30 | + |
31 | +*arx-libertatis-1.0.3 (31 Jul 2012) |
32 | + |
33 | + 31 Jul 2012; Julian Ospald <hasufell@g.o> |
34 | + +arx-libertatis-1.0.3.ebuild, +files/arx-libertatis-1.0.3-gentoo.patch: |
35 | + version bump |
36 | |
37 | 31 Jul 2012; Julian Ospald <hasufell@g.o> |
38 | arx-libertatis-1.0.2-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: arx-libertatis-1.0.3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild,v 1.1 2012/07/31 09:10:33 hasufell Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | inherit eutils cmake-utils gnome2-utils games |
56 | |
57 | DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game" |
58 | HOMEPAGE="http://arx-libertatis.org/" |
59 | SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz" |
60 | |
61 | LICENSE="GPL-3" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="cdinstall demo debug unity-build crash-reporter tools" |
65 | |
66 | COMMON_DEPEND=">=dev-libs/boost-1.39 |
67 | media-libs/devil[jpeg] |
68 | media-libs/freetype |
69 | media-libs/glew |
70 | media-libs/libsdl[opengl] |
71 | media-libs/openal |
72 | sys-libs/zlib |
73 | virtual/opengl |
74 | x11-libs/libX11 |
75 | crash-reporter? ( |
76 | x11-libs/qt-core:4[ssl] |
77 | x11-libs/qt-gui:4 |
78 | )" |
79 | RDEPEND="${COMMON_DEPEND} |
80 | crash-reporter? ( sys-devel/gdb )" |
81 | DEPEND="${COMMON_DEPEND}" |
82 | PDEPEND="cdinstall? ( >=games-rpg/arx-fatalis-data-1.21 ) |
83 | demo? ( games-rpg/arx-fatalis-demo )" |
84 | |
85 | DOCS=( README.md AUTHORS CHANGELOG ) |
86 | |
87 | src_prepare() { |
88 | epatch "${FILESDIR}"/${P}-gentoo.patch |
89 | } |
90 | |
91 | src_configure() { |
92 | use debug && CMAKE_BUILD_TYPE=Debug |
93 | |
94 | # editor does not build |
95 | local mycmakeargs=( |
96 | $(cmake-utils_use unity-build UNITY_BUILD) |
97 | $(cmake-utils_use_build tools TOOLS) |
98 | $(cmake-utils_use_build crash-reporter CRASHREPORTER) |
99 | -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
100 | -DGAMESBINDIR="${GAMES_BINDIR}" |
101 | -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}" |
102 | -DICONDIR=/usr/share/icons/hicolor/128x128/apps |
103 | ) |
104 | |
105 | cmake-utils_src_configure |
106 | } |
107 | |
108 | src_compile() { |
109 | cmake-utils_src_compile |
110 | } |
111 | |
112 | src_install() { |
113 | cmake-utils_src_install |
114 | dogamesbin "${FILESDIR}"/arx-data-copy |
115 | prepgamesdirs |
116 | } |
117 | |
118 | pkg_preinst() { |
119 | games_pkg_preinst |
120 | gnome2_icon_savelist |
121 | } |
122 | |
123 | pkg_postinst() { |
124 | einfo "This package only installs the game binary." |
125 | if ! use cdinstall || ! use demo ; then |
126 | elog "You need the demo or full game data." |
127 | elog "See http://wiki.arx-libertatis.org/Getting_the_game_data for more information" |
128 | elog |
129 | elog "You might want to enable cdinstall or demo useflag." |
130 | elog |
131 | elog "If you have already installed the game or use the STEAM version," |
132 | elog "run \"${GAMES_BINDIR}/arx-data-copy /path/to/installed-arx /usr/local/share/games/arx\"." |
133 | fi |
134 | |
135 | games_pkg_postinst |
136 | gnome2_icon_cache_update |
137 | } |
138 | |
139 | pkg_postrm() { |
140 | gnome2_icon_cache_update |
141 | } |