media-gfx/wings: Version 2.1.6.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Jeroen Roovers
2018-03-13 22:55:33 +01:00
parent 7b390b3912
commit dbea6c577a
2 changed files with 64 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST wings-1.1.1.tar.bz2 1932572 BLAKE2B 9899d17355983c3b9c7beea87b1a94e665f194f5e0935d992389f8ea29a511a4682b4b1953316ea41ba1d09a9a474ebf5fd757fe4bf3638ebecf9c7faf1403aa SHA512 e60727328c9431738736466444655f54694973e59ad73e60874450845b080bf65c6b784ee0cb06cdff98f3717841dfbeceb5e36a1c55d98f31f280b972b7a2e3
DIST wings-2.1.5.tar.bz2 2653117 BLAKE2B 10b14e8dd29daf74fd6af9229341296fa457df405542274533df85198d932188c53094afffbc4b09342c29086df02a7e19d4983f1fc912623ea79ae85e9d4067 SHA512 37f363f39d0618550d7814733a4e52c18b52c7d8ee357c76dcf97ae1b530f5b941bddecfba18d63538792dda3ca3013055759595157832e11e017bfe18b34df0
DIST wings-2.1.6.tar.bz2 2688154 BLAKE2B 9183ac21f3ae58e5c4d248f3ab9e8af89c3838b312aa51f6d625c21cde05b9326156737e449876aa2a0ea8047a9ce75ad433fe1430ff5add2c5b516144ba7244 SHA512 db17ae58f57233a65f9cec43cca41e9d259eb6499229e6ffc1f1acb8e86e18deda7a1ab1075f0948885cc4ca3c075871150efb007bf3e8e8e5a2e77b5b924af7
+63
View File
@@ -0,0 +1,63 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit multilib
DESCRIPTION="Wings 3D is an advanced subdivision modeler"
HOMEPAGE="http://www.wings3d.com/"
SRC_URI="mirror://sourceforge/wings/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-lang/erlang-18.1[smp,wxwidgets]
dev-libs/cl
media-libs/glu
media-libs/libsdl[opengl]
virtual/opengl
"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i \
-e '/include_lib/s|"wings/|"../|' \
$(find . -name '*'.erl) \
|| die
sed -i \
-e 's|-O3||g' \
-e 's|-Werror||g' \
-e 's|CFLAGS = |CFLAGS += |g' \
$(find . -name Makefile) \
|| die
}
src_configure() {
export ERL_PATH="/usr/$(get_libdir)/erlang/lib/"
}
src_compile() {
# Work around parallel make issues
emake vsn.mk
for subdir in intl_tools src e3d icons plugins_src; do
emake -C ${subdir}
done
}
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 psd shaders src textures tools
newbin "${FILESDIR}"/wings.sh-r1 wings
dodoc AUTHORS README
}