Diff love-0.7.2-r100 with a love-0.8.0-r3
/var/lib/layman/calculate/games-engines/love/love-0.8.0-r3.ebuild 2019-11-26 16:28:32.000000000 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2018 Gentoo Foundation |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
5 | ||
6 |
LUA_COMPAT=( lua5-1 ) |
|
7 |
LUA_REQ_USE="deprecated" |
|
8 | ||
9 |
inherit flag-o-matic lua-single |
|
4 |
EAPI=6 |
|
10 | 5 | |
11 | 6 |
DESCRIPTION="A framework for 2D games in Lua" |
12 |
HOMEPAGE="https://love2d.org/" |
|
13 |
SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz" |
|
7 |
HOMEPAGE="http://love2d.org/" |
|
8 |
SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz" |
|
9 |
KEYWORDS="~amd64 ~arm ~x86" |
|
14 | 10 | |
15 | 11 |
LICENSE="ZLIB" |
16 |
SLOT="0.7" |
|
17 |
KEYWORDS="~amd64 ~x86" |
|
12 |
SLOT="0.8" |
|
13 |
IUSE="" |
|
18 | 14 | |
19 |
REQUIRED_USE="${LUA_REQUIRED_USE}" |
|
20 | ||
21 |
RDEPEND="${LUA_DEPS} |
|
15 |
RDEPEND=" |
|
22 | 16 |
dev-games/physfs |
17 |
dev-lang/lua:0[deprecated] |
|
23 | 18 |
media-libs/devil[mng,png,tiff] |
24 | 19 |
media-libs/freetype:2 |
25 | 20 |
media-libs/libmodplug |
26 |
media-libs/libsdl[joystick,opengl] |
|
21 |
media-libs/libsdl[joystick,opengl,video] |
|
27 | 22 |
media-libs/libvorbis |
28 | 23 |
media-libs/openal |
29 | 24 |
media-sound/mpg123 |
... | ... | |
34 | 29 |
media-libs/tiff:0 |
35 | 30 |
" |
36 | 31 | |
37 |
S="${WORKDIR}/${PN}-HEAD" |
|
38 | ||
39 |
PATCHES=( |
|
40 |
"${FILESDIR}"/${PN}-0.7.2-opengl_glext_prototypes.patch |
|
41 |
"${FILESDIR}"/${PN}-0.8.0-freetype2.patch |
|
42 |
) |
|
43 | ||
44 |
src_prepare() { |
|
45 |
default |
|
46 |
append-cppflags -DLUA_COMPAT_OPENLIB |
|
47 |
} |
|
32 |
PATCHES=( "${FILESDIR}"/${P}-freetype2.patch |
|
33 |
"${FILESDIR}"/${PN}-0.8.0-glext.patch |
|
34 |
"${FILESDIR}"/${P}-pthread.patch ) |
|
48 | 35 | |
49 | 36 |
src_install() { |
50 |
DOCS="readme.txt changes.txt" \ |
|
37 |
DOCS="readme.md changes.txt" \ |
|
51 | 38 |
default |
52 | 39 | |
53 | 40 |
mv "${ED}/usr/bin/${PN}" "${ED}/usr/bin/${PN}-${SLOT}" || die |