Skip to content

Commit

Permalink
media-gfx/wings: Version bump. Remove testing cruft.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.0_rc1
  • Loading branch information
Jeroen Roovers committed Jun 11, 2016
1 parent 125db85 commit bb9149d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
1 change: 1 addition & 0 deletions media-gfx/wings/Manifest
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions media-gfx/wings/wings-1.5.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
49 changes: 49 additions & 0 deletions media-gfx/wings/wings-2.0.4.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit bb9149d

Please sign in to comment.