mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
media-gfx/wings: bump to 2.4.1
Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45061 Closes: https://github.com/gentoo/gentoo/pull/45061 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST wings-2.2.6.1.tar.bz2 3266532 BLAKE2B a3ec86925632df7d231d620a47841781f8b2e66a50d13857c57fa6389890e7a03fed8bf5e0d09b03de00d6360ee0e4129a4178aec34270367879890f9430c208 SHA512 dba4b189c80180533b7a6c10be5c236a4a9fdacaa7dc491a0d1892149f7a75e636778acc11e38ef82a06718ae705e640da2e1618ec655828d2056e6b3864aba4
|
||||
DIST wings-2.3.tar.bz2 3561319 BLAKE2B 0f3dce900dcae74516b57555f188aa578a5ea138d0e55e2b15ba946581652e470f5f596bd7e7661394674d437c8cbbe395bbf2e769af2a77d6940fddab1c86df SHA512 b5b054d974af2443cbe7d46a32cb8dfb7641054fa68aea9245e3d3100b21d223f443171572c3f371f25d937dca8cdb11870c61ba21e28632afef7886b4b2487b
|
||||
DIST wings-2.4.1.tar.bz2 3422131 BLAKE2B 47af740e44365ace485e8bdc058909e8bce1d4d8239d84825ad29173b543f83981b3537b9425c12cdb662463c6a03f2fbdc5ad9f72606b485d5149f42ba3d585 SHA512 6d500ec384082a71c4251a04cc8407f0988062b39877191e730bf14aa8aad8348f47ad22e37f5babab63f3b34b272279937de946aa0a3655ac1a6f66d98684a1
|
||||
DIST wings-2.4.tar.bz2 3420165 BLAKE2B d60220413f679af70d8300a6b1925ec15eee206756229ef6cd72eb3063ab04286bc2c64d140ace474c2de654b287e5ea5da51691b4b16097495d3ad563677072 SHA512 1873e57002eb83b404427ab36abf91c8182e4f0141b4792f86613fe5d33e8fb74978a3ed9eddfa78c1b21e86d256e542127956068e9bd596f7582d929518d8a4
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Wings 3D is an advanced subdivision modeler"
|
||||
HOMEPAGE="https://www.wings3d.com/"
|
||||
SRC_URI="https://downloads.sourceforge.net/wings/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Run failed with dev-lang/erlang in the range [28, 28.3), see bug 964737
|
||||
RDEPEND="
|
||||
>dev-lang/erlang-21[wxwidgets]
|
||||
|| (
|
||||
<dev-lang/erlang-28
|
||||
>=dev-lang/erlang-28.3
|
||||
)
|
||||
dev-libs/cl
|
||||
media-libs/glu
|
||||
media-libs/libsdl[opengl]
|
||||
virtual/opengl
|
||||
dev-cpp/eigen
|
||||
sci-libs/libigl
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.3-nogit.patch )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's# -Werror##g;s# -O3##g' $(find -name Makefile) || die
|
||||
sed -i \
|
||||
-e "s|IGL_INCLUDE = .*$|IGL_INCLUDE=-I/usr/include/eigen3|" \
|
||||
c_src/Makefile \
|
||||
|| die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ERL_PATH="/usr/$(get_libdir)/erlang/lib/"
|
||||
tc-export CC
|
||||
# Work around parallel make issues
|
||||
# Set ER_LIBS to the top source directory
|
||||
emake vsn.mk
|
||||
for subdir in intl_tools e3d src plugins_src icons; do
|
||||
emake -C ${subdir} opt ERL_LIBS="${S}"
|
||||
done
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
WINGS_PATH=${ERL_PATH}/${P}
|
||||
dodir ${WINGS_PATH}
|
||||
|
||||
find -name 'Makefile*' -exec rm -f '{}' \;
|
||||
|
||||
insinto ${WINGS_PATH}
|
||||
doins -r e3d ebin icons plugins priv psd shaders src textures tools
|
||||
|
||||
newbin "${FILESDIR}"/wings.sh-r1 wings
|
||||
dodoc AUTHORS
|
||||
}
|
||||
Reference in New Issue
Block a user