diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/freeglut | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/freeglut')
-rw-r--r-- | media-libs/freeglut/Manifest | 2 | ||||
-rw-r--r-- | media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch | 16 | ||||
-rw-r--r-- | media-libs/freeglut/freeglut-2.8.1-r1.ebuild | 36 | ||||
-rw-r--r-- | media-libs/freeglut/freeglut-3.0.0.ebuild | 40 | ||||
-rw-r--r-- | media-libs/freeglut/metadata.xml | 13 |
5 files changed, 107 insertions, 0 deletions
diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest new file mode 100644 index 000000000000..0a15bde2c8b4 --- /dev/null +++ b/media-libs/freeglut/Manifest @@ -0,0 +1,2 @@ +DIST freeglut-2.8.1.tar.gz 1005343 SHA256 dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a SHA512 935fddfa197c5f0ec74c5f2005fe5a0ebfd39f4a402cc79363da7cfe2e8576263130e44bd7e4f6c07ea53d3137bd7ca8ee8db85c0a09f25508fcf1b9ed07052e WHIRLPOOL f191f870fa85b867f17ac3b69d18be386dd020b5f9c0fbc58814718986760570aa93cf4b2790daf944587d95a60408892fe68bd56f0dcc3f0f154c8a1ae33256 +DIST freeglut-3.0.0.tar.gz 419095 SHA256 2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2 SHA512 9c45d5b203b26a7ff92331b3e080a48e806c92fbbe7c65d9262dd18c39cd6efdad8a795a80f499a2d23df84b4909dbd7c1bab20d7dd3555d3d88782ce9dd15b0 WHIRLPOOL 15ff1910fbb1bbcc2017da15c7d8b3436d543bd1901007e66159645560c5811eeb5da8f757a83d4503c37db4158ad3b61889a8976ddd3231213c427c4982fcbd diff --git a/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch b/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch new file mode 100644 index 000000000000..08aa1326ebc5 --- /dev/null +++ b/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch @@ -0,0 +1,16 @@ +We disable BSD usb joystick support until upstream has a better support for it +so that it can at least build. For now it builds but does not link to libusbhid +so that libglut.so has undefined references to hid_* symbols and causes linking +errors later on in the build process. + +--- freeglut-2.4.0/src/freeglut_joystick.c.old 2008-08-08 15:26:15 +0000 ++++ freeglut-2.4.0/src/freeglut_joystick.c 2008-08-08 15:26:32 +0000 +@@ -78,7 +78,7 @@ + # include <errno.h> + # if defined(__FreeBSD__) || defined(__NetBSD__) + /* XXX The below hack is done until freeglut's autoconf is updated. */ +-# define HAVE_USB_JS 1 ++# undef HAVE_USB_JS + + # if defined(__FreeBSD__) && __FreeBSD_version >= 500000 + # include <sys/joystick.h> diff --git a/media-libs/freeglut/freeglut-2.8.1-r1.ebuild b/media-libs/freeglut/freeglut-2.8.1-r1.ebuild new file mode 100644 index 000000000000..1b5d167f04cb --- /dev/null +++ b/media-libs/freeglut/freeglut-2.8.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools-multilib + +DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library" +HOMEPAGE="http://freeglut.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug static-libs" + +RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=x11-proto/inputproto-2.3[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]" + +PATCHES=( + # Please read the comments in the patch before thinking about dropping it + # yet again... + "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch +) + +HTML_DOCS=( doc/. ) diff --git a/media-libs/freeglut/freeglut-3.0.0.ebuild b/media-libs/freeglut/freeglut-3.0.0.ebuild new file mode 100644 index 000000000000..0a07712eb63c --- /dev/null +++ b/media-libs/freeglut/freeglut-3.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-multilib + +DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library" +HOMEPAGE="http://freeglut.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="debug static-libs" + +# enabling GLES support seems to cause build failures +RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] + abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )" +# gles? ( media-libs/mesa[gles1,${MULTILIB_USEDEP}] ) +DEPEND="${RDEPEND} + virtual/pkgconfig + >=x11-proto/inputproto-2.3[${MULTILIB_USEDEP}] + >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]" + +HTML_DOCS=( doc/. ) + +src_configure() { + local mycmakeargs=( + "-DFREEGLUT_GLES=OFF" + ) +# $(cmake-utils_use gles FREEGLUT_GLES) + cmake-multilib_src_configure +} diff --git a/media-libs/freeglut/metadata.xml b/media-libs/freeglut/metadata.xml new file mode 100644 index 000000000000..2bac441ccc74 --- /dev/null +++ b/media-libs/freeglut/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>x11</herd> + <longdescription> + Freeglut provides an open-source alternative to the OpenGL Utility Toolkit + (GLUT) library. It is actively developed and maintained, while not being + restricted by its license. +</longdescription> + <upstream> + <remote-id type="sourceforge">freeglut</remote-id> + </upstream> +</pkgmetadata> |