Diff wings-2.2.6.1 with a wings-2.4

/usr/portage/media-gfx/wings/wings-2.4.ebuild 2025-02-03 17:39:34.126671555 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5
inherit toolchain-funcs
6 6

  
7 7
DESCRIPTION="Wings 3D is an advanced subdivision modeler"
......
10 10

  
11 11
LICENSE="BSD"
12 12
SLOT="0"
13
KEYWORDS="amd64 x86"
13
KEYWORDS="~amd64 ~x86"
14 14

  
15 15
RDEPEND="
16 16
	>dev-lang/erlang-21[wxwidgets]
......
18 18
	media-libs/glu
19 19
	media-libs/libsdl[opengl]
20 20
	virtual/opengl
21
	dev-cpp/eigen
22
	sci-libs/libigl
21 23
"
22 24
DEPEND="
23 25
	${RDEPEND}
24 26
"
25 27

  
28
PATCHES=( "${FILESDIR}"/${PN}-2.3-nogit.patch )
29

  
26 30
src_prepare() {
27 31
	sed -i -e 's# -Werror##g;s# -O3##g' $(find -name Makefile) || die
32
	sed -i \
33
		-e "s|IGL_INCLUDE = .*$|IGL_INCLUDE=-I/usr/include/eigen3|" \
34
		c_src/Makefile \
35
		|| die
28 36
	default
29 37
}
30 38

  
......
50 58
	doins -r e3d ebin icons plugins priv psd shaders src textures tools
51 59

  
52 60
	newbin "${FILESDIR}"/wings.sh-r1 wings
53
	dodoc AUTHORS README
61
	dodoc AUTHORS
54 62
}
Thank you!