jlec 15/03/20 10:49:28 Modified: tcl3d-0.4.0.ebuild ChangeLog Log: Fix tcl/tk slotting; Bump to EAPI=5 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Revision Changes Path 1.2 dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild?r1=1.1&r2=1.2 Index: tcl3d-0.4.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tcl3d-0.4.0.ebuild 10 May 2009 13:17:04 -0000 1.1 +++ tcl3d-0.4.0.ebuild 20 Mar 2015 10:49:28 -0000 1.2 @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild,v 1.1 2009/05/10 13:17:04 mescalinum Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/tcl3d-0.4.0.ebuild,v 1.2 2015/03/20 10:49:28 jlec Exp $ -EAPI="2" +EAPI=5 -inherit flag-o-matic toolchain-funcs +inherit flag-o-matic multilib toolchain-funcs DESCRIPTION="Tcl bindings to OpenGL and other 3D libraries" HOMEPAGE="http://www.tcl3d.org" @@ -15,12 +15,14 @@ KEYWORDS="~amd64" IUSE="debug" -RDEPEND="virtual/opengl - dev-lang/tk - dev-lang/tcl +RDEPEND=" + dev-games/ode + dev-lang/tk:0= + dev-lang/tcl:0= media-libs/libsdl media-libs/ftgl - dev-games/ode" + virtual/opengl +" DEPEND="${RDEPEND} >=dev-lang/swig-1.3.19" @@ -32,27 +34,24 @@ sed -i \ -e 's:^\(TCLMAJOR\) *=\(.*\)$:\1 = '${TCL_VERSION[0]}':' \ -e 's:^\(TCLMINOR\) *=\(.*\)$:\1 = '${TCL_VERSION[1]}':' \ - config_Linux* + config_Linux* || die # fix libSDL link sed -i \ -e 's:-lSDL-1\.2:-lSDL:g' \ - tcl3dSDL/Makefile + tcl3dSDL/Makefile || die } src_compile() { append-flags -mieee-fp -ffloat-store -fPIC - if use debug; then - append-flags -g - filter-flags -O? - else - append-flags -DNDEBUG - fi - gmake INSTDIR="/usr" OPT="${CFLAGS}" CC="$(tc-getCC) -c" \ + use debug || append-flags -DNDEBUG + + emake \ + INSTDIR="/usr" OPT="${CFLAGS}" CC="$(tc-getCC) -c" \ CXX="$(tc-getCXX) -c" LD="$(tc-getLD)" \ - WRAP_FTGL=1 WRAP_SDL=1 WRAP_GL2PS=0 WRAP_ODE=1 || die "gmake failed" + WRAP_FTGL=1 WRAP_SDL=1 WRAP_GL2PS=0 WRAP_ODE=1 } src_install() { - gmake INSTDIR="${D}/usr" DESTDIR="${D}" install || die "gmake install failed" + emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr$(get_libdir)" install } 1.2 dev-tcltk/tcl3d/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/ChangeLog?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/ChangeLog?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tcl3d/ChangeLog?r1=1.1&r2=1.2 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/ChangeLog,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ChangeLog 10 May 2009 13:17:04 -0000 1.1 +++ ChangeLog 20 Mar 2015 10:49:28 -0000 1.2 @@ -1,10 +1,12 @@ # ChangeLog for dev-tcltk/tcl3d -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/ChangeLog,v 1.1 2009/05/10 13:17:04 mescalinum Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl3d/ChangeLog,v 1.2 2015/03/20 10:49:28 jlec Exp $ + + 20 Mar 2015; Justin Lecher <[email protected]> tcl3d-0.4.0.ebuild: + Fix tcl/tk slotting; Bump to EAPI=5 *tcl3d-0.4.0 (10 May 2009) 10 May 2009; Federico Ferri <[email protected]> +metadata.xml, +tcl3d-0.4.0.ebuild: first ebuild for tcl3d -
