summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/wings/Manifest1
-rw-r--r--media-gfx/wings/wings-2.1.3.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-gfx/wings/Manifest b/media-gfx/wings/Manifest
index 1e7fcc9886b3..06b56d52bfe3 100644
--- a/media-gfx/wings/Manifest
+++ b/media-gfx/wings/Manifest
@@ -2,4 +2,5 @@ DIST wings-1.1.1.tar.bz2 1932572 SHA256 1a75a39a1a4586b242558a879d611adf1566b867
DIST wings-1.5.4.tar.bz2 6213585 SHA256 bd04ca1c1237f3a6f29ce3f653015e21142b849b338a3d1ab8633e3c6bcde663 SHA512 fb0cab378703dad4a240f13b96b7522acb4c8466d01bc498e54baf8f4ff1ae497edc08f926889ff669f525ee9c6b787903a47fc78c66f2d9632a5fa45535ac3f WHIRLPOOL 1f0414b05b9b4a29bcc2288c31e68bf3c087b0f093951b4ed9c1f563567b3fa86aca57c595f5d656502d1962dc95902d810228845f284f588b24a1865ef759d4
DIST wings-2.0.5.tar.bz2 2455836 SHA256 318b6f9479b04882f2307b60d78a0020d305ce66ee3293e22cc36bde2a7fe360 SHA512 d116c4d23043f79f80ecb76c9a0d2d0dec12169fb382ca0fc84a78c462541072ec7820bfbbaadfae39aee2a07512f346b845d3f4c6e133f2d80b0d12b07907b1 WHIRLPOOL 51bc7cf6a9bbfa02e04adda8d132ba06df848b822d0836fb66c437571a72d6603adab4834444407d4c7e037523485f021d92d030f261fb4e614813540178a1bb
DIST wings-2.1.2.tar.bz2 2650466 SHA256 855fd2466a9b5a85e7913ed7cb5fdb67c794ca4a305a199cc29f0b4960694f65 SHA512 fd4ad597583061167e274351459110efabe7d558fc6cdb22256caa22a3357f815f14f6cbc0529adec337f5c10e8dc75b26f63453b42218e04bda54ff9af92ecd WHIRLPOOL 3271edf8f2cf9109c3f4a70790772232e0b1f97432916833d56d17133f4d2ea67c247ea1073d33a1cb09c8b0ff13a20602de235d47245224b9d7a3f3a6833827
+DIST wings-2.1.3.tar.bz2 2651435 SHA256 065029529ee3e9d5d9e38e0dc5b1187c43964861d8ab46df2b134d45fa937c13 SHA512 db6f26e7bf5788f02c0c0a8d9a35a1dc11a66e54cac0f36bd7f688c0a00c5d7c8ab16db2d6fbc72b710187215aa0508a23692212138f0d7f466770bf7ee6db6c WHIRLPOOL c280d51afd8de6040cc24af02b8560d2a7a282750a7cd5d4bbba8514256c63bcd6b77fdf40e6df82d0fab4a928506d331f5ad74056434ff075b06bef05fb274e
DIST wings-2.1.tar.bz2 2647932 SHA256 9a878a76f4003d8ea54b17ed492b7aad68b3f191169e4a140b9ff7d981927a34 SHA512 92a8b7b749117f382add0c724aad1996dfd7b57034557e354d5ebf7f7d7355df84cb708e7decbeadb573d4bc93a1e3c39a7afbde0fe949f07c5016079c712313 WHIRLPOOL 1ba9c19a168ea5b3ecabc720b437cccf78015e42bb2bc81e5efd9f330dcbefa1544b8551b59553249202fb6b5bc4f0f05375d85341f6ec972fa3dbb9f7993142
diff --git a/media-gfx/wings/wings-2.1.3.ebuild b/media-gfx/wings/wings-2.1.3.ebuild
new file mode 100644
index 000000000000..d02d928393a4
--- /dev/null
+++ b/media-gfx/wings/wings-2.1.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/libsdl[opengl]
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/include_lib/s|"wings/|"../|' \
+ $(find . -name '*'.erl) \
+ || 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
+}