Line
Link Here
|
0 |
-- games-engines/love/love-0.8.0.ebuild |
0 |
++ games-engines/love/love-0.9.0.ebuild |
Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/love/love-0.8.0.ebuild,v 1.9 2013/07/30 14:26:40 pinkbyte Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/love/love-0.8.0.ebuild,v 1.9 2013/07/30 14:26:40 pinkbyte Exp $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit base games |
7 |
inherit eutils fdo-mime gnome2-utils games |
8 |
|
8 |
|
9 |
if [[ ${PV} == 9999* ]]; then |
9 |
if [[ ${PV} == 9999* ]]; then |
10 |
inherit autotools mercurial |
10 |
inherit autotools mercurial |
Lines 20-38
Link Here
|
20 |
HOMEPAGE="http://love2d.org/" |
20 |
HOMEPAGE="http://love2d.org/" |
21 |
|
21 |
|
22 |
LICENSE="ZLIB" |
22 |
LICENSE="ZLIB" |
23 |
SLOT="0" |
23 |
SLOT="0.9" |
24 |
IUSE="" |
24 |
IUSE="luajit" |
25 |
|
25 |
|
26 |
RDEPEND="dev-games/physfs |
26 |
RDEPEND="dev-games/physfs |
27 |
dev-lang/lua[deprecated] |
|
|
28 |
media-libs/devil[mng,png,tiff] |
27 |
media-libs/devil[mng,png,tiff] |
29 |
media-libs/freetype |
28 |
media-libs/freetype |
30 |
media-libs/libmodplug |
29 |
media-libs/libmodplug |
31 |
media-libs/libsdl[joystick,opengl] |
30 |
media-libs/libsdl2[joystick,opengl] |
32 |
media-libs/libvorbis |
31 |
media-libs/libvorbis |
33 |
media-libs/openal |
32 |
media-libs/openal |
34 |
media-sound/mpg123 |
33 |
media-sound/mpg123 |
35 |
virtual/opengl" |
34 |
virtual/opengl |
|
|
35 |
luajit? ( dev-lang/luajit ) |
36 |
!luajit? ( dev-lang/lua[deprecated] )" |
36 |
DEPEND="${RDEPEND} |
37 |
DEPEND="${RDEPEND} |
37 |
media-libs/libmng |
38 |
media-libs/libmng |
38 |
media-libs/tiff" |
39 |
media-libs/tiff" |
Lines 47-56
Link Here
|
47 |
fi |
48 |
fi |
48 |
} |
49 |
} |
49 |
|
50 |
|
|
|
51 |
src_configure() { |
52 |
egamesconf \ |
53 |
--with-lua=$(usex luajit "luajit" "lua") |
54 |
} |
55 |
|
50 |
src_install() { |
56 |
src_install() { |
51 |
base_src_install |
57 |
default |
52 |
if [[ "${SLOT}" != "0" ]]; then |
58 |
if [[ "${SLOT}" != "0" ]]; then |
53 |
mv "${ED}${GAMES_BINDIR}"/${PN} \ |
59 |
mv "${ED}${GAMES_BINDIR}"/${PN} \ |
54 |
"${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die |
60 |
"${ED}${GAMES_BINDIR}"/${PN}-${SLOT} || die |
55 |
fi |
61 |
fi |
|
|
62 |
prune_libtool_files |
56 |
} |
63 |
} |
|
|
64 |
|
65 |
pkg_preinst() { |
66 |
games_pkg_preinst |
67 |
gnome2_icon_savelist |
68 |
} |
69 |
|
70 |
pkg_postinst() { |
71 |
games_pkg_postinst |
72 |
fdo-mime_desktop_database_update |
73 |
fdo-mime_mime_database_update |
74 |
gnome2_icon_cache_update |
75 |
} |
76 |
|
77 |
pkg_postrm() { |
78 |
fdo-mime_desktop_database_update |
79 |
fdo-mime_mime_database_update |
80 |
gnome2_icon_cache_update |
81 |
} |