public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/tachyon: tachyon-0.98.9-r2.ebuild ChangeLog
@ 2012-03-24 16:12 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2012-03-24 16:12 UTC (permalink / raw
  To: gentoo-commits

grobian     12/03/24 16:12:53

  Modified:             tachyon-0.98.9-r2.ebuild ChangeLog
  Log:
  Add support for Darwin targets by Francois Bissey in bug #408429, marked ~x{64,86}-macos
  
  (Portage version: 2.2.01.20271-prefix/cvs/Darwin i386)

Revision  Changes    Path
1.2                  media-gfx/tachyon/tachyon-0.98.9-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild?r1=1.1&r2=1.2

Index: tachyon-0.98.9-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tachyon-0.98.9-r2.ebuild	12 Mar 2012 13:05:10 -0000	1.1
+++ tachyon-0.98.9-r2.ebuild	24 Mar 2012 16:12:53 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild,v 1.1 2012/03/12 13:05:10 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tachyon/tachyon-0.98.9-r2.ebuild,v 1.2 2012/03/24 16:12:53 grobian Exp $
 
 EAPI="4"
 
@@ -12,7 +12,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~x64-macos ~x86-macos"
 IUSE="doc examples jpeg mpi opengl png threads"
 
 CDEPEND="jpeg? ( virtual/jpeg )
@@ -34,21 +34,28 @@
 TACHYON_MAKE_TARGET=
 
 pkg_setup() {
+	local ostarget
+	case ${CHOST} in
+		powerpc*-darwin*)   ostarget=macosx      ;;
+		*86*-darwin*)       ostarget=macosx-x86  ;;
+		*)					ostarget=linux       ;;
+	esac
+
 	if use threads ; then
 		if use opengl ; then
-			TACHYON_MAKE_TARGET=linux-thr-ogl
+			TACHYON_MAKE_TARGET=${ostarget}-thr-ogl
 		elif use mpi ; then
-			TACHYON_MAKE_TARGET=linux-mpi-thr
+			TACHYON_MAKE_TARGET=${ostarget}-mpi-thr
 		else
-			TACHYON_MAKE_TARGET=linux-thr
+			TACHYON_MAKE_TARGET=${ostarget}-thr
 		fi
 
 		# TODO: Support for linux-athlon-thr ?
 	else
 		if use mpi ; then
-				TACHYON_MAKE_TARGET=linux-mpi
+			TACHYON_MAKE_TARGET=${ostarget}-mpi
 		else
-			TACHYON_MAKE_TARGET=linux
+			TACHYON_MAKE_TARGET=${ostarget}
 		fi
 	fi
 



1.6                  media-gfx/tachyon/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/tachyon/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	12 Mar 2012 13:05:10 -0000	1.5
+++ ChangeLog	24 Mar 2012 16:12:53 -0000	1.6
@@ -1,6 +1,10 @@
 # ChangeLog for media-gfx/tachyon
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tachyon/ChangeLog,v 1.5 2012/03/12 13:05:10 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tachyon/ChangeLog,v 1.6 2012/03/24 16:12:53 grobian Exp $
+
+  24 Mar 2012; Fabian Groffen <grobian@gentoo.org> tachyon-0.98.9-r2.ebuild:
+  Add support for Darwin targets by Francois Bissey in bug #408429, marked
+  ~x{64,86}-macos
 
 *tachyon-0.98.9-r2 (12 Mar 2012)
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-24 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 16:12 [gentoo-commits] gentoo-x86 commit in media-gfx/tachyon: tachyon-0.98.9-r2.ebuild ChangeLog Fabian Groffen (grobian)

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