+++ /dev/null
-# ChangeLog for media-gfx/openscenegraph
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 06 Sep 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
- openscenegraph-1.2.ebuild:
- Inherit multilib directly
-
- 23 Aug 2008; Thomas Beierlein (TomJBE) <tb@forth-ev.de> metadata.xml:
- Added local USE flag description wrt GLEP 56
-
- 02 Nov 2006; Cedric Krier <ced@ced.homedns.org>
- -openscenegraph-1.0.ebuild, -files/openscenegraph-1.0-build.patch,
- -openscenegraph-1.1.ebuild, -files/openscenegraph-1.1-build.patch:
- Clean old
-
- 12 Oct 2006; Cedric Krier <ced@ced.homedns.org>
- +openscenegraph-1.2.ebuild, +files/openscenegraph-1.2-build.patch:
- Version bump
-
- 12 Sep 2006; Cedric Krier <ced@ced.homedns.org>
- +openscenegraph-1.0.ebuild, +files/openscenegraph-1.0-build.patch,
- files/openscenegraph-1.1-build.patch:
- fix linkage and add previous version for Magrathea
-
- 11 Sep 2006; Cedric Krier <ced@ced.homedns.org>
- +openscenegraph-1.1.ebuild, +files/openscenegraph-1.1-build.patch,
- +metadata.xml:
- New Ebuild for bug 91526 thanks to Takenori KUBO, Seemant Kulleen, Jakub
- Moc, Tristan Heaven, Luca Barbato, Rene Meier, Geoff Leach
-
+++ /dev/null
-AUX openscenegraph-1.2-build.patch 3113 RMD160 b794d1338d8b5b268f881b7707e52b2152f518c9 SHA1 b4954c803f33fa12541148fb375bdc46050f6d6f SHA256 8b8e4664675d76c07ea54fb49a724d21474f8e9e8e339a288b899ad96b43bb19
-DIST OSG_OP_OT-1.2.zip 5286887 RMD160 b7a961ba2cc413a23049d64631bfbf2c9a5a04bc SHA1 89550da0e0cbaeba742deeae6eb29602854d9284 SHA256 3ccd899c83140a542313f9a659698af36ea30bb7cfddcd8962e25cf0fe7e1fb5
-EBUILD openscenegraph-1.2.ebuild 3414 RMD160 0ab8f871aaddf535d41c959318edc75f8152cb2c SHA1 f887cfff432bd461dc62bde6aabe9e91929a0d19 SHA256 41422dd579a7123a32863f9d3ba4655ea537da8334198b1f2a2d8920ed9f7f96
-MISC ChangeLog 1181 RMD160 c5ce4df759bf368a1fa74a41c36093f0ef785429 SHA1 50e143f6f8db83134c3319d2795f9e8dddb87bec SHA256 1fc0342a5afeaa77deda06cd6aef5b823f07ef96e94e7e99e6ba2de0de40cfeb
-MISC metadata.xml 591 RMD160 3f8e5f89276fcad5f5a4e67e7bdfe1755831a6bf SHA1 a9782a183358369a349d736ebc6ba2d8a11a3230 SHA256 67133df5c5702c2b54f3efbb2e5e64815df96b8d5aa94f4843c518e4ce4583fe
+++ /dev/null
-diff -ru OSG_OP_OT-1.2~/OpenSceneGraph/Make/instexamplesrc OSG_OP_OT-1.2/OpenSceneGraph/Make/instexamplesrc
---- OSG_OP_OT-1.2~/OpenSceneGraph/Make/instexamplesrc 2006-10-12 14:45:38.000000000 +0200
-+++ OSG_OP_OT-1.2/OpenSceneGraph/Make/instexamplesrc 2006-10-12 14:45:58.000000000 +0200
-@@ -32,7 +32,7 @@
- cd $TOPDIR/examples/$d
- [ -d $INST_EXAMPLE_SRC/$d ] || mkdir -m 0755 -p $INST_EXAMPLE_SRC/$d
- echo " installing $d"
-- for f in `$MAKE __instfiles | grep -v $MAKE`
-+ for f in `$MAKE __instfiles`
- do
- src=`echo $f | cut -f1 -d"="`
- dst=`echo $f | cut -f2 -d"="`
-diff -ru OSG_OP_OT-1.2~/OpenSceneGraph/Make/makedefs OSG_OP_OT-1.2/OpenSceneGraph/Make/makedefs
---- OSG_OP_OT-1.2~/OpenSceneGraph/Make/makedefs 2006-10-12 14:45:38.000000000 +0200
-+++ OSG_OP_OT-1.2/OpenSceneGraph/Make/makedefs 2006-10-12 14:45:58.000000000 +0200
-@@ -76,8 +76,8 @@
- ## doesn't make a distinction, we will.
- ############################################################################
-
--CXXFLAGS = $(ARCHARGS) $(DOF) $(DEF) $(INC)
--LDFLAGS = $(ARCHARGS) $(DOF) $(LINKARGS) -L$(TOPDIR)/lib/$(OS)$(ARCH)
-+CXXFLAGS += -Wall $(ARCHARGS) $(DOF) $(DEF) $(INC)
-+LDFLAGS += $(ARCHARGS) $(DOF) -L$(TOPDIR)/lib/$(OS)$(ARCH) $(LINKARGS)
- OBJS = $(C++FILES:.cpp=.o) \
- $(CXXFILES:.cpp=.o) \
- $(CFILES:.c=.o) \
-@@ -355,9 +355,9 @@
- endif
- else
-
--ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
-- LDFLAGS += -Wl,-soname -Wl,$@.0
--endif
-+#ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
-+ LDFLAGS += -Wl,-soname -Wl,$@
-+#endif
-
- # LDFLAGS += `getconf LFS_LDFLAGS`
- # DEF += `getconf LFS_CFLAGS`
-@@ -365,7 +365,7 @@
- LIBS = -lstdc++
- # DEF += -W -Wall -fPIC -pipe -Woverloaded-virtual
- DEF += -W -Wall -fPIC -pipe
-- OPTF = -O2
-+ #OPTF = -O2
- DBGF = -g -gstabs+ -DOSG_COMPILE_UNIT_TESTS
- SYSARCH := $(shell arch)
- ifeq ($(SYSARCH),x86_64)
-@@ -381,15 +381,15 @@
-
- SHARED = -shared
- ifeq ($(SYSARCH),x86_64)
-- LINKARGS = -L/usr/X11R6/lib64
-+ LINKARGS = -L/usr/lib64
- else
-- LINKARGS = -L/usr/X11R6/lib
-+ LINKARGS = -L/usr/lib
- endif
- DYNAMICLIBRARYLIB = -ldl
- OSG_LIBS = -losgGA -losgDB -losgUtil -losg
- GL_LIBS = -lGLU -lGL
- GLUT_LIBS = -lglut
-- X_INC = -I/usr/X11R6/include
-+ X_INC = -I/usr/include
- X_LIBS = -lXi -lXmu -lX11
- PF_XTRA_LIBS = -L/usr/lib/libpfdb -Xlinker -rpath /usr/lib/libpfdb \
- -lpfdu -lpfutil -lpf
-@@ -398,7 +398,7 @@
- PNG_LIBS = -lpng
- JPEG_LIBS = -ljpeg
- TIFF_LIB = -ltiff
-- GIF_LIBS = -lungif
-+ GIF_LIBS = -lgif
- MAKEDIST = $(TOPDIR)/Make/makerpms
-
- ifeq ("$(PROFILER)","gprof")
-Only in OSG_OP_OT-1.2/OpenSceneGraph/Make: makedefs.orig
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>maintainer-wanted</herd>
- <use>
- <flag name='coin'>Compile <pkg>media-libs/coin</pkg> plugin</flag>
- <flag name='gdal'>Compile <pkg>sci-libs/gdal</pkg> plugin</flag>
- <flag name='introspection'>Compile osgIntrospection</flag>
- <flag name='inventor'>Compile <pkg>media-libs/openinventor</pkg>
- plugin</flag>
- <flag name='jasper'>Compile <pkg>media-libs/jasper</pkg> plugin</flag>
- <flag name='producer'>Compile osgProducer</flag>
- </use>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils multilib toolchain-funcs
-
-MY_PN=OpenSceneGraph
-MY_PV=${PV/_rc/-rc}
-
-DESCRIPTION="Cross-platform, high performance 3D graphics toolkit"
-HOMEPAGE="http://www.openscenegraph.org/"
-SRC_URI="http://www.openscenegraph.org/downloads/snapshots/OSG_OP_OT-${MY_PV}.zip"
-
-LICENSE="OSGPL"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="doc examples introspection producer gdal jasper truetype xine jpeg gif tiff png coin inventor glut"
-
-RDEPEND=">=dev-libs/openproducer-1.0.2
- >=dev-libs/openthreads-1.4.3
- media-libs/mesa
- virtual/opengl
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libX11
- gdal? ( sci-libs/gdal )
- jasper? ( media-libs/jasper )
- truetype? ( media-libs/freetype )
- xine? ( media-libs/xine-lib )
- jpeg? ( media-libs/jpeg )
- gif? ( media-libs/giflib )
- tiff? ( media-libs/tiff )
- png? ( media-libs/libpng
- sys-libs/zlib )
- coin? ( media-libs/coin )
- inventor? ( media-libs/openinventor )
- glut? ( virtual/glut )"
-DEPEND="${RDEPEND}
- app-arch/unzip
- doc? ( app-doc/doxygen )"
-
-S=${WORKDIR}/OSG_OP_OT-${MY_PV}/${MY_PN}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_compile() {
- local myconf
-
- use introspection \
- && myconf="${myconf} COMPILE_INTROSPECTION=yes" \
- || myconf="${myconf} COMPILE_INTROSPECTION=no"
-
- use producer \
- && myconf="${myconf} PRODUCER_INSTALLED=yes" \
- || myconf="${myconf} PRODUCER_INSTALLED=no"
-
- use examples \
- && myconf="${myconf} COMPILE_EXAMPLES=yes" \
- || myconf="${myconf} COMPILE_EXAMPLES=no"
-
- use gdal \
- && myconf="${myconf} GDAL_INSTALLED=yes" \
- || myconf="${myconf} GDAL_INSTALLED=no"
-
- use jasper \
- && myconf="${myconf} JASPER_INSTALLED=yes" \
- || myconf="${myconf} JASPER_INSTALLED=no"
-
- use truetype \
- && myconf="${myconf} FREETYPE_INSTALLED=yes" \
- || myconf="${myconf} FREETYPE_INSTALLED=no"
-
- use xine \
- && myconf="${myconf} XINE_INSTALLED=yes" \
- || myconf="${myconf} XINE_INSTALLED=no"
-
- myconf="${myconf} QUICKTIME_INSTALLED=no"
-
- use jpeg \
- && myconf="${myconf} LIBJPEG_INSTALLED=yes" \
- || myconf="${myconf} LIBJPEG_INSTALLED=no"
-
- use gif \
- && myconf="${myconf} LIBUNGIF_INSTALLED=yes" \
- || myconf="${myconf} LIBUNGIF_INSTALLED=no"
-
- use tiff \
- && myconf="${myconf} LIBTIFF_INSTALLED=yes" \
- || myconf="${myconf} LIBTIFF_INSTALLED=no"
-
- use png \
- && myconf="${myconf} LIBPNG_INSTALLED=yes" \
- || myconf="${myconf} LIBPNG_INSTALLED=no"
-
- use coin \
- && myconf="${myconf} COIN_INSTALLED=yes" \
- || myconf="${myconf} COIN_INSTALLED=no"
-
- use inventor \
- && myconf="${myconf} INVENTOR_INSTALLED=yes" \
- || myconf="${myconf} INVENTOR_INSTALLED=no"
-
- myconf="${myconf} PERFORMER_INSTALLED=no"
-
- use glut \
- && myconf="${myconf} GLUT_INSTALLED=yes" \
- || myconf="${myconf} GLUT_INSTALLED=no"
-
- emake CXX=$(tc-getCXX) ${myconf} || die "emake failed"
-
- if use doc; then
- OSGHOME="${S}" doxygen doc/Doxyfiles/all_Doxyfile
- fi
-}
-
-src_install() {
- emake INST_LOCATION="${D}"/usr INST_EXAMPLES="${D}"/usr/bin \
- INST_EXAMPLE_SRC="${D}"/usr/share/doc/${P}/examples \
- INST_SRC="${D}"/usr/share/doc/${P}/src install \
- || die "emake install failed"
-
- insinto /usr/$(get_libdir)/pkgconfig
- doins Make/openscenegraph.pc
-
- dodoc AUTHORS.txt ChangeLog NEWS.txt README.txt
-
- if use doc; then
- dodoc doc/ProgrammingGuide/ProgrammingGuide.odt
- dohtml -r doc/doxygen/html
- fi
-}