summaryrefslogtreecommitdiff
path: root/media-gfx/wings
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/wings
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/wings')
-rw-r--r--media-gfx/wings/Manifest9
-rw-r--r--media-gfx/wings/files/wings.sh4
-rw-r--r--media-gfx/wings/files/wings.sh-r14
-rw-r--r--media-gfx/wings/metadata.xml24
-rw-r--r--media-gfx/wings/wings-1.1.1.ebuild44
-rw-r--r--media-gfx/wings/wings-2.1.5.ebuild54
6 files changed, 139 insertions, 0 deletions
diff --git a/media-gfx/wings/Manifest b/media-gfx/wings/Manifest
new file mode 100644
index 000000000000..6062e40b1d89
--- /dev/null
+++ b/media-gfx/wings/Manifest
@@ -0,0 +1,9 @@
+AUX wings.sh 182 SHA256 c3a1e725b04b5f93fcbb1482b269417b8720197124342d5e9427a7a7651c54f2 SHA512 3b0d606638eb8a2875a90716f18f1584925d56ef43956bde3344e494311a39181171b4ad358a8c9bc20e826c7de727b4aca9d70763a3fe6ee0806747ea32c791 WHIRLPOOL 0370e90b5aaf923e9ec78081b1c2fbe5501dede615770d7061c9497108ef1c69686ba2212717629ff925179ea13f4083adc9abb5cfd8080a239c8a4102725ec3
+AUX wings.sh-r1 181 SHA256 c5d1cebeba69189985c4ce2e98d35c20336e9f67e8b0981becb1e7a16bca136a SHA512 739b8e68a1b47a3f4adbff8a1f34b713d7b0ac2d8103d85d3fdd6020bf08e81c231d210239c140d23e1dd135ff7122bfd43327a27585a333eafab473ea1480df WHIRLPOOL 0d5943216d1054e73804803462f39e7a6d4cccce7633027c194ddc42c29831dc7869722cfd823738488dc955307592ad1140dd0fd4526f6ee67520aeb33e8c6b
+DIST wings-1.1.1.tar.bz2 1932572 SHA256 1a75a39a1a4586b242558a879d611adf1566b86785750f48ba60d851c2e40d08 SHA512 e60727328c9431738736466444655f54694973e59ad73e60874450845b080bf65c6b784ee0cb06cdff98f3717841dfbeceb5e36a1c55d98f31f280b972b7a2e3 WHIRLPOOL 9868a2ef5571291fa98db5239d767026d3cb0962c417bea77d7555ed2ff3d7fcded2200cad9347f5c0bb39591037fac9096cb7518f8285d2a3597a607c557d5e
+DIST wings-2.1.5.tar.bz2 2653117 SHA256 f0f03cfe9f0ee0ee6c734a2b7e50410d5f21238441cb1f34422b0ecde25b582c SHA512 37f363f39d0618550d7814733a4e52c18b52c7d8ee357c76dcf97ae1b530f5b941bddecfba18d63538792dda3ca3013055759595157832e11e017bfe18b34df0 WHIRLPOOL 3fd9c2008de69a6534d95c4e54d0b27d53e91efbfcabee5090abba03e23a25f8dea4a9ce5d9ec543e59dd2e773bb3ed2ad13c2824027bbe78296dad37a8db768
+EBUILD wings-1.1.1.ebuild 1046 SHA256 ba640aabbd693f3f3362776f706c06faaa91a30a09d957bc7d9f7fffdbdfc99c SHA512 8c2595e176d6f4bcc87b538c8738d5f6f10a0ce6d0d9c52401b958d41a8b04db6b31d7b41bd248517b4a9016efdf00d4dd8e694f10863516f34bdb38f198cb6e WHIRLPOOL 12c330e05773b52781c9499eb8ec27cb25072f5526497bc90d477f8096a093e7070d544f4b1dada7a748cc6b955707a5cccb513482c710758bb11dbacf250000
+EBUILD wings-2.1.5.ebuild 1035 SHA256 e33c2975238c514053fcd73e49afa74bd259db7258f722a04498be7e179516fd SHA512 beafe5ec27693942af4d2e398fd153dbc5d43a7ad6e0b7111e46e7160aee74405818b064b8d20ccc11299f1118e2857392dce7ce633c5dbaf792a274d1517366 WHIRLPOOL ae928c4a758744abf0579688d71b6e1b0a89c4ca9354522171ac88bf6f5a8cdabd2fcb578250344955215f64f2b36ce5964a46a92087286dd17d7dc6cf97ea68
+MISC ChangeLog 7681 SHA256 0d7f20b9d497cf10b14e27315ca6ff906f51f25b2b7b2b554cdfa192c0758b3c SHA512 27d89dea063105905002898f193a36c181e38e033e0a996cf030b1b02cadeeef3d0aa69e2022dd269c9c00374ac6d2b5e8efabae9e05f156110a4a95468d87ae WHIRLPOOL 35cd6409de1eeb192358038ab49968f84f2efcc2c0ce9ea1aed54199ab86d72a35a150f54920567576cd73bbe2ca1d47ba9097d35ddbc71b9ed97960ad3f7f5f
+MISC ChangeLog-2015 3731 SHA256 d4eff20d6c0d5e32e9066de7aa5544633e9964435f8b86c463aefaac13677bb8 SHA512 b7f7bb2ca7f20120f6bfc311e0d07e11e208b49c6c08f9987aea58a1f21b20067a98c1b29e75191e9cbf54e3dd621e6eef063e469adfd454c6320caec0d74aec WHIRLPOOL 9a873611ca5c01a684b64a78c04c96f0e350b2ca9ded9c818ef2011c78af96a20542116e14da8b786e995c5e3c7f38bf29ef8f1471dd1b375e52fc463db3d03a
+MISC metadata.xml 730 SHA256 2222ffd522fe8c26a81da496d19fa5941a02e7e4171634735acaa2dd0871d86f SHA512 7672ac58e0f7ba153b0a5939cf8e426e8c3f8c97366436340e1bbb65e85a785add4c6394e81e1aade634f58d8751a85ba75cbb1bb57fa822773a632736d96086 WHIRLPOOL 5f1a885377987d2d28481b98ca29bf989a8c8f80af3b3052591bc4d6b08941bf9f026d8148f31f89e73b850161240faa044d36cdd056ab86ba145c3e60a6e8f7
diff --git a/media-gfx/wings/files/wings.sh b/media-gfx/wings/files/wings.sh
new file mode 100644
index 000000000000..3fcebe4b1252
--- /dev/null
+++ b/media-gfx/wings/files/wings.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+ESDL_ROOT="/usr/lib/erlang/lib/esdl"
+WINGS_ROOT="/usr/lib/erlang/lib/wings"
+exec erl -smp disable -noshell -pa $ESDL_ROOT/ebin $WINGS_ROOT/ebin -run wings_start start_halt
diff --git a/media-gfx/wings/files/wings.sh-r1 b/media-gfx/wings/files/wings.sh-r1
new file mode 100644
index 000000000000..9cf1f26a16a4
--- /dev/null
+++ b/media-gfx/wings/files/wings.sh-r1
@@ -0,0 +1,4 @@
+#!/bin/sh
+ESDL_ROOT="/usr/lib/erlang/lib/esdl"
+WINGS_ROOT="/usr/lib/erlang/lib/wings"
+exec erl -smp enable -noshell -pa $ESDL_ROOT/ebin $WINGS_ROOT/ebin -run wings_start start_halt
diff --git a/media-gfx/wings/metadata.xml b/media-gfx/wings/metadata.xml
new file mode 100644
index 000000000000..5c5921bc8ade
--- /dev/null
+++ b/media-gfx/wings/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+Wings 3D is a polygon mesh modeler inspired by Nendo and
+Mirai from Izware.
+
+It is possible to assign materials, vertex color, UV
+coordinates and textures, but there will be improvements
+in those features before Wings goes 1.0.
+
+There is no support in Wings for doing animations.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">wings</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/wings/wings-1.1.1.ebuild b/media-gfx/wings/wings-1.1.1.ebuild
new file mode 100644
index 000000000000..7e6492f3af44
--- /dev/null
+++ b/media-gfx/wings/wings-1.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit multilib eutils
+
+DESCRIPTION="excellent 3D polygon mesh modeler"
+HOMEPAGE="http://www.wings3d.com/"
+SRC_URI="mirror://sourceforge/wings/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/erlang-13.0
+ >=media-libs/esdl-1.0.1
+ media-libs/libsdl[opengl]"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ ERL_PATH="/usr/$(get_libdir)/erlang/lib/"
+ ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)"
+}
+
+src_compile() {
+ make ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)" || die
+}
+
+src_install() {
+ WINGS_PATH=${ERL_PATH}/${P}
+ dodir ${WINGS_PATH}
+
+ find -name 'Makefile*' -exec rm -f '{}' \;
+ for subdir in e3d ebin icons plugins plugins_src src fonts ; do
+ cp -r ${subdir} "${D}"/${WINGS_PATH}/ || die
+ done
+
+ dosym ${WINGS_PATH} ${ERL_PATH}/${PN}
+ dosym ${ESDL_PATH} ${ERL_PATH}/esdl
+ newbin "${FILESDIR}"/wings.sh wings
+ dodoc AUTHORS README
+}
diff --git a/media-gfx/wings/wings-2.1.5.ebuild b/media-gfx/wings/wings-2.1.5.ebuild
new file mode 100644
index 000000000000..212860eb8a20
--- /dev/null
+++ b/media-gfx/wings/wings-2.1.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 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/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
+}