blob: d0d8934a5bd141cf71d13a2c3dbf7ae609117b45 (
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
66
67
68
|
# 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.5.1.ebuild,v 1.1 2013/05/02 21:59:33 hasufell Exp $
EAPI=5
inherit eutils cmake-utils games
DESCRIPTION="A free 2D J-RPG based on the Hero of Allacrost engine"
HOMEPAGE="http://valyriatear.blogspot.de/"
SRC_URI="https://github.com/Bertram25/ValyriaTear/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
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
sys-libs/zlib
virtual/glu
virtual/jpeg
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}/ValyriaTear-${PV}
src_prepare() {
epatch "${FILESDIR}"/${P}-{paths,libpng-1.6}.patch
}
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)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
prepgamesdirs
}
|