media-gfx/wings: Version 2.2.6.1
authorJeroen Roovers <jer@gentoo.org>
Sun, 17 May 2020 08:56:20 +0000 (10:56 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 17 May 2020 08:58:32 +0000 (10:58 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
media-gfx/wings/Manifest
media-gfx/wings/wings-2.2.6.1.ebuild [new file with mode: 0644]

index c8d3685ab397071f59d414b91f7a65d1fe09cc6a..9baf9304dcb2224ab998d49d45007aaa87b86f46 100644 (file)
@@ -2,3 +2,4 @@ DIST wings-2.1.5.tar.bz2 2653117 BLAKE2B 10b14e8dd29daf74fd6af9229341296fa457df4
 DIST wings-2.1.6.tar.bz2 2688154 BLAKE2B 9183ac21f3ae58e5c4d248f3ab9e8af89c3838b312aa51f6d625c21cde05b9326156737e449876aa2a0ea8047a9ce75ad433fe1430ff5add2c5b516144ba7244 SHA512 db17ae58f57233a65f9cec43cca41e9d259eb6499229e6ffc1f1acb8e86e18deda7a1ab1075f0948885cc4ca3c075871150efb007bf3e8e8e5a2e77b5b924af7
 DIST wings-2.1.7.tar.bz2 2720764 BLAKE2B b0ba4a1acaee6ea0bcd21cab1eca1a37a0fd3549c2d5551969e71084eb2596a9c7574f0ddc3a86230fccbaf58c3ac87d7061ccfa17047d10e1b8bff096198235 SHA512 6cd2816e22b2326af43f539831d36b32015828c5261c0503ea36cd171dfd8a54eba65165395fbb3f173224d6bb2d3a3015f8f58225c6237c2d5bf56604e72d10
 DIST wings-2.2.5.tar.bz2 3211359 BLAKE2B d5aa7ea337894f18d6b45ff7e68bb35d587da47bf173045d80eb643d748fc64a511db305d1dc164789b06aa34ea47549a04a05564fa615bf01532da294768cd3 SHA512 343fd601a68cccff0151748f151c85635bf57acc01c25fd2ba770f255d65e73a49671c3a84c4433576c1ba3f9e98a2d098a47e3674d4617a07817973bee0136a
+DIST wings-2.2.6.1.tar.bz2 3266532 BLAKE2B a3ec86925632df7d231d620a47841781f8b2e66a50d13857c57fa6389890e7a03fed8bf5e0d09b03de00d6360ee0e4129a4178aec34270367879890f9430c208 SHA512 dba4b189c80180533b7a6c10be5c236a4a9fdacaa7dc491a0d1892149f7a75e636778acc11e38ef82a06718ae705e640da2e1618ec655828d2056e6b3864aba4
diff --git a/media-gfx/wings/wings-2.2.6.1.ebuild b/media-gfx/wings/wings-2.2.6.1.ebuild
new file mode 100644 (file)
index 0000000..81caee7
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-21[smp,wxwidgets]
+               >dev-lang/erlang-21[wxwidgets]
+       )
+       dev-libs/cl
+       media-libs/glu
+       media-libs/libsdl[opengl]
+       virtual/opengl
+"
+DEPEND="
+       ${RDEPEND}
+"
+
+src_compile() {
+       export ERL_PATH="/usr/$(get_libdir)/erlang/lib/"
+       # 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 README
+}