diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-11-03 10:45:12 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-11-03 10:45:12 +0000 |
commit | 320d0b04aef65ca8b1679136febbc1a39d7dd18c (patch) | |
tree | 6db40d86050a3c6504e949888b41dd2208fe6379 /media-gfx/k3d | |
parent | Added compilation fix for OSX and marked ~ppc-macos (bug #110944) (diff) | |
download | gentoo-2-320d0b04aef65ca8b1679136febbc1a39d7dd18c.tar.gz gentoo-2-320d0b04aef65ca8b1679136febbc1a39d7dd18c.tar.bz2 gentoo-2-320d0b04aef65ca8b1679136febbc1a39d7dd18c.zip |
Many different fixes
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'media-gfx/k3d')
-rw-r--r-- | media-gfx/k3d/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/k3d/k3d-0.5.0.33.ebuild | 19 |
2 files changed, 19 insertions, 6 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog index c6d774dc5039..eb85dda4b83f 100644 --- a/media-gfx/k3d/ChangeLog +++ b/media-gfx/k3d/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/k3d # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.17 2005/11/02 04:50:01 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.18 2005/11/03 10:45:12 lu_zero Exp $ + + 03 Nov 2005; Luca Barbato <lu_zero@gentoo.org> k3d-0.5.0.33.ebuild: + Made ngui the default, fixed the js subsystem, thanks to Patrizio Bassi + <hetfield666@gmail.com> 02 Nov 2005; Luca Barbato <lu_zero@gentoo.org> k3d-0.5.0.33.ebuild: minor change to support the former gui diff --git a/media-gfx/k3d/k3d-0.5.0.33.ebuild b/media-gfx/k3d/k3d-0.5.0.33.ebuild index 2d7f7c2a2f56..632ff5b59e9f 100644 --- a/media-gfx/k3d/k3d-0.5.0.33.ebuild +++ b/media-gfx/k3d/k3d-0.5.0.33.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.5.0.33.ebuild,v 1.2 2005/11/02 04:50:01 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.5.0.33.ebuild,v 1.3 2005/11/03 10:45:12 lu_zero Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/k3d/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="expat gnome imagemagick jpeg ngui nls openexr plib png python qt tiff truetype xml2" +IUSE="expat gnome imagemagick jpeg nls openexr plib png python qt tiff truetype xml2" DEPEND="virtual/x11 virtual/opengl @@ -24,7 +24,7 @@ DEPEND="virtual/x11 gnome? ( gnome-base/libgnome ) imagemagick? ( media-gfx/imagemagick ) jpeg? ( media-libs/jpeg ) - ngui? ( dev-cpp/glibmm dev-cpp/gtkmm x11-libs/gtkglext ) + dev-cpp/glibmm dev-cpp/gtkmm x11-libs/gtkglext openexr? ( media-libs/openexr ) plib? ( media-libs/plib ) png? ( media-libs/libpng ) @@ -32,9 +32,17 @@ DEPEND="virtual/x11 qt? ( x11-libs/qt ) tiff? ( media-libs/tiff ) =dev-libs/libsigc++-2.0*" +src_unpack() { + unpack ${A} + sed -i -e "s:#if _LIB_VERSION == _IEEE_:#if 0:" \ + ${S}/modules/javascript/js/src/fdlibm/k_standard.c \ + || die "errno fix failed" + rm -f ${S}/modules/javascript/object_model.cpp + touch ${S}/modules/javascript/object_model.cpp +} src_compile() { - local myconf + local myconf="--with-ngui" if use expat || ! use xml2 ; then myconf="--without-libxml2" else @@ -57,7 +65,6 @@ src_compile() { $(use_with qt) \ $(use_with svg svg-icons) \ $(use_with tiff) \ - $(use_with ngui) \ ${myconf} \ || die emake || die @@ -66,4 +73,6 @@ src_compile() { src_install() { make install DESTDIR="${D}" || die dodoc AUTHORS INSTALL NEWS README TODO + #missing dir + dodir /usr/share/k3d/shaders/layered } |