summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-10-12 14:03:17 +0000
committerCédric Krier <cedk@gentoo.org>2006-10-12 14:03:17 +0000
commit9e24bdd03e036a22f4cc5579e5c77c12662020ba (patch)
tree502574ee6a9a90ac0f32153c020e815f518020dd
parentdev-libs/openthreads: Version bump (diff)
downloadsunrise-9e24bdd03e036a22f4cc5579e5c77c12662020ba.tar.gz
sunrise-9e24bdd03e036a22f4cc5579e5c77c12662020ba.tar.bz2
sunrise-9e24bdd03e036a22f4cc5579e5c77c12662020ba.zip
dev-libs/openproducer: Version bump
svn path=/sunrise/; revision=1532
-rw-r--r--dev-libs/openproducer/ChangeLog4
-rw-r--r--dev-libs/openproducer/Manifest20
-rw-r--r--dev-libs/openproducer/files/digest-openproducer-1.1.03
-rw-r--r--dev-libs/openproducer/files/openproducer-1.1.0-build.patch51
-rw-r--r--dev-libs/openproducer/openproducer-1.1.0.ebuild62
5 files changed, 136 insertions, 4 deletions
diff --git a/dev-libs/openproducer/ChangeLog b/dev-libs/openproducer/ChangeLog
index 445a98a14..79d690877 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: $
+ 12 Oct 2006; Cedric Krier <ced@ced.homedns.org>
+ +openproducer-1.1.0.ebuild, +files/openproducer-1.1.0-build.patch:
+ Version bump
+
12 Sep 2006; Cedric Krier <ced@ced.homedns.org>
files/openproducer-1.0.1-build.patch,
files/openproducer-1.0.2-build.patch:
diff --git a/dev-libs/openproducer/Manifest b/dev-libs/openproducer/Manifest
index c68f5f42b..1b081b1b3 100644
--- a/dev-libs/openproducer/Manifest
+++ b/dev-libs/openproducer/Manifest
@@ -6,7 +6,12 @@ AUX openproducer-1.0.2-build.patch 1618 RMD160 2d6b884b4b5b1ec4340105e7f21af96b8
MD5 bfd735cd6efbe4612ea02004169d5bfc files/openproducer-1.0.2-build.patch 1618
RMD160 2d6b884b4b5b1ec4340105e7f21af96b82d56df1 files/openproducer-1.0.2-build.patch 1618
SHA256 2c2bbf1e1920afc817b0c0524bfd9dc679e5bf593cb7f782a13747f3469e467c files/openproducer-1.0.2-build.patch 1618
+AUX openproducer-1.1.0-build.patch 1618 RMD160 9967f118dda3ac349b299198b53eea47c84112df SHA1 f76eef5147fb0c44f53b0802613f9e32bff2b720 SHA256 5381d7d4b9a8ecb36eb0e4c1300fe2dd3e1eb05cdd86e4e0487e533e3e37453b
+MD5 9e57156f211b132475bceb24e84b5d40 files/openproducer-1.1.0-build.patch 1618
+RMD160 9967f118dda3ac349b299198b53eea47c84112df files/openproducer-1.1.0-build.patch 1618
+SHA256 5381d7d4b9a8ecb36eb0e4c1300fe2dd3e1eb05cdd86e4e0487e533e3e37453b files/openproducer-1.1.0-build.patch 1618
DIST OSG_OP_OT-1.1.zip 5280940 RMD160 bfdb7f81fb65e94c25dec327ab9dc7f3aa439d20 SHA1 dd6aa2ca6c92970b0331e00ee59fefe43b91dfa2 SHA256 b2b9d4aa39c6022d304f41974e6fc766b1c1723b920b81d341dbe93c61abccc5
+DIST OSG_OP_OT-1.2.zip 5286887 RMD160 b7a961ba2cc413a23049d64631bfbf2c9a5a04bc SHA1 89550da0e0cbaeba742deeae6eb29602854d9284 SHA256 3ccd899c83140a542313f9a659698af36ea30bb7cfddcd8962e25cf0fe7e1fb5
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
@@ -16,10 +21,14 @@ EBUILD openproducer-1.0.2.ebuild 1304 RMD160 b7f8ca3b2722f899f2d7514d14636ca25e7
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 688 RMD160 a39ca186ede2593f0f039ff8b67084048ac743f3 SHA1 6fe14ad11142885f14eff179f398278727241dc5 SHA256 6156ddbaf7af4d65eed98df2332361ef059bed56db14beed6fa9b129c51f7ecc
-MD5 56112565ae1ab9d81bfe3d8aae27dc01 ChangeLog 688
-RMD160 a39ca186ede2593f0f039ff8b67084048ac743f3 ChangeLog 688
-SHA256 6156ddbaf7af4d65eed98df2332361ef059bed56db14beed6fa9b129c51f7ecc ChangeLog 688
+EBUILD openproducer-1.1.0.ebuild 1304 RMD160 ae8431f8a9ee95815f182a7fab9f96cb773984aa SHA1 871b68934734adcffc4628650426b29ddf63924b SHA256 3b8738bea6964c2e05d99c93af1df568936f968de22966644b4d7c2971191ef8
+MD5 6f414657e5bd3e959915acf373cb77f1 openproducer-1.1.0.ebuild 1304
+RMD160 ae8431f8a9ee95815f182a7fab9f96cb773984aa openproducer-1.1.0.ebuild 1304
+SHA256 3b8738bea6964c2e05d99c93af1df568936f968de22966644b4d7c2971191ef8 openproducer-1.1.0.ebuild 1304
+MISC ChangeLog 823 RMD160 01dea94915a022c1ae7277f1c9ee92b6e0efff07 SHA1 c760ad88fae1edb7282d7616ff3a6b477ed3a830 SHA256 4e30b84a71372bc2bf08ce5ac3d04ea051ca717f2c865df491016c853aac90e5
+MD5 5e527026fe0e23eba22e83e7cdb686c8 ChangeLog 823
+RMD160 01dea94915a022c1ae7277f1c9ee92b6e0efff07 ChangeLog 823
+SHA256 4e30b84a71372bc2bf08ce5ac3d04ea051ca717f2c865df491016c853aac90e5 ChangeLog 823
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -30,3 +39,6 @@ SHA256 2627b75029b9f6c067c63f40ed1c7286f7d618e5714a4ac04bf4745cbb3b2cd5 files/di
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
+MD5 d2d4a534808f856d17003526edaedaff files/digest-openproducer-1.1.0 235
+RMD160 4431e8a947fce92f0a21478d93700c14e73a54b4 files/digest-openproducer-1.1.0 235
+SHA256 3158004aeb03006b223fa6595a57272a1e679994032623fa4b2665656e4f86ec files/digest-openproducer-1.1.0 235
diff --git a/dev-libs/openproducer/files/digest-openproducer-1.1.0 b/dev-libs/openproducer/files/digest-openproducer-1.1.0
new file mode 100644
index 000000000..231b9ebc0
--- /dev/null
+++ b/dev-libs/openproducer/files/digest-openproducer-1.1.0
@@ -0,0 +1,3 @@
+MD5 e08e0ef1f250dfc17122926ef00b1559 OSG_OP_OT-1.2.zip 5286887
+RMD160 b7a961ba2cc413a23049d64631bfbf2c9a5a04bc OSG_OP_OT-1.2.zip 5286887
+SHA256 3ccd899c83140a542313f9a659698af36ea30bb7cfddcd8962e25cf0fe7e1fb5 OSG_OP_OT-1.2.zip 5286887
diff --git a/dev-libs/openproducer/files/openproducer-1.1.0-build.patch b/dev-libs/openproducer/files/openproducer-1.1.0-build.patch
new file mode 100644
index 000000000..84385915b
--- /dev/null
+++ b/dev-libs/openproducer/files/openproducer-1.1.0-build.patch
@@ -0,0 +1,51 @@
+--- OSG_OP_OT-1.2~/Producer/Make/makedefs 2006-10-12 14:45:38.000000000 +0200
++++ OSG_OP_OT-1.2/Producer/Make/makedefs 2006-10-12 14:50:48.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) -L$(TOPDIR)/lib/$(OS)$(ARCH) $(LINKARGS)
+ 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.1.0.ebuild b/dev-libs/openproducer/openproducer-1.1.0.ebuild
new file mode 100644
index 000000000..07475b488
--- /dev/null
+++ b/dev-libs/openproducer/openproducer-1.1.0.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.2
+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
+}