summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2008-05-24 16:35:47 -0400
committerJames Cloos <cloos@jhcloos.com>2008-05-24 16:35:47 -0400
commit848df8007286058ab56d611f7a57105d90005f23 (patch)
tree4619da4af57c76f88ec9e68dc73677b20289eb11
parent1654003e72f96c7fbf043f793cb557082601bac7 (diff)
Sync with x11 proj overlay: remove media-libs/mesa-glcore
-rw-r--r--media-libs/mesa-glcore/Manifest1
-rw-r--r--media-libs/mesa-glcore/mesa-glcore-9999.ebuild81
2 files changed, 0 insertions, 82 deletions
diff --git a/media-libs/mesa-glcore/Manifest b/media-libs/mesa-glcore/Manifest
deleted file mode 100644
index d5774c5..0000000
--- a/media-libs/mesa-glcore/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-EBUILD mesa-glcore-9999.ebuild 2036 RMD160 bc5a77a7ec2672204ef10d1f7da8fd224ad9a1a5 SHA1 cac26778f46acec956e894c65ec4742c1079fb7e SHA256 e447f7e0326cedfdc1ba52b15749406aca187dce4aa652d94f465ffa31b971bf
diff --git a/media-libs/mesa-glcore/mesa-glcore-9999.ebuild b/media-libs/mesa-glcore/mesa-glcore-9999.ebuild
deleted file mode 100644
index eabdba3..0000000
--- a/media-libs/mesa-glcore/mesa-glcore-9999.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-7.0.2.ebuild,v 1.6 2007/11/16 18:16:30 dberkholz Exp $
-
-EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
-EGIT_PROJECT="mesa"
-
-inherit autotools multilib flag-o-matic git
-
-OPENGL_DIR="xorg-x11"
-
-MY_PN="${PN/m/M}"
-MY_P="${MY_PN}-${PV//_}"
-MY_SRC_P="${MY_PN}Lib-${PV//_}"
-DESCRIPTION="The GLcore module for OpenGL use under X"
-HOMEPAGE="http://mesa3d.sourceforge.net/"
-if [[ $PV = *_rc* ]]; then
- SRC_URI="http://www.mesa3d.org/beta/${MY_SRC_P}.tar.gz"
-elif [[ $PV = 9999 ]]; then
- SRC_URI=""
-else
- SRC_URI="mirror://sourceforge/mesa3d/${MY_SRC_P}.tar.bz2"
-fi
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="debug pic kernel_FreeBSD"
-
-RDEPEND=">=x11-base/xorg-server-9999"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- x11-misc/makedepend
- x11-libs/libX11
- x11-proto/xextproto
- >=x11-proto/glproto-1.4.8"
-
-S="${WORKDIR}/${MY_P}"
-
-src_compile() {
- local myconf
-
- if use debug; then
- strip-flags
- append-flags -g
- fi
-
- # gcc 4.2 has buggy ivopts
- if [[ $(gcc-version) = "4.2" ]]; then
- append-flags -fno-ivopts
- fi
-
- # FreeBSD 6.* doesn't have posix_memalign().
- [[ ${CHOST} == *-freebsd6.* ]] && sed -i -e "s/-DHAVE_POSIX_MEMALIGN//" configure.ac
-
- eautoreconf
-
- # This is where we might later change to build xlib/osmesa
- myconf="${myconf} --with-driver=dri"
-
- # Overloaded dri-driverdir flag for GLcore installation location
- myconf="${myconf} --with-dri-driverdir=/usr/$(get_libdir)/xorg/modules/extensions"
-
- # Deactivate assembly code for pic build
- myconf="${myconf} $(use_enable pic asm)"
-
- # Sparc assembly code is not working
- myconf="${myconf} $(use_enable sparc asm)"
-
- econf ${myconf} || die
- pushd src/mesa 2>/dev/null
- emake libmesa.a || die
- popd 2>/dev/null
- emake glcore || die
-}
-
-src_install() {
-# dodir /usr
- emake \
- DESTDIR="${D}" \
- glcore-install || die "Installation failed"
-}