blob: de232c1520ae804a3caec433cf74f12fdc3c040d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/valyriatear/valyriatear-0.6.0.ebuild,v 1.3 2013/12/24 12:46:22 ago Exp $
EAPI=5
inherit cmake-utils games
MY_P=ValyriaTear-${PV/_rc/-rc}
DESCRIPTION="A free 2D J-RPG based on the Hero of Allacrost engine"
HOMEPAGE="http://valyriatear.blogspot.de/"
SRC_URI="mirror://sourceforge/valyriatear/${MY_P}.tar.gz"
LICENSE="GPL-2 GPL-2+ GPL-3 CC-BY-SA-3.0 CC-BY-3.0 CC0-1.0 OFL-1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug editor nls"
RDEPEND="
dev-cpp/luabind
dev-lang/lua
media-libs/libpng:0=
media-libs/libsdl[X,joystick,opengl,video]
media-libs/libvorbis
media-libs/openal
media-libs/sdl-image[png]
media-libs/sdl-ttf
virtual/glu
virtual/opengl
x11-libs/libX11
editor? (
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qtopengl:4
)
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-libs/boost
nls? ( sys-devel/gettext )"
S=${WORKDIR}/${MY_P}
src_configure() {
local mycmakeargs=(
-DUSE_SYSTEM_LUABIND=ON
-DPKG_BINDIR="${GAMES_BINDIR}"
-DPKG_DATADIR="${GAMES_DATADIR}/${PN}"
$(cmake-utils_use editor EDITOR_SUPPORT)
$(cmake-utils_use !nls DISABLE_TRANSLATIONS)
$(cmake-utils_use debug DEBUG_FEATURES)
-DUSE_PCH_COMPILATION=OFF
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
prepgamesdirs
}
|