diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-01-24 18:58:57 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-01-24 18:58:57 +0000 |
commit | 1fc072ee0f1adf29be6d7768ead1d391b7dd957d (patch) | |
tree | be505a59780962c113646d35a3a533e4778f91e7 /media-libs/opengl-apple | |
parent | Remove redundant <name> tag. (diff) | |
download | historical-1fc072ee0f1adf29be6d7768ead1d391b7dd957d.tar.gz historical-1fc072ee0f1adf29be6d7768ead1d391b7dd957d.tar.bz2 historical-1fc072ee0f1adf29be6d7768ead1d391b7dd957d.zip |
Import opengl-apple from the Prefix tree (formerly known as apple-opengl)
Package-Manager: portage-2.2.00.15200-prefix/cvs/Darwin powerpc
Diffstat (limited to 'media-libs/opengl-apple')
-rw-r--r-- | media-libs/opengl-apple/ChangeLog | 39 | ||||
-rw-r--r-- | media-libs/opengl-apple/Manifest | 3 | ||||
-rw-r--r-- | media-libs/opengl-apple/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/opengl-apple/opengl-apple-3.ebuild | 55 |
4 files changed, 102 insertions, 0 deletions
diff --git a/media-libs/opengl-apple/ChangeLog b/media-libs/opengl-apple/ChangeLog new file mode 100644 index 000000000000..dd27ae146960 --- /dev/null +++ b/media-libs/opengl-apple/ChangeLog @@ -0,0 +1,39 @@ +# ChangeLog for media-libs/opengl-apple +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Id: ChangeLog,v 1.1 2010/01/24 18:58:57 grobian Exp $ + +*opengl-apple-3 (24 Jan 2010) + + 24 Jan 2010; Fabian Groffen <grobian@gentoo.org> +opengl-apple-3.ebuild, + +metadata.xml: + Renamed to opengl-apple for consistency with other -apple packages, + imported in gentoo-x86. + +*apple-opengl-3 (14 Dec 2009) + + 14 Dec 2009; Fabian Groffen <grobian@gentoo.org> +apple-opengl-3.ebuild: + Version bump, drop Apple OpenGL Framework stuff, and only link to X11 + stuff. This fixes freeglut-2.6 compilation, but most importantly, it seems + opengl is always meant to be the X11/Xorg variant, since otherwise the + framework will be used instead. + + 11 Apr 2009; Fabian Groffen <grobian@gentoo.org> +metadata.xml, + apple-opengl-2.ebuild: + Removed EAPI="prefix", added metadata.xml + +*apple-opengl-2 (09 Nov 2008) + + 09 Nov 2008; Fabian Groffen <grobian@gentoo.org> -apple-opengl-1.ebuild, + +apple-opengl-2.ebuild: + Bump, heiko_ complains that we conflict with x11-proto/glproto, so depend on + it, and remove the conflicting files + + 09 Nov 2008; Fabian Groffen <grobian@gentoo.org> apple-opengl-1.ebuild: + also add GLw + + 09 Nov 2008; Fabian Groffen <grobian@gentoo.org> apple-opengl-1.ebuild: + Include glx.h and versioned libraries from /usr/X11R6 + + 09 Nov 2008; Fabian Groffen <grobian@gentoo.org> ChangeLog: + initial version of opengl wrapper around the Apple Framework + diff --git a/media-libs/opengl-apple/Manifest b/media-libs/opengl-apple/Manifest new file mode 100644 index 000000000000..11ba70ccf869 --- /dev/null +++ b/media-libs/opengl-apple/Manifest @@ -0,0 +1,3 @@ +EBUILD opengl-apple-3.ebuild 1741 RMD160 dec971387850f1df8c1aa1b9cafa0e1ae67dbb0b SHA1 8850685ab990223e9414510e76268f38598d478d SHA256 866de43cbd4dd9c8c4d03f684eac90ce0d316a71519fd4ac97e784dc950e802c +MISC ChangeLog 1485 RMD160 1fb2f7b5d2df8c4bee6fa886e17442e1749b6c03 SHA1 e91f1454191cd56aa6e1d5a4d3dd3dd25b6fcca0 SHA256 3dbb10e4272b2ca4847cf79c67a8ec723577c252bc43a1abb41b66a2d2a6c515 +MISC metadata.xml 161 RMD160 6c29747dbb0db1b73447a647429f26ee2f888de6 SHA1 f3516c315c02c36a8ab630c8019d0d88a4507ef0 SHA256 eac14dbe95ed36c1455585d4c47b5f4ce921e4d5cc459f2f49c703926f4a91c0 diff --git a/media-libs/opengl-apple/metadata.xml b/media-libs/opengl-apple/metadata.xml new file mode 100644 index 000000000000..f737f232e3bf --- /dev/null +++ b/media-libs/opengl-apple/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>prefix</herd> +</pkgmetadata> diff --git a/media-libs/opengl-apple/opengl-apple-3.ebuild b/media-libs/opengl-apple/opengl-apple-3.ebuild new file mode 100644 index 000000000000..46281d06dfd0 --- /dev/null +++ b/media-libs/opengl-apple/opengl-apple-3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: opengl-apple-3.ebuild,v 1.1 2010/01/24 18:58:57 grobian Exp $ + +#EAPI="3" + +DESCRIPTION="Links to Apple's OpenGL X11 implementation" +HOMEPAGE="http://www.apple.com/" +LICENSE="as-is" +KEYWORDS="-* ~ppc-macos ~x64-macos ~x86-macos" +SLOT=0 +IUSE="doc" + +DEPEND=">=app-admin/eselect-opengl-1.0.6-r01.1 + doc? ( app-doc/opengl-manpages ) + x11-proto/glproto" +RDEPEND="${DEPEND}" + +X11_OPENGL_DIR="/usr/X11R6" + +pkg_setup() { + [[ ! -d ${X11_OPENGL_DIR} ]] && \ + die "${X11_OPENGL_DIR} not found, do you have X11/Xquartz installed?" +} + +src_install() { + dodir /usr/lib/opengl/${PN}/{lib,include} + dodir /usr/include/GL + + cd "${ED}"/usr/lib/opengl/${PN}/include || die + ln -s "${X11_OPENGL_DIR}"/include/GL/gl.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glext.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glx.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glxext.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glxmd.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glxproto.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glxtokens.h || die + cd "${ED}"/usr/lib/opengl/${PN}/lib || die + ln -s "${X11_OPENGL_DIR}"/lib/libGL.dylib || die + + cd "${ED}"/usr/include/GL || die + ln -s "${X11_OPENGL_DIR}"/include/GL/glu.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/GLwDrawA.h || die + ln -s "${X11_OPENGL_DIR}"/include/GL/osmesa.h || die + cd "${ED}"/usr/lib || die + ln -s "${X11_OPENGL_DIR}"/lib/libGLU.dylib || die + ln -s "${X11_OPENGL_DIR}"/lib/libGLw.a || die +} + +pkg_postinst() { + # Set as default VM if none exists + eselect opengl set ${PN} + + elog "Note: you're using your OSX (pre-)installed OpenGL X11 implementation from ${X11_OPENGL_DIR}" +} |