blob: 0dcb2f9049186d669af2a0aa507c9f307b8db66e (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit games git-2
DESCRIPTION="A game/runtime interpreter for the Adventure Game Studio engine"
HOMEPAGE="http://www.adventuregamestudio.co.uk/"
#SRC_URI=""
EGIT_REPO_URI="https://github.com/adventuregamestudio/ags.git"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="
>=media-libs/aldumb-0.9.3
media-libs/allegro:0
>=media-libs/dumb-0.9.3
media-libs/freetype:2
media-libs/libogg
media-libs/libtheora
media-libs/libvorbis"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e "s:-O2 -pie -fpie -g -fsigned-char::" Engine/Makefile-defs.linux \
|| die
}
src_compile() {
emake --directory=Engine
}
src_install() {
dogamesbin Engine/ags
dodoc README.md
}
pkg_postinst() {
ewarn "In order to play AGS games run command:"
ewarn " ${PN} /path/to/gamedir"
ewarn "or"
ewarn " ${PN} /path/to/game.exe"
games_pkg_postinst
}
|