Diff love-0.7.2-r3 with a love-0.7.2-r100
/usr/portage/games-engines/love/love-0.7.2-r100.ebuild 2023-10-09 14:52:31.092368390 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2018 Gentoo Foundation |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=6 |
|
4 |
EAPI=7 |
|
5 | ||
6 |
LUA_COMPAT=( lua5-1 ) |
|
7 |
LUA_REQ_USE="deprecated" |
|
8 | ||
9 |
inherit flag-o-matic lua-single |
|
5 | 10 | |
6 | 11 |
DESCRIPTION="A framework for 2D games in Lua" |
7 |
HOMEPAGE="http://love2d.org/" |
|
8 |
SRC_URI="https://www.bitbucket.org/rude/${PN}/downloads/${P}-linux-src.tar.gz" |
|
12 |
HOMEPAGE="https://love2d.org/" |
|
13 |
SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz" |
|
9 | 14 | |
10 | 15 |
LICENSE="ZLIB" |
11 | 16 |
SLOT="0.7" |
12 | 17 |
KEYWORDS="~amd64 ~x86" |
13 |
IUSE="" |
|
14 | 18 | |
15 |
RDEPEND=" |
|
19 |
REQUIRED_USE="${LUA_REQUIRED_USE}" |
|
20 | ||
21 |
RDEPEND="${LUA_DEPS} |
|
16 | 22 |
dev-games/physfs |
17 |
dev-lang/lua:0[deprecated] |
|
18 | 23 |
media-libs/devil[mng,png,tiff] |
19 | 24 |
media-libs/freetype:2 |
20 | 25 |
media-libs/libmodplug |
... | ... | |
31 | 36 | |
32 | 37 |
S="${WORKDIR}/${PN}-HEAD" |
33 | 38 | |
34 |
PATCHES=( "${FILESDIR}"/${PN}-0.8.0-freetype2.patch |
|
35 |
"${FILESDIR}"/${PN}-0.7.2-glext.patch |
|
36 |
"${FILESDIR}"/${PN}-0.8.0-pthread.patch ) |
|
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 |
} |
|
37 | 48 | |
38 | 49 |
src_install() { |
39 | 50 |
DOCS="readme.txt changes.txt" \ |