Diff love-0.8.0-r3 with a love-0.8.0-r100
| /usr/portage/games-engines/love/love-0.8.0-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"
|
|
| 9 |
KEYWORDS="~amd64 ~arm ~x86" |
|
| 12 |
HOMEPAGE="https://love2d.org/" |
|
| 13 |
SRC_URI="https://github.com/love2d/${PN}/releases/download/${PV}/${P}-linux-src.tar.gz"
|
|
| 10 | 14 | |
| 11 | 15 |
LICENSE="ZLIB" |
| 12 | 16 |
SLOT="0.8" |
| 13 |
IUSE="" |
|
| 17 |
KEYWORDS="~amd64 ~arm ~x86" |
|
| 18 | ||
| 19 |
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
|
| 14 | 20 | |
| 15 |
RDEPEND=" |
|
| 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 |
| ... | ... | |
| 29 | 34 |
media-libs/tiff:0 |
| 30 | 35 |
" |
| 31 | 36 | |
| 32 |
PATCHES=( "${FILESDIR}"/${P}-freetype2.patch
|
|
| 33 |
"${FILESDIR}"/${PN}-0.8.0-glext.patch
|
|
| 34 |
"${FILESDIR}"/${P}-pthread.patch )
|
|
| 37 |
PATCHES=( |
|
| 38 |
"${FILESDIR}"/${PN}-0.8.0-freetype2.patch
|
|
| 39 |
"${FILESDIR}"/${PN}-0.8.0-opengl_glext_prototypes.patch
|
|
| 40 |
) |
|
| 41 | ||
| 42 |
src_prepare() {
|
|
| 43 |
default |
|
| 44 |
append-cppflags -DLUA_COMPAT_OPENLIB |
|
| 45 |
} |
|
| 35 | 46 | |
| 36 | 47 |
src_install() {
|
| 37 | 48 |
DOCS="readme.md changes.txt" \ |