summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glfw')
-rw-r--r--media-libs/glfw/ChangeLog8
-rw-r--r--media-libs/glfw/Manifest30
-rw-r--r--media-libs/glfw/files/digest-glfw-2.63
-rw-r--r--media-libs/glfw/files/glfw-2.6-dyn.patch22
-rw-r--r--media-libs/glfw/glfw-2.6.ebuild72
5 files changed, 130 insertions, 5 deletions
diff --git a/media-libs/glfw/ChangeLog b/media-libs/glfw/ChangeLog
index c4f9a008c9ae..73765f11614e 100644
--- a/media-libs/glfw/ChangeLog
+++ b/media-libs/glfw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/glfw
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.7 2007/07/22 09:39:56 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.8 2007/11/11 07:34:19 tupone Exp $
+
+*glfw-2.6 (11 Nov 2007)
+
+ 11 Nov 2007; Tupone Alfredo <tupone@gentoo.org> +files/glfw-2.6-dyn.patch,
+ +glfw-2.6.ebuild:
+ Version bump. Request bug #195262 by Peter Koeleman
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; glfw-2.5.0.ebuild:
Drop virtual/x11 references.
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest
index f06ce9cb3bb7..e27274b7d5c9 100644
--- a/media-libs/glfw/Manifest
+++ b/media-libs/glfw/Manifest
@@ -1,8 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX glfw-2.5.0-dyn.patch 2444 RMD160 c0585ca392f3d4be50734031c26d1d833a663e5a SHA1 1ab115228fb916167dfef148214e208d3bdcec17 SHA256 0f9a40a10fe9c123746a47db662c632639f6c6f4d223e826b0cb5232b5d8db90
MD5 d4f714603a1c36bad83863e858ee6c54 files/glfw-2.5.0-dyn.patch 2444
RMD160 c0585ca392f3d4be50734031c26d1d833a663e5a files/glfw-2.5.0-dyn.patch 2444
SHA256 0f9a40a10fe9c123746a47db662c632639f6c6f4d223e826b0cb5232b5d8db90 files/glfw-2.5.0-dyn.patch 2444
+AUX glfw-2.6-dyn.patch 963 RMD160 229a187f27ff461a36687b2db6df1924e1cb3e08 SHA1 1f0bbd12751282ba43c94992383a1072a164be9e SHA256 bb91028d524ea357407bc91d4b09db0568e237954109f8fa5db2973ec449fbdd
+MD5 e2e9eab570e3da374b2da5bd8bfc4641 files/glfw-2.6-dyn.patch 963
+RMD160 229a187f27ff461a36687b2db6df1924e1cb3e08 files/glfw-2.6-dyn.patch 963
+SHA256 bb91028d524ea357407bc91d4b09db0568e237954109f8fa5db2973ec449fbdd files/glfw-2.6-dyn.patch 963
DIST glfw-2.5.0.tar.bz2 645993 RMD160 4666e88285a20a74e1cbfecd1e6a918dbe88b817 SHA1 53cb1ce1b6106f8d187c5dce8fc266d7ee44b87f SHA256 cbf1164baebb00cc27039a406c873794e2b70caa0af0ae3348ed5062ecc26816
+DIST glfw-2.6.tar.bz2 886843 RMD160 71c767e16167e8460fbfb01391614b2501247c7e SHA1 7b11e5a9d923c9826d4cc6eeeb441dc6940109c8 SHA256 1b86ca8c5678fbf6999a0bfbe50de121f8aec9c07bf2383306819caebe3edfca
EBUILD glfw-2.5.0-r1.ebuild 1719 RMD160 6c67e44f84ec5adbe91b9325f4c261c71a050472 SHA1 0f5a9dd807ff6b3b309e42663ceee3e2e46ff74c SHA256 1226ccb609876cb9d1f9ff4bae4997dfa1ab66b5629fe84dcbf719a55eb20359
MD5 12bd7afeb1b34e933ed92e4c41dfbc4c glfw-2.5.0-r1.ebuild 1719
RMD160 6c67e44f84ec5adbe91b9325f4c261c71a050472 glfw-2.5.0-r1.ebuild 1719
@@ -11,10 +19,14 @@ EBUILD glfw-2.5.0.ebuild 1564 RMD160 a4cee06d36dd22227f86cc10a17f183d6a2af5ef SH
MD5 4270fca7458c20546cdccd4cafc5a20b glfw-2.5.0.ebuild 1564
RMD160 a4cee06d36dd22227f86cc10a17f183d6a2af5ef glfw-2.5.0.ebuild 1564
SHA256 402a9dac1d9984fe8bc842bf8b6162872225dbdf3cb31effa1a2e75899a437c9 glfw-2.5.0.ebuild 1564
-MISC ChangeLog 1132 RMD160 72c4bbfdaf27f3f9f081b35e054ea6e0bcd6133f SHA1 13c9905a22d0a629242926d7a8bc9101f13ae180 SHA256 42c571add113ba1549b92c4e947082bd518522c8d773b6b8924ab4a4e5812238
-MD5 c7592b9622fc4b2ce4a90cc39555bb24 ChangeLog 1132
-RMD160 72c4bbfdaf27f3f9f081b35e054ea6e0bcd6133f ChangeLog 1132
-SHA256 42c571add113ba1549b92c4e947082bd518522c8d773b6b8924ab4a4e5812238 ChangeLog 1132
+EBUILD glfw-2.6.ebuild 1660 RMD160 9751830d9528cd56b5aae6cb77e9cd4166b8b5bc SHA1 c9108c66b32199720a0105f2b76d1296bf765e05 SHA256 84982f127050e0cbaa11bb82f71a75af8a4cf0a4df9e1c78ff7e0d0e0afb38e5
+MD5 2fb83dda1115a683ee074403478188c9 glfw-2.6.ebuild 1660
+RMD160 9751830d9528cd56b5aae6cb77e9cd4166b8b5bc glfw-2.6.ebuild 1660
+SHA256 84982f127050e0cbaa11bb82f71a75af8a4cf0a4df9e1c78ff7e0d0e0afb38e5 glfw-2.6.ebuild 1660
+MISC ChangeLog 1306 RMD160 d2748497fced06b665699a0a100462c62a8c7466 SHA1 e64b4903a48b4136c89384643a5c480c87e599a1 SHA256 7dbcb27a89821fa30b18df40ecb47a76786fbb5e70651a5711fb81a64b5df207
+MD5 a6a35256b2fd0fa829db7f2c68335f82 ChangeLog 1306
+RMD160 d2748497fced06b665699a0a100462c62a8c7466 ChangeLog 1306
+SHA256 7dbcb27a89821fa30b18df40ecb47a76786fbb5e70651a5711fb81a64b5df207 ChangeLog 1306
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -25,3 +37,13 @@ SHA256 401c6e83eeaf787a42b5723c0894d3849f3fc78e6a4dfb1112b6c68662fdb15b files/di
MD5 bfddea95a1430fd89f791461dbc49fd9 files/digest-glfw-2.5.0-r1 235
RMD160 b65c33155b66bd2e504539062db0cb4c436a34e6 files/digest-glfw-2.5.0-r1 235
SHA256 401c6e83eeaf787a42b5723c0894d3849f3fc78e6a4dfb1112b6c68662fdb15b files/digest-glfw-2.5.0-r1 235
+MD5 0d7a5fd02541002a93c9f06763be8b32 files/digest-glfw-2.6 229
+RMD160 607bd8360702fdb569dbf51af21d1f63a2758b0f files/digest-glfw-2.6 229
+SHA256 bac90a9d81292fb604bf44d247fd06ed96ce36e883b483dd49d62601758cce08 files/digest-glfw-2.6 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFHNrCB8qKy9+b2Hl0RAmSGAJ9O/8+XsjeDDnIyP4TSV081VN1dDwCdFSoI
+Sl3tB+KZaiS5e2J5vfsBJUM=
+=dVWL
+-----END PGP SIGNATURE-----
diff --git a/media-libs/glfw/files/digest-glfw-2.6 b/media-libs/glfw/files/digest-glfw-2.6
new file mode 100644
index 000000000000..5b3be1f41ee2
--- /dev/null
+++ b/media-libs/glfw/files/digest-glfw-2.6
@@ -0,0 +1,3 @@
+MD5 0d9b93e6194c3805be9e1c855a985a24 glfw-2.6.tar.bz2 886843
+RMD160 71c767e16167e8460fbfb01391614b2501247c7e glfw-2.6.tar.bz2 886843
+SHA256 1b86ca8c5678fbf6999a0bfbe50de121f8aec9c07bf2383306819caebe3edfca glfw-2.6.tar.bz2 886843
diff --git a/media-libs/glfw/files/glfw-2.6-dyn.patch b/media-libs/glfw/files/glfw-2.6-dyn.patch
new file mode 100644
index 000000000000..d816f9f59536
--- /dev/null
+++ b/media-libs/glfw/files/glfw-2.6-dyn.patch
@@ -0,0 +1,22 @@
+--- lib/x11/Makefile.x11.in.old 2007-11-11 07:56:34.000000000 +0100
++++ lib/x11/Makefile.x11.in 2007-11-11 08:00:22.000000000 +0100
+@@ -8,7 +8,7 @@
+ ##########################################################################
+ # Default: Build GLFW static library
+ ##########################################################################
+-default: libglfw.a libglfw.so
++default: libglfw.a libglfw.so.2.6
+
+
+ ##########################################################################
+@@ -104,8 +104,8 @@
+ ##########################################################################
+ # Rule for building shared library
+ ##########################################################################
+-libglfw.so: $(SHARED_OBJS)
+- $(CC) $(LDFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS)
++libglfw.so.2.6: $(SHARED_OBJS)
++ $(CC) $(LDFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS) -Wl,-soname=$@
+
+
+ ##########################################################################
diff --git a/media-libs/glfw/glfw-2.6.ebuild b/media-libs/glfw/glfw-2.6.ebuild
new file mode 100644
index 000000000000..c2a7b323a2a4
--- /dev/null
+++ b/media-libs/glfw/glfw-2.6.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.1 2007/11/11 07:34:19 tupone Exp $
+
+inherit eutils
+
+DESCRIPTION="The Portable OpenGL FrameWork"
+HOMEPAGE="http://glfw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+DEPEND="x11-libs/libXrandr
+ virtual/opengl"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \
+ readme.html \
+ || die "sed failed"
+ epatch "${FILESDIR}/${P}"-dyn.patch
+}
+
+src_compile() {
+ emake x11 || die "emake failed"
+}
+
+src_install() {
+ dolib.a lib/x11/libglfw.a || die "dolib.a failed"
+ dolib.so lib/x11/libglfw.so.2.6 || die "dolib.so failed"
+ dosym libglfw.so.2.6 /usr/lib/libglfw.so
+
+ insinto /usr/include/GL
+ doins include/GL/glfw.h || die "doins failed"
+ dohtml -r readme.html
+ insinto /usr/share/doc/${PF}/html/images
+ doins images/*
+ insinto /usr/share/doc/${PF}/pdf
+ doins docs/*.pdf
+
+ if use examples; then
+ local f
+ local MY_EXAMPLES="boing gears keytest listmodes mipmaps
+ mtbench mthello particles pong3d splitview
+ triangle wave"
+ local MY_PICS="mipmaps.tga pong3d_field.tga pong3d_instr.tga
+ pong3d_menu.tga pong3d_title.tga
+ pong3d_winner1.tga pong3d_winner2.tga"
+
+ insinto /usr/share/doc/${PF}/examples
+
+ doins examples/Makefile.x11
+ for f in $MY_EXAMPLES; do
+ doins examples/${f}.c
+ done
+ for f in $MY_PICS; do
+ doins examples/${f}
+ done
+
+ insopts -m0755
+ for f in $MY_EXAMPLES; do
+ doins examples/${f}
+ done
+ fi
+}