From bb9149db08b880703c2bc7c0263cd85f66f65626 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 11 Jun 2016 12:44:02 +0200 Subject: [PATCH] media-gfx/wings: Version bump. Remove testing cruft. Package-Manager: portage-2.3.0_rc1 --- media-gfx/wings/Manifest | 1 + media-gfx/wings/wings-1.5.4.ebuild | 2 -- media-gfx/wings/wings-2.0.4.ebuild | 49 ++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 media-gfx/wings/wings-2.0.4.ebuild diff --git a/media-gfx/wings/Manifest b/media-gfx/wings/Manifest index 4dd282623d71a..6387800491929 100644 --- a/media-gfx/wings/Manifest +++ b/media-gfx/wings/Manifest @@ -1,2 +1,3 @@ DIST wings-1.1.1.tar.bz2 1932572 SHA256 1a75a39a1a4586b242558a879d611adf1566b86785750f48ba60d851c2e40d08 SHA512 e60727328c9431738736466444655f54694973e59ad73e60874450845b080bf65c6b784ee0cb06cdff98f3717841dfbeceb5e36a1c55d98f31f280b972b7a2e3 WHIRLPOOL 9868a2ef5571291fa98db5239d767026d3cb0962c417bea77d7555ed2ff3d7fcded2200cad9347f5c0bb39591037fac9096cb7518f8285d2a3597a607c557d5e DIST wings-1.5.4.tar.bz2 6213585 SHA256 bd04ca1c1237f3a6f29ce3f653015e21142b849b338a3d1ab8633e3c6bcde663 SHA512 fb0cab378703dad4a240f13b96b7522acb4c8466d01bc498e54baf8f4ff1ae497edc08f926889ff669f525ee9c6b787903a47fc78c66f2d9632a5fa45535ac3f WHIRLPOOL 1f0414b05b9b4a29bcc2288c31e68bf3c087b0f093951b4ed9c1f563567b3fa86aca57c595f5d656502d1962dc95902d810228845f284f588b24a1865ef759d4 +DIST wings-2.0.4.tar.bz2 2457543 SHA256 4f76360766f0a76562e8d08d78702cfa3afe02e8e7287e0d518a9e7a743f35c4 SHA512 237c409261580595056029cb18fad9d4703121ea489d8c4c901b3c47fe9e4badb0dbea9a0718c74c403139aabe74c948241f131c0d2d62f5fb2e01e7fcd7d40c WHIRLPOOL 4827ef5ea6c68c0bd7df566cd6da5bf3e7029153eb648ab15f5e6327837adc90c36cd127c327f17325921844013989af13389e3a24c41d62709bc46330b5c832 diff --git a/media-gfx/wings/wings-1.5.4.ebuild b/media-gfx/wings/wings-1.5.4.ebuild index 418f53db13d38..e1b92021d0a52 100644 --- a/media-gfx/wings/wings-1.5.4.ebuild +++ b/media-gfx/wings/wings-1.5.4.ebuild @@ -24,8 +24,6 @@ DEPEND="${RDEPEND}" src_configure() { export ERL_PATH="/usr/$(get_libdir)/erlang/lib/" export ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)" - echo $ERL_PATH - echo $ESDL_PATH } src_compile() { diff --git a/media-gfx/wings/wings-2.0.4.ebuild b/media-gfx/wings/wings-2.0.4.ebuild new file mode 100644 index 0000000000000..01fc87e7a49ab --- /dev/null +++ b/media-gfx/wings/wings-2.0.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils 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.0[wxwidgets] + dev-libs/cl + media-libs/libsdl[opengl] +" +DEPEND="${RDEPEND}" + +src_configure() { + export ERL_PATH="/usr/$(get_libdir)/erlang/lib/" + export ESDL_PATH="${ERL_PATH}/$(best_version media-libs/esdl | cut -d/ -f2)" +} + +src_compile() { + # Work around parallel make issues + emake vsn.mk + for subdir in intl_tools src fonts_src e3d icons plugins_src; do + emake ESDL_PATH="${ESDL_PATH}" -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 fonts icons plugins psd shaders src textures tools + + dosym ${WINGS_PATH} ${ERL_PATH}/${PN} + dosym ${ESDL_PATH} ${ERL_PATH}/esdl + newbin "${FILESDIR}"/wings.sh wings + dodoc AUTHORS README +}