mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
x11-proto/glproto: Remove old
Package-Manager: portage-2.2.23
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST glproto-1.4.16.tar.bz2 119584 SHA256 54dd663a7f5ed702f2ff035b79edf770c2f850867ac0d55742f696bfc8b2598d SHA512 404c72a0f54f31ed639a08b72cbdb6f4d28b76885759df12cdd76fc3ea3b2930c1c8fb7460cd49a36c3a799dc5fd809ffce7da35ff67e1c9604c3c21cca9cb63 WHIRLPOOL 54ce49011b9e4d9a7ab7f0297dec2ab92b707142901fceb2ba60b62db96de16c3b5f9e168c7db24027544dab80d43b9e943c95c89364122486e818c4d34f144c
|
||||
DIST glproto-1.4.17.tar.bz2 126969 SHA256 adaa94bded310a2bfcbb9deb4d751d965fcfe6fb3a2f6d242e2df2d6589dbe40 SHA512 3e5bb1949ab9993e07d2ed7e829b9e0a8803eab476e9f4082fc01087c3dce01f3bcb9d55261eaf60e55977a689b326ed1dcf40f74d5e1fc660c83bea094b6754 WHIRLPOOL 48b345a946f136cdd011d25ac796cd43c761fbe052e5d238c6250c4db798c5612978b1e526b10bd1b870bb302f745574a8e4ed8403464305278afb15694f4630
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
XORG_MULTILIB=yes
|
||||
inherit xorg-2
|
||||
|
||||
DESCRIPTION="X.Org GL protocol headers"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
LICENSE="SGI-B-2.0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-eselect/eselect-opengl-1.2.6"
|
||||
DEPEND=""
|
||||
|
||||
src_install() {
|
||||
xorg-2_src_install
|
||||
dynamic_libgl_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xorg-2_pkg_postinst
|
||||
eselect opengl set --ignore-missing --use-old xorg-x11
|
||||
}
|
||||
|
||||
dynamic_libgl_install() {
|
||||
# next section is to setup the dynamic libGL stuff
|
||||
ebegin "Moving GL files for dynamic switching"
|
||||
local gldir=/usr/$(get_libdir)/opengl/xorg-x11/include/GL
|
||||
dodir ${gldir}
|
||||
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}"${gldir}
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit xorg-2
|
||||
DESCRIPTION="X.Org GL protocol headers"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
LICENSE="SGI-B-2.0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-eselect/eselect-opengl-1.2.6"
|
||||
DEPEND=""
|
||||
|
||||
src_install() {
|
||||
xorg-2_src_install
|
||||
dynamic_libgl_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xorg-2_pkg_postinst
|
||||
eselect opengl set --ignore-missing --use-old xorg-x11
|
||||
}
|
||||
|
||||
dynamic_libgl_install() {
|
||||
# next section is to setup the dynamic libGL stuff
|
||||
ebegin "Moving GL files for dynamic switching"
|
||||
local gldir=/usr/$(get_libdir)/opengl/xorg-x11/include/GL
|
||||
dodir ${gldir}
|
||||
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}"${gldir}
|
||||
fi
|
||||
done
|
||||
eend 0
|
||||
}
|
||||
Reference in New Issue
Block a user