public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2007-11-11  7:34 Alfredo Tupone (tupone)
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone (tupone) @ 2007-11-11  7:34 UTC (permalink / raw
  To: gentoo-commits

tupone      07/11/11 07:34:20

  Modified:             ChangeLog
  Added:                glfw-2.6.ebuild
  Log:
  Version bump. Request bug #195262
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.8                  media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	22 Jul 2007 09:39:56 -0000	1.7
+++ ChangeLog	11 Nov 2007 07:34:19 -0000	1.8
@@ -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.



1.1                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.1&content-type=text/plain

Index: glfw-2.6.ebuild
===================================================================
# 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
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2009-02-22 22:08 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2009-02-22 22:08 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    09/02/22 22:08:57

  Modified:             ChangeLog glfw-2.6.ebuild
  Log:
  EAPI=2; call get_libdir; install pkgconfig file; patch submitted by Nathan Brink via bug #259780
  (Portage version: 2.1.6.7/cvs/Linux i686)

Revision  Changes    Path
1.9                  media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	11 Nov 2007 07:34:19 -0000	1.8
+++ ChangeLog	22 Feb 2009 22:08:57 -0000	1.9
@@ -1,6 +1,10 @@
 # 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.8 2007/11/11 07:34:19 tupone Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.9 2009/02/22 22:08:57 mr_bones_ Exp $
+
+  22 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> glfw-2.6.ebuild:
+  EAPI=2; call get_libdir; install pkgconfig file; patch submitted by Nathan
+  Brink via bug #259780
 
 *glfw-2.6 (11 Nov 2007)
 



1.2                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?r1=1.1&r2=1.2

Index: glfw-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- glfw-2.6.ebuild	11 Nov 2007 07:34:19 -0000	1.1
+++ glfw-2.6.ebuild	22 Feb 2009 22:08:57 -0000	1.2
@@ -1,8 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.2 2009/02/22 22:08:57 mr_bones_ Exp $
 
-inherit eutils
+EAPI=2
+inherit eutils toolchain-funcs
 
 DESCRIPTION="The Portable OpenGL FrameWork"
 HOMEPAGE="http://glfw.sourceforge.net/"
@@ -18,9 +19,7 @@
 
 S=${WORKDIR}/${PN}
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+src_prepare() {
 	sed -i \
 		-e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \
 		readme.html \
@@ -30,13 +29,16 @@
 
 src_compile() {
 	emake x11 || die "emake failed"
+	emake -C lib/x11 PREFIX=/usr -f Makefile.x11 libglfw.pc || die "emake libglfw.pc 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
+	dosym libglfw.so.2.6 /usr/$(get_libdir)/libglfw.so
 
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins lib/x11/libglfw.pc || die "doins failed"
 	insinto /usr/include/GL
 	doins include/GL/glfw.h || die "doins failed"
 	dohtml -r readme.html






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2010-01-03 21:35 Christian Faulhammer (fauli)
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Faulhammer (fauli) @ 2010-01-03 21:35 UTC (permalink / raw
  To: gentoo-commits

fauli       10/01/03 21:35:55

  Modified:             ChangeLog glfw-2.6.ebuild
  Log:
  stable x86, bug 283955
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.10                 media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	22 Feb 2009 22:08:57 -0000	1.9
+++ ChangeLog	3 Jan 2010 21:35:54 -0000	1.10
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/glfw
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.9 2009/02/22 22:08:57 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.10 2010/01/03 21:35:54 fauli Exp $
+
+  03 Jan 2010; Christian Faulhammer <fauli@gentoo.org> glfw-2.6.ebuild:
+  stable x86, bug 283955
 
   22 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> glfw-2.6.ebuild:
   EAPI=2; call get_libdir; install pkgconfig file; patch submitted by Nathan



1.4                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?r1=1.3&r2=1.4

Index: glfw-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- glfw-2.6.ebuild	22 Feb 2009 22:10:41 -0000	1.3
+++ glfw-2.6.ebuild	3 Jan 2010 21:35:54 -0000	1.4
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.3 2009/02/22 22:10:41 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.4 2010/01/03 21:35:54 fauli Exp $
 
 EAPI=2
 inherit eutils multilib
@@ -11,7 +11,7 @@
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="examples"
 
 DEPEND="x11-libs/libXrandr






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2010-01-05 13:35 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras (hwoarang) @ 2010-01-05 13:35 UTC (permalink / raw
  To: gentoo-commits

hwoarang    10/01/05 13:35:32

  Modified:             ChangeLog glfw-2.6.ebuild
  Log:
  Stable on amd64 wrt bug #283955
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	3 Jan 2010 21:35:54 -0000	1.10
+++ ChangeLog	5 Jan 2010 13:35:31 -0000	1.11
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/glfw
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.10 2010/01/03 21:35:54 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.11 2010/01/05 13:35:31 hwoarang Exp $
+
+  05 Jan 2010; <hwoarang@gentoo.org> glfw-2.6.ebuild:
+  Stable on amd64 wrt bug #283955
 
   03 Jan 2010; Christian Faulhammer <fauli@gentoo.org> glfw-2.6.ebuild:
   stable x86, bug 283955



1.5                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?r1=1.4&r2=1.5

Index: glfw-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- glfw-2.6.ebuild	3 Jan 2010 21:35:54 -0000	1.4
+++ glfw-2.6.ebuild	5 Jan 2010 13:35:31 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 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.4 2010/01/03 21:35:54 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.5 2010/01/05 13:35:31 hwoarang Exp $
 
 EAPI=2
 inherit eutils multilib
@@ -11,7 +11,7 @@
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="examples"
 
 DEPEND="x11-libs/libXrandr






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2010-09-13 12:09 Alfredo Tupone (tupone)
  0 siblings, 0 replies; 6+ messages in thread
From: Alfredo Tupone (tupone) @ 2010-09-13 12:09 UTC (permalink / raw
  To: gentoo-commits

tupone      10/09/13 12:09:46

  Modified:             ChangeLog glfw-2.6.ebuild
  Log:
  Respect LDFLAGS. Bug #336991
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.12                 media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	5 Jan 2010 13:35:31 -0000	1.11
+++ ChangeLog	13 Sep 2010 12:09:46 -0000	1.12
@@ -1,6 +1,10 @@
 # ChangeLog for media-libs/glfw
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.11 2010/01/05 13:35:31 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.12 2010/09/13 12:09:46 tupone Exp $
+
+  13 Sep 2010; Tupone Alfredo <tupone@gentoo.org> glfw-2.6.ebuild,
+  +files/glfw-2.6-ldflags.patch:
+  Respect LDFLAGS. Bug #336991 by flameeyes@gentoo.org
 
   05 Jan 2010; <hwoarang@gentoo.org> glfw-2.6.ebuild:
   Stable on amd64 wrt bug #283955



1.6                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?r1=1.5&r2=1.6

Index: glfw-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- glfw-2.6.ebuild	5 Jan 2010 13:35:31 -0000	1.5
+++ glfw-2.6.ebuild	13 Sep 2010 12:09:46 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 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.5 2010/01/05 13:35:31 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.6 2010/09/13 12:09:46 tupone Exp $
 
 EAPI=2
 inherit eutils multilib
@@ -24,12 +24,16 @@
 		-e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \
 		readme.html \
 		|| die "sed failed"
-	epatch "${FILESDIR}/${P}"-dyn.patch
+	epatch "${FILESDIR}/${P}"-dyn.patch \
+		"${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_configure() {
+	sh ./compile.sh
 }
 
 src_compile() {
-	emake x11 || die "emake failed"
-	emake -C lib/x11 PREFIX=/usr -f Makefile.x11 libglfw.pc || die "emake libglfw.pc failed"
+	emake -C lib/x11 PREFIX=/usr -f Makefile.x11 default libglfw.pc || die "emake failed"
 }
 
 src_install() {






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild
@ 2012-11-14 23:31 Julian Ospald (hasufell)
  0 siblings, 0 replies; 6+ messages in thread
From: Julian Ospald (hasufell) @ 2012-11-14 23:31 UTC (permalink / raw
  To: gentoo-commits

hasufell    12/11/14 23:31:43

  Modified:             ChangeLog glfw-2.6.ebuild
  Log:
  respect CFLAGS, CC, AR and whatnot wrt #442740
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.14                 media-libs/glfw/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	18 Oct 2012 20:35:22 -0000	1.13
+++ ChangeLog	14 Nov 2012 23:31:43 -0000	1.14
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/glfw
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.13 2012/10/18 20:35:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.14 2012/11/14 23:31:43 hasufell Exp $
+
+  14 Nov 2012; Julian Ospald <hasufell@gentoo.org> glfw-2.6.ebuild:
+  respect CFLAGS, CC, AR and whatnot wrt #442740
 
   18 Oct 2012; Michael Sterrett <mr_bones_@gentoo.org> glfw-2.6.ebuild:
   add virtual/glu dep (bug #438828)



1.8                  media-libs/glfw/glfw-2.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild?r1=1.7&r2=1.8

Index: glfw-2.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- glfw-2.6.ebuild	18 Oct 2012 20:35:22 -0000	1.7
+++ glfw-2.6.ebuild	14 Nov 2012 23:31:43 -0000	1.8
@@ -1,9 +1,9 @@
 # Copyright 1999-2012 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.7 2012/10/18 20:35:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-2.6.ebuild,v 1.8 2012/11/14 23:31:43 hasufell Exp $
 
 EAPI=2
-inherit eutils multilib
+inherit eutils multilib toolchain-funcs
 
 DESCRIPTION="The Portable OpenGL FrameWork"
 HOMEPAGE="http://glfw.sourceforge.net/"
@@ -25,8 +25,21 @@
 		-e "s:\"docs/:\"/usr/share/doc/${PF}/pdf/:" \
 		readme.html \
 		|| die "sed failed"
+
+	# respect cflags
+	sed -i \
+		-e "/CFLAGS/s#-Os#${CFLAGS}#" \
+		compile.sh \
+		|| die "sed compile.sh failed"
+
 	epatch "${FILESDIR}/${P}"-dyn.patch \
 		"${FILESDIR}"/${P}-ldflags.patch
+
+	# respect cflags in linking command as well
+	sed -i \
+		-e "/^libglfw.so/{n;s/\$(CC)/\$(CC) ${CFLAGS}/;}" \
+		lib/x11/Makefile.x11.in \
+		|| die "sed Makefile.x11.in failed"
 }
 
 src_configure() {
@@ -34,7 +47,7 @@
 }
 
 src_compile() {
-	emake -C lib/x11 PREFIX=/usr -f Makefile.x11 default libglfw.pc || die "emake failed"
+	emake -C lib/x11 AR=$(tc-getAR) CC=$(tc-getCC) PREFIX=/usr -f Makefile.x11 default libglfw.pc || die "emake failed"
 }
 
 src_install() {





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-14 23:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13 12:09 [gentoo-commits] gentoo-x86 commit in media-libs/glfw: ChangeLog glfw-2.6.ebuild Alfredo Tupone (tupone)
  -- strict thread matches above, loose matches on Subject: below --
2012-11-14 23:31 Julian Ospald (hasufell)
2010-01-05 13:35 Markos Chandras (hwoarang)
2010-01-03 21:35 Christian Faulhammer (fauli)
2009-02-22 22:08 Michael Sterrett (mr_bones_)
2007-11-11  7:34 Alfredo Tupone (tupone)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox