summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2015-03-27 00:44:05 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2015-03-27 00:44:05 +0000
commite315a3f0c7b0e61082a127c0bf48bfe76d347c4b (patch)
tree974d45517dab7b37d009670f62d6fd415a726cf1 /media-libs/freeglut
parentRemove old. (diff)
downloadhistorical-e315a3f0c7b0e61082a127c0bf48bfe76d347c4b.tar.gz
historical-e315a3f0c7b0e61082a127c0bf48bfe76d347c4b.tar.bz2
historical-e315a3f0c7b0e61082a127c0bf48bfe76d347c4b.zip
Version bump. Remove old.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x2324E7B566DF2611!
Diffstat (limited to 'media-libs/freeglut')
-rw-r--r--media-libs/freeglut/ChangeLog10
-rw-r--r--media-libs/freeglut/Manifest36
-rw-r--r--media-libs/freeglut/files/2.6.0-GFX_radeon.patch28
-rw-r--r--media-libs/freeglut/freeglut-2.6.0.ebuild57
-rw-r--r--media-libs/freeglut/freeglut-2.8.0-r1.ebuild53
-rw-r--r--media-libs/freeglut/freeglut-2.8.0.ebuild50
-rw-r--r--media-libs/freeglut/freeglut-2.8.1.ebuild50
-rw-r--r--media-libs/freeglut/freeglut-3.0.0.ebuild40
-rw-r--r--media-libs/freeglut/metadata.xml6
9 files changed, 75 insertions, 255 deletions
diff --git a/media-libs/freeglut/ChangeLog b/media-libs/freeglut/ChangeLog
index 1e378fcf1c4b..dfb3a972e8e2 100644
--- a/media-libs/freeglut/ChangeLog
+++ b/media-libs/freeglut/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/freeglut
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.118 2015/03/03 08:24:11 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.119 2015/03/27 00:43:55 chithanh Exp $
+
+*freeglut-3.0.0 (27 Mar 2015)
+
+ 27 Mar 2015; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +freeglut-3.0.0.ebuild, -files/2.6.0-GFX_radeon.patch, -freeglut-2.6.0.ebuild,
+ -freeglut-2.8.0-r1.ebuild, -freeglut-2.8.0.ebuild, -freeglut-2.8.1.ebuild,
+ metadata.xml:
+ Version bump. Remove old.
03 Mar 2015; Yixun Lan <dlan@gentoo.org> freeglut-2.8.1-r1.ebuild:
add arm64 support, tested on A53 board
diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest
index 1122e0619191..552711767a98 100644
--- a/media-libs/freeglut/Manifest
+++ b/media-libs/freeglut/Manifest
@@ -1,13 +1,29 @@
-AUX 2.6.0-GFX_radeon.patch 786 SHA256 ed6642c409bc32b4ee98cd371ea3d403ce293eabf2d06aad9d9913166e62ed89 SHA512 dd449990c97ac4b40a33acbbda9a81e92b454ca5fecd2a9a54c48c7a647bd3a74f1088d173dea8883f7ce072c554a306b03fa1ea6bd24be65080662145b32cd1 WHIRLPOOL d65a6b5221edc43867229172292edbc97c3009bc61cd406113930c12a4781fdd2c81cb6617cc99fd10257b0cfb11896456704557d9e2336cb4388177d0efa27e
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX freeglut-2.4.0-bsd-usb-joystick.patch 755 SHA256 52ada965b1dc6abbb9ce0bbc00bf91452c6717b74016d21e0a10df24a0ffe83c SHA512 7aa28f277864357e9b2bb6e7fcd801bb9dd6e131fec8989aca26990cf59b60c3465030ea5068ca01cb7f46bf406c0f3fce2327affb7f288ee3026b5717717561 WHIRLPOOL 91710af0b3c06f36b65f51045e12f444329b4954268012422d0c6eafefc0a4f5f25f4b01b348256fdbce9956f766ee91773fc3cf8e28e0f9941ccd9b92930fb9
-DIST freeglut-2.6.0-mpx-r6.patch 13696 SHA256 e2936ce3cb4af219871806004d30f46d7fa9da77f66208203d566bae9e48bb5c
-DIST freeglut-2.6.0.tar.gz 1124186 SHA256 615b41edc96c405ee6bb7e9a2942642140c3e57c1dd8c68e968a17ddfb59e98f SHA512 685d55979c1fb420593d4b9f8d01ba9853288df0c3df9fa60ed9c4dfcb469dcf6c3142a9306073fac9e75fde1fb81ace325d6a9eebce227d95220e82217fda26 WHIRLPOOL 2a38c3f90b2154a255e1998944d8ec704da860451a1c3e2c7ae86a863f1ef838a9a127e3a5560784e21d2b06e7e8f1eaacf81831e9f18853a04fd72f9b00a851
-DIST freeglut-2.8.0.tar.gz 979459 SHA256 197293ff886abe613bc9eb4a762d9161b0c9e64b3e8e613ed7c5e353974fba05 SHA512 ae2918d1ed7370ba3345f6416f70678cdf2346f61ce118102dc449d365163fcf238b76474178f57687592dacf41657b064e588e378c562ce878e92eaed17a665 WHIRLPOOL a9a0de803282c501d08f3039cff487310c8889e71302aec9b8744aaf989d98110ab4aa978621af9705d9d431b3070cbbde5cdf23928e445565d4fcce7e14857f
DIST freeglut-2.8.1.tar.gz 1005343 SHA256 dde46626a62a1cd9cf48a11951cdd592e7067c345cffe193a149dfd47aef999a SHA512 935fddfa197c5f0ec74c5f2005fe5a0ebfd39f4a402cc79363da7cfe2e8576263130e44bd7e4f6c07ea53d3137bd7ca8ee8db85c0a09f25508fcf1b9ed07052e WHIRLPOOL f191f870fa85b867f17ac3b69d18be386dd020b5f9c0fbc58814718986760570aa93cf4b2790daf944587d95a60408892fe68bd56f0dcc3f0f154c8a1ae33256
-EBUILD freeglut-2.6.0.ebuild 1606 SHA256 d98b5b31671da2d456556014dd69f9f789bbfae03395284aa8d94de7a79ebac9 SHA512 f52716417f01c87bf47315b10965ab2358f6260d905041acdc3ffb3a7d6a7d6fd221dd4aeac80e12b1897d9fb2d6f96824c2910d6e892f8f530153b1ca09d70c WHIRLPOOL 1c4d11f3d15898a11261eaf7903e60471e57d09f898be78783607ed97a8b80147c1423922d215f28d39ece17b853db14e271a2ffd34cd053a0c20ad5b028950e
-EBUILD freeglut-2.8.0-r1.ebuild 1447 SHA256 5afadfb9342905b5c4d86422069c3c0b32b9facc7611807534e58cf2c128daa2 SHA512 9bfa60598f423203a01d90259b4a6fcd67e56ca784b0381369952b50b1929e85cc1915a65ee7cad8fa39ed694729d66e660ce8d2ad35e956e45ff58662be50ea WHIRLPOOL d3a0cf31b889be09776712e8554f8d190d37720369a9ed486d4c38e17d85b76369e522f205c053088e0f9041105874c7a16edce3a2a25406c178a65ed15d66ac
-EBUILD freeglut-2.8.0.ebuild 1313 SHA256 e716c7a490080c1359f91004bfe074c3d5dfe23d59ff593582a56b6212cface0 SHA512 e901b3bbe3735475c705fa7efdd3d45860d8da0cc709ae4981ab9dfc849fde1a7653ceba0af4e4fb46e5c263da112d096349ab27f1733e63c49fe7ad2b9ff14c WHIRLPOOL 24bbb20915f7e9fdd4df523596ea10a8b162a1d99b59d27787c04b9fda2f24510bcad71942642e88cd4e4865ac4bbb2f77b81cd570c34f0e71f96927262417ac
+DIST freeglut-3.0.0.tar.gz 419095 SHA256 2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2 SHA512 9c45d5b203b26a7ff92331b3e080a48e806c92fbbe7c65d9262dd18c39cd6efdad8a795a80f499a2d23df84b4909dbd7c1bab20d7dd3555d3d88782ce9dd15b0 WHIRLPOOL 15ff1910fbb1bbcc2017da15c7d8b3436d543bd1901007e66159645560c5811eeb5da8f757a83d4503c37db4158ad3b61889a8976ddd3231213c427c4982fcbd
EBUILD freeglut-2.8.1-r1.ebuild 1355 SHA256 e7def125110ca8ce9c96a0eae4ac4eadfbd39735d16280434d8861115de95386 SHA512 203ec905d189821dec5d14858aee7be590baaf85390f48685c3516881789363984312523b9da9e1444a5c713a0616cf89e73efecf66d85f1290e47535ae31a2b WHIRLPOOL c26ec81a3dca7b5bcf44b77b8331d38c0f27186c9360238617b5dd95217838fdcc87bb52b89ab8a2eafd8d1273ace9cefa6aef75b48f2c6e486df5b0e819eb3d
-EBUILD freeglut-2.8.1.ebuild 1316 SHA256 1d0ba40b607c9ff6ba0d4c27824a1fcc69c589655e4304be098d649c2c4e76a6 SHA512 8eb2b04d703debd7b46f0b75bd301df223786c04f355cdc68ae7ac7d547e89d5d26f02fa49b51e09143465483d6ab37d23fe0897484837646438abb8b63c759a WHIRLPOOL 508feaa5a30960b31581630149c3d1921016e32a7ad3c9e0011d4f386ce69113c767695f79863350fd7416291f518aed4767a3c82e4ff5838c323c17c0bb5271
-MISC ChangeLog 14514 SHA256 14c5ce5119c7ffa41580233544700ca4c03453270bafbde6d8b2c80e48848855 SHA512 875cc6da0ed45c01ce952b36198456fc8253e6be17242b31e1a0d7e6e45b6679e83385cdd60d021666fca3109572eb7a0cd672ce28e7dd356913fba1c9c69ca5 WHIRLPOOL c496512eb7c8bbc1e540dadab8808ec3d4cd379abcf5c253b4f24fdbaa3db282172b49e712903ab1d3d75a9baa8dad474817f5d0d3126c296ae22d7a19cfd3f4
-MISC metadata.xml 489 SHA256 177d737b92192f5b623a248d0266c7b60173af108ba2497d0b54e0b59af197a3 SHA512 790314a48edba6bb3679cf120858597ff644e416b85d361d8c6bc9ad338c46f742a542c746e3cbbb81aefbbe0bf2637cbe326edf24699eb042cd8b28ead00fe0 WHIRLPOOL dfb5d298177d63564f3b32e8c51a614d38d1ff81ee5c7f93a8f967e7f98ec93d765384e011d05348808300a3918090807a62fc7138162d2187cf833cc4d4ffe3
+EBUILD freeglut-3.0.0.ebuild 1431 SHA256 4a1f584c415aa9eaa2ad7b338778b53f039b484fab15e79bfcf92d8536b1661b SHA512 55aed97679af6b9d0628608cffd13e4313f6a22b6b805e0d517942221612ac1cd2b735100723d8baf2b18841f7fad97e9eda04c344c4d4ad80938ae960661bfa WHIRLPOOL 45ad40b27c721d5b9144fb15f69c5f67e37ea027792ab7b073d66f594112c9b06a4d284a62086ddcfbb70e8ec22f6b5b1341779474b853ebc97db62a8851c34b
+MISC ChangeLog 14821 SHA256 03e64c2ffa6da469a1150db7d2a3a5ab472f68344d42b0ca8d2b81d8ac9aa4f5 SHA512 ff7676886e00314c2587ef451ad525bb00fdd975fa3a714eb7bae669d83280efdfd659a3903b6c45dc75e43ed294ef3dcf57d4490f0e08aeb7a4079fa65eac5a WHIRLPOOL 811ba130ff309173ed6dbb949f4e9d09741a089b55869afa9b0c4ab8bdc969bae9508fde8a677450d15e64f404cb2d9fcb22e4f7d0d474c3d92777441270ca08
+MISC metadata.xml 371 SHA256 ddd53f7b32622f681049125e5b10100921ec3f00df6771649c6c81e1ba2a58cd SHA512 90b36f9ce1078736a23080eed5a96342a9a6603b8577362acfb9c1199bb73a75e9d41767a273c7dc80aacff18632c9a1a8cc7f2030b9166b1007aecc6361aa72 WHIRLPOOL 2796b4b2e520d68849f9352415f6c90320e0aa45e814e6c614a8c048a8a7c60c296f8eda5058167ff41f3eb79b9cde72be4db02569f6119142ded941168e9c99
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0
+
+iQJ8BAEBCABmBQJVFKfqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1RDFCODdDQUUxMkUwNkJCNjUyMDMxOEIy
+MzI0RTdCNTY2REYyNjExAAoJECMk57Vm3yYRq/MP/0/lW/ScpevBTa4xA359mZPY
+vF/cz0052/A3fJ+i8zMlLN9DlxFbCbOZzONkNZrisckLJcZINnYYvmeRKdU0xjER
+oKty2XbBa926Pr5F5DQdryi5T07yH4krC5fRt0er0cjQRBSEqzZ9dOLQM1NZTYNQ
+39wyfv+iJmGvk+DPyb7eVtwEbhFaFUO2XkhwuNtZQq4xM59EBegQ4O+7Uk1FG0/o
+u9cqL/pK+6MlgZJoEZ5q9ZFBxVt6NK1lEvfltZmrZMnPAd6JWBcEie3UGcUMFBav
+VHT3iMr7cJQKlYLtErcOXmKJWC31mdwt/jC9XIoRYPbfu8DMvXpJJVqVF4RBh3uu
+WKaIrWizKlrFZ+S2ODy74Zwtyli5BpPopqV2T9KjMKqQs0C63XA37RJOfJaI3bTp
+45QHMLKjz0lhknfeJsSpXlXzlhWfNrnk7G/SqIhda/cSsBYsot2RUq/A0IEE1WO2
+r40N0VIhSaz1q0teAUQmGWmalzAgGNiD521Pe3a8OIRAJjGNOX4o65GhJlZck2qk
+zzFsVHznbwXuqahie1euNdnZ4zmlwAi7WsnFXirPpbIkGgUI1uvEtqu1tnFzQ20i
+Faoern8m5o5VRqHRPqp+AVaN6iFX75y55DYRQDTzRvjrZI062qWuhrtED4WEqhbV
+cTJtlyy9KXFX1rm1PGuL
+=YnFt
+-----END PGP SIGNATURE-----
diff --git a/media-libs/freeglut/files/2.6.0-GFX_radeon.patch b/media-libs/freeglut/files/2.6.0-GFX_radeon.patch
deleted file mode 100644
index 8806fe849cb5..000000000000
--- a/media-libs/freeglut/files/2.6.0-GFX_radeon.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: src/freeglut_window.c
-===================================================================
---- src/freeglut_window.c (Revision 832)
-+++ src/freeglut_window.c (Arbeitskopie)
-@@ -594,10 +594,9 @@
- #if TARGET_HOST_POSIX_X11
- if ( window )
- {
-- glXMakeContextCurrent(
-+ glXMakeCurrent(
- fgDisplay.Display,
- window->Window.Handle,
-- window->Window.Handle,
- window->Window.Context
- );
-
-@@ -932,10 +932,9 @@
- XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
- &fgDisplay.DeleteWindow, 1 );
-
-- glXMakeContextCurrent(
-+ glXMakeCurrent(
- fgDisplay.Display,
- window->Window.Handle,
-- window->Window.Handle,
- window->Window.Context
- );
-
diff --git a/media-libs/freeglut/freeglut-2.6.0.ebuild b/media-libs/freeglut/freeglut-2.6.0.ebuild
deleted file mode 100644
index bbaebe6cef5a..000000000000
--- a/media-libs/freeglut/freeglut-2.6.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.6.0.ebuild,v 1.14 2011/04/04 18:46:24 scarabeus Exp $
-
-EAPI=3
-
-inherit eutils flag-o-matic libtool autotools
-
-DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library"
-HOMEPAGE="http://freeglut.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freeglut/${P/_/-}.tar.gz
- mpx? ( http://tisch.sourceforge.net/freeglut-2.6.0-mpx-r6.patch )"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="debug mpx static-libs"
-
-RDEPEND="
- virtual/opengl
- virtual/glu
- >=x11-libs/libXi-1.3
- x11-libs/libXxf86vm
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P/_*/}"
-
-src_prepare() {
- epatch "${FILESDIR}/${PV}-GFX_radeon.patch"
-
- use mpx && epatch "${DISTDIR}/${P}-mpx-r6.patch"
-
- # Please read the comments in the patch before thinking about dropping it
- # yet again...
- epatch "${FILESDIR}/${PN}-2.4.0-bsd-usb-joystick.patch"
-
- eautoreconf
- # Needed for sane .so versionning on bsd, please don't drop
- elibtoolize
-}
-
-src_configure() {
- econf \
- --disable-warnings \
- --disable-warnings-as-errors \
- --enable-replace-glut \
- $(use_enable static-libs static) \
- $(use_enable debug)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
- dohtml -r doc/*.html doc/*.png || die "dohtml failed"
- find "${ED}" -name '*.la' -delete
-}
diff --git a/media-libs/freeglut/freeglut-2.8.0-r1.ebuild b/media-libs/freeglut/freeglut-2.8.0-r1.ebuild
deleted file mode 100644
index cbd06a069fa3..000000000000
--- a/media-libs/freeglut/freeglut-2.8.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.8.0-r1.ebuild,v 1.8 2013/03/03 13:01:44 vapier Exp $
-
-EAPI=4
-inherit eutils libtool
-
-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 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
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXext
- >=x11-libs/libXi-1.3
- x11-libs/libXrandr
- x11-libs/libXxf86vm"
-DEPEND="${RDEPEND}
- x11-proto/inputproto
- x11-proto/xproto"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-src_prepare() {
- # Please read the comments in the patch before thinking about dropping it
- # yet again...
- epatch "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch
-
- # smooth_opengl3 demo doesn't build with recent mesa, bug #428382
- sed -i "s/smooth_opengl3 //" progs/demos/Makefile.* || die
-
- # Needed for sane .so versionning on bsd, please don't drop
- elibtoolize
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --enable-replace-glut \
- $(use_enable debug)
-}
-
-src_install() {
- default
- dohtml -r doc
- find "${ED}" -name '*.la' -exec rm -f {} +
-}
diff --git a/media-libs/freeglut/freeglut-2.8.0.ebuild b/media-libs/freeglut/freeglut-2.8.0.ebuild
deleted file mode 100644
index 5a31895dc70f..000000000000
--- a/media-libs/freeglut/freeglut-2.8.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.8.0.ebuild,v 1.9 2012/05/10 18:28:01 aballier Exp $
-
-EAPI=4
-inherit eutils libtool
-
-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 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="debug static-libs"
-
-RDEPEND="virtual/glu
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXext
- >=x11-libs/libXi-1.3
- x11-libs/libXrandr
- x11-libs/libXxf86vm"
-DEPEND="${RDEPEND}
- x11-proto/inputproto
- x11-proto/xproto"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-src_prepare() {
- # Please read the comments in the patch before thinking about dropping it
- # yet again...
- epatch "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch
-
- # Needed for sane .so versionning on bsd, please don't drop
- elibtoolize
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --enable-replace-glut \
- $(use_enable debug)
-}
-
-src_install() {
- default
- dohtml -r doc
- find "${ED}" -name '*.la' -exec rm -f {} +
-}
diff --git a/media-libs/freeglut/freeglut-2.8.1.ebuild b/media-libs/freeglut/freeglut-2.8.1.ebuild
deleted file mode 100644
index 39fc4e850379..000000000000
--- a/media-libs/freeglut/freeglut-2.8.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.8.1.ebuild,v 1.10 2013/10/08 05:02:03 ago Exp $
-
-EAPI=5
-inherit eutils libtool
-
-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 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
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXext
- >=x11-libs/libXi-1.3
- x11-libs/libXrandr
- x11-libs/libXxf86vm"
-DEPEND="${RDEPEND}
- x11-proto/inputproto
- x11-proto/xproto"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-src_prepare() {
- # Please read the comments in the patch before thinking about dropping it
- # yet again...
- epatch "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch
-
- # Needed for sane .so versionning on bsd, please don't drop
- elibtoolize
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --enable-replace-glut \
- $(use_enable debug)
-}
-
-src_install() {
- default
- dohtml -r doc
- find "${ED}" -name '*.la' -exec rm -f {} +
-}
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..bafd0c8d9282
--- /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
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-3.0.0.ebuild,v 1.1 2015/03/27 00:43:55 chithanh Exp $
+
+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
index ac6ab69abc52..f5aefb9652d6 100644
--- a/media-libs/freeglut/metadata.xml
+++ b/media-libs/freeglut/metadata.xml
@@ -2,12 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>x11</herd>
-<use>
- <flag name="mpx">
- Enable support for multi-pointer-X. One pointer for each pointer
- device.
- </flag>
-</use>
<longdescription>
Freeglut provides an open-source alternative to the OpenGL Utility Toolkit
(GLUT) library. It is actively developed and maintained, while not being