diff options
Diffstat (limited to 'x11-proto/glproto/glproto-1.4.11.ebuild')
-rw-r--r-- | x11-proto/glproto/glproto-1.4.11.ebuild | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/x11-proto/glproto/glproto-1.4.11.ebuild b/x11-proto/glproto/glproto-1.4.11.ebuild deleted file mode 100644 index eb80d4d4a563..000000000000 --- a/x11-proto/glproto/glproto-1.4.11.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.11.ebuild,v 1.7 2010/03/04 20:26:40 armin76 Exp $ - -# Must be before x-modular eclass is inherited -#SNAPSHOT="yes" - -inherit x-modular - -OPENGL_DIR="xorg-x11" - -DESCRIPTION="X.Org GL protocol headers" -LICENSE="SGI-B-2.0" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" -RDEPEND="app-admin/eselect-opengl" -DEPEND="" - -src_install() { - x-modular_src_install - - dynamic_libgl_install -} - -pkg_postinst() { - x-modular_pkg_postinst - - switch_opengl_implem -} - -dynamic_libgl_install() { - use prefix || ED="${D}" - - # next section is to setup the dynamic libGL stuff - ebegin "Moving GL files for dynamic switching" - dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/include - local x="" - # glext.h added for #54984 - for x in "${ED}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do - if [[ -f ${x} || -L ${x} ]]; then - mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include - fi - done - eend 0 -} - -switch_opengl_implem() { - # Switch to the xorg implementation. - # Use new opengl-update that will not reset user selected - # OpenGL interface ... - echo - eselect opengl set --use-old ${OPENGL_DIR} -} |