summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-09-11 11:22:23 +0000
committerCédric Krier <cedk@gentoo.org>2006-09-11 11:22:23 +0000
commitd1c21b833396ad508658b4bbffc7efa58013e0db (patch)
tree38a806f76d3a223b536baeecbc62e625642fbc44 /dev-libs
parentlicenses/OSGPL: Add OSGPL (diff)
downloadsunrise-reviewed-d1c21b833396ad508658b4bbffc7efa58013e0db.tar.gz
sunrise-reviewed-d1c21b833396ad508658b4bbffc7efa58013e0db.tar.bz2
sunrise-reviewed-d1c21b833396ad508658b4bbffc7efa58013e0db.zip
dev-libs/openproducer: Version bump
svn path=/sunrise/; revision=1222
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openproducer/ChangeLog4
-rw-r--r--dev-libs/openproducer/Manifest20
-rw-r--r--dev-libs/openproducer/files/digest-openproducer-1.0.23
-rw-r--r--dev-libs/openproducer/files/openproducer-1.0.2-build.patch51
-rw-r--r--dev-libs/openproducer/openproducer-1.0.2.ebuild62
5 files changed, 136 insertions, 4 deletions
diff --git a/dev-libs/openproducer/ChangeLog b/dev-libs/openproducer/ChangeLog
index 8385fde9e..c38243642 100644
--- a/dev-libs/openproducer/ChangeLog
+++ b/dev-libs/openproducer/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 11 Sep 2006; Cedric Krier <ced@ced.homedns.org>
+ +openproducer-1.0.2.ebuild, +files/openproducer-1.0.2-build.patch:
+ Version bump
+
09 Sep 2006; Cedric Krier <ced@ced.homedns.org>
+openproducer-1.0.1.ebuild, +files/openproducer-1.0.1-build.patch,
+metadata.xml:
diff --git a/dev-libs/openproducer/Manifest b/dev-libs/openproducer/Manifest
index f947a8fe8..e276087d8 100644
--- a/dev-libs/openproducer/Manifest
+++ b/dev-libs/openproducer/Manifest
@@ -2,15 +2,24 @@ AUX openproducer-1.0.1-build.patch 1646 RMD160 cdf8ccad4463dea848451f7b71205cb75
MD5 ea8ff8effb36f5e59b8fe1c578c2fd05 files/openproducer-1.0.1-build.patch 1646
RMD160 cdf8ccad4463dea848451f7b71205cb755943f66 files/openproducer-1.0.1-build.patch 1646
SHA256 a23d03a3eb09d4049a18e87ec0e51feb107b542bc5bacb270502219fa83236b0 files/openproducer-1.0.1-build.patch 1646
+AUX openproducer-1.0.2-build.patch 1619 RMD160 977a65caf74ced9d017735c19ffcb3eab55a3f0d SHA1 8b84dc63c8791f9030a066b71701f5561830aa17 SHA256 396b158822c8ecc02cf2a5adaabaf79d8b78fed565e68609bb97e8fea6fd3b77
+MD5 dd6313cf9a029cffb1711e5393644c5a files/openproducer-1.0.2-build.patch 1619
+RMD160 977a65caf74ced9d017735c19ffcb3eab55a3f0d files/openproducer-1.0.2-build.patch 1619
+SHA256 396b158822c8ecc02cf2a5adaabaf79d8b78fed565e68609bb97e8fea6fd3b77 files/openproducer-1.0.2-build.patch 1619
+DIST OSG_OP_OT-1.1.zip 5280940 RMD160 bfdb7f81fb65e94c25dec327ab9dc7f3aa439d20 SHA1 dd6aa2ca6c92970b0331e00ee59fefe43b91dfa2 SHA256 b2b9d4aa39c6022d304f41974e6fc766b1c1723b920b81d341dbe93c61abccc5
DIST Producer-1.0.1.zip 595921 RMD160 cebc7bce1332d1c562e9b9dd446e8aa29b266607 SHA1 b62eb449d235e926dc0a63ebebbf96b3e5021792 SHA256 a9588fdee9d24cef6ea73025ff6b55c6b653d13bdcfe96dbb1c31eb61273e990
EBUILD openproducer-1.0.1.ebuild 1301 RMD160 74c9bc989d6469138ca2a51962e0da688b31d10b SHA1 4ad5e3f93693ce61103785fe6f528caf0e9236c1 SHA256 7b2782c581746cdd3ed72f04c6dbf49814d9bbd9fe3aa91fec6e5ef1103743d6
MD5 cfea118d49b507c2d1e14116c1965a85 openproducer-1.0.1.ebuild 1301
RMD160 74c9bc989d6469138ca2a51962e0da688b31d10b openproducer-1.0.1.ebuild 1301
SHA256 7b2782c581746cdd3ed72f04c6dbf49814d9bbd9fe3aa91fec6e5ef1103743d6 openproducer-1.0.1.ebuild 1301
-MISC ChangeLog 408 RMD160 80f6b0dbaa4a982ca2d4f8a58dca279153b32976 SHA1 61e9f1315edda58931407a0f6f00a4513c84ff2e SHA256 f9abd28988c29eac10a169ea552d0e251c5bf7e7a5b4d5a52bbc0625022a1a66
-MD5 2e3f6fdde3c3636d5bf4b2340801077c ChangeLog 408
-RMD160 80f6b0dbaa4a982ca2d4f8a58dca279153b32976 ChangeLog 408
-SHA256 f9abd28988c29eac10a169ea552d0e251c5bf7e7a5b4d5a52bbc0625022a1a66 ChangeLog 408
+EBUILD openproducer-1.0.2.ebuild 1304 RMD160 b7f8ca3b2722f899f2d7514d14636ca25e778f85 SHA1 aff26b3388e2b04e3f99bf3ec824925071150ed7 SHA256 3d56b88af53a91c96477783fa650751ab26de69927fc7243148a54ca77b90649
+MD5 30c8dfebd13941b81f3cbdf336222863 openproducer-1.0.2.ebuild 1304
+RMD160 b7f8ca3b2722f899f2d7514d14636ca25e778f85 openproducer-1.0.2.ebuild 1304
+SHA256 3d56b88af53a91c96477783fa650751ab26de69927fc7243148a54ca77b90649 openproducer-1.0.2.ebuild 1304
+MISC ChangeLog 543 RMD160 074c0e2718472e48b2c905ade7053421e4db0c18 SHA1 37fe25a6809c4b0585a64336201d05557dc22db5 SHA256 676ae512b82bd2b600f6eac5d154a2e754b678bb21fe6ba94c17aaf4ea15a7ba
+MD5 e9f6dc3b7b4569ed710d3754eeceabc1 ChangeLog 543
+RMD160 074c0e2718472e48b2c905ade7053421e4db0c18 ChangeLog 543
+SHA256 676ae512b82bd2b600f6eac5d154a2e754b678bb21fe6ba94c17aaf4ea15a7ba ChangeLog 543
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -18,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 5ad30adec53fc5a60e0ee2b8a45370a1 files/digest-openproducer-1.0.1 235
RMD160 2931d3dc801ef06e921102d76dbcf264b1e80f68 files/digest-openproducer-1.0.1 235
SHA256 2627b75029b9f6c067c63f40ed1c7286f7d618e5714a4ac04bf4745cbb3b2cd5 files/digest-openproducer-1.0.1 235
+MD5 3a5506bb3d7c756ab066c9e1c2b60e75 files/digest-openproducer-1.0.2 235
+RMD160 5d7a40ffddda1faa8da05d9ae3cc5296297a8c1f files/digest-openproducer-1.0.2 235
+SHA256 56fd7213f1611ae5fda3fb9a895dfb22f11866059555e44cde04c19f275a2098 files/digest-openproducer-1.0.2 235
diff --git a/dev-libs/openproducer/files/digest-openproducer-1.0.2 b/dev-libs/openproducer/files/digest-openproducer-1.0.2
new file mode 100644
index 000000000..e528f8217
--- /dev/null
+++ b/dev-libs/openproducer/files/digest-openproducer-1.0.2
@@ -0,0 +1,3 @@
+MD5 c140e0f53f577af6e807108dd1a8f65f OSG_OP_OT-1.1.zip 5280940
+RMD160 bfdb7f81fb65e94c25dec327ab9dc7f3aa439d20 OSG_OP_OT-1.1.zip 5280940
+SHA256 b2b9d4aa39c6022d304f41974e6fc766b1c1723b920b81d341dbe93c61abccc5 OSG_OP_OT-1.1.zip 5280940
diff --git a/dev-libs/openproducer/files/openproducer-1.0.2-build.patch b/dev-libs/openproducer/files/openproducer-1.0.2-build.patch
new file mode 100644
index 000000000..63f2b3055
--- /dev/null
+++ b/dev-libs/openproducer/files/openproducer-1.0.2-build.patch
@@ -0,0 +1,51 @@
+--- OSG_OP_OT-1.1~/Producer/Make/makedefs 2006-09-11 10:07:24.000000000 +0200
++++ OSG_OP_OT-1.1/Producer/Make/makedefs 2006-09-11 10:19:29.000000000 +0200
+@@ -57,8 +57,8 @@
+
+ INC = -I$(TOPDIR)/include
+
+-CXXFLAGS = $(ARCHARGS) $(DOF) $(DEF) $(INC)
+-LDFLAGS = $(ARCHARGS) $(DOF) $(LINKARGS) -L$(TOPDIR)/lib/$(OS)$(ARCH)
++CXXFLAGS += -Wall $(ARCHARGS) $(DOF) $(DEF) $(INC)
++LDFLAGS += $(ARCHARGS) $(DOF) $(LINKARGS) -L$(TOPDIR)/lib/$(OS)$(ARCH)
+ OBJS = $(CXXFILES:.cpp=.o) \
+ $(CFILES:.c=.o) \
+ $(YACCFILES:.y=.o) \
+@@ -86,7 +86,7 @@
+ INSTLINKCMD = $(LINK)
+
+ LIB_PREFIX = lib
+-LIB_EXT = so
++LIB_EXT = so.$(VERSION)
+ EXE_EXT =
+
+ MAKEDIST = echo " === Distribution build is not implemented yet for $(OS)"; printf "\n"
+@@ -249,12 +249,12 @@
+ CXX = g++
+ endif
+
+-ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
+- LDFLAGS += -Wl,-soname -Wl,$@.$(LIB_EXT).0
+-endif
++#ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES")
++ LDFLAGS += -Wl,-soname -Wl,$@.$(LIB_EXT)
++#endif
+
+ DEF += -fPIC -pthread
+- OPTF = -O2
++ #OPTF = -O2
+ DBGF = -ggdb -gstabs
+ ifeq ($(SYSARCH),x86_64)
+ ARCH = 64
+@@ -272,9 +272,9 @@
+ SHARED = -shared
+ ARCHARGS =
+ ifeq ($(SYSARCH),x86_64)
+- LINKARGS = -L/usr/X11R6/lib64
++ LINKARGS = -L/usr/lib64
+ else
+- LINKARGS = -L/usr/X11R6/lib
++ LINKARGS = -L/usr/lib
+ endif
+ MAKEDIST = $(TOPDIR)/Make/makerpms
+
diff --git a/dev-libs/openproducer/openproducer-1.0.2.ebuild b/dev-libs/openproducer/openproducer-1.0.2.ebuild
new file mode 100644
index 000000000..9a93161f1
--- /dev/null
+++ b/dev-libs/openproducer/openproducer-1.0.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs multilib fixheadtails
+
+MY_PN="Producer"
+OSG_V=1.1
+DESCRIPTION="a cross-platform C++/OpenGL library that is focused on Camera control"
+HOMEPAGE="http://openscenegraph.org/"
+SRC_URI="http://www.openscenegraph.org/downloads/snapshots/OSG_OP_OT-${OSG_V}.zip"
+
+LICENSE="OSGPL"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc examples"
+
+RDEPEND="virtual/opengl
+ >=dev-libs/openthreads-1.4.3
+ x11-libs/libXmu
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}"/OSG_OP_OT-${OSG_V}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ ht_fix_all
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX) || die "emake failed"
+
+ if use doc; then
+ cd docs
+ doxygen doxy.cfg
+ fi
+}
+
+src_install() {
+ emake INST_LOCATION="${D}"/usr install || die "emake install failed"
+
+ dosym /usr/$(get_libdir)/lib${MY_PN}.so{.${PV},}
+ dosym /usr/$(get_libdir)/lib${MY_PN}.so.{${PV},${PV%%.*}}
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins Make/producer.pc
+
+ dodoc README.txt
+
+ use doc && dohtml -r doc/Doxygen/html/*
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r doc/Tutorial/SourceCode/*
+ fi
+}