summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2020-09-12 22:38:20 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2020-09-12 22:38:20 +0200
commit89f9953622c7bcd709c802cb21c2d0a86f9765d1 (patch)
tree0f04218004188cf1f77701693b66547046ab6753 /app-eselect
parentapp-eselect/eselect-opencl: tree clean. (diff)
downloadgentoo-89f9953622c7bcd709c802cb21c2d0a86f9765d1.tar.gz
gentoo-89f9953622c7bcd709c802cb21c2d0a86f9765d1.tar.bz2
gentoo-89f9953622c7bcd709c802cb21c2d0a86f9765d1.zip
app-eselect/eselect-opengl: tree clean.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-opengl/Manifest1
-rw-r--r--app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild68
-rw-r--r--app-eselect/eselect-opengl/metadata.xml12
3 files changed, 0 insertions, 81 deletions
diff --git a/app-eselect/eselect-opengl/Manifest b/app-eselect/eselect-opengl/Manifest
deleted file mode 100644
index a03766ad6a4..00000000000
--- a/app-eselect/eselect-opengl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST opengl.eselect-1.3.1.xz 2588 BLAKE2B 5be8bd3efc510a3e55a666136e0f4e8a3214b347981db1413f84268e788a4d708b83eeccddc75766dd4cc29cf99b6930062b274a6ecf79c5c5f8a5817c7af32f SHA512 052a804e96d8e8afe8b588fdc8996aad21675ea05e3e668c33293df4b9523dde8be083e4a7909a22ec83260c9735694fe4e8aa7e5d8a3736a8e243f29368e532
diff --git a/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild b/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild
deleted file mode 100644
index 8ea9f4283b1..00000000000
--- a/app-eselect/eselect-opengl/eselect-opengl-1.3.1-r4.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib
-
-DESCRIPTION="Utility to switch between OpenGL implementations"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-
-# Source:
-# http://www.opengl.org/registry/api/glext.h
-# http://www.opengl.org/registry/api/glxext.h
-GLEXT="85"
-GLXEXT="34"
-
-MIRROR="https://dev.gentoo.org/~mattst88/distfiles"
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz"
-# ${MIRROR}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND="app-arch/xz-utils"
-RDEPEND=">=app-admin/eselect-1.2.4"
-
-S=${WORKDIR}
-
-pkg_preinst() {
- # we may be moving the config file, so get it early
- OLD_IMPL=$(eselect opengl show)
-}
-
-pkg_postinst() {
- local shopt_save=$(shopt -p nullglob)
- shopt -s nullglob
- local opengl_dirs=( "${EROOT}"/usr/lib*/opengl )
- ${shopt_save}
- if [[ -n ${opengl_dirs[@]} ]]; then
- # delete broken symlinks
- find "${opengl_dirs[@]}" -xtype l -delete
- # delete empty leftover directories (they confuse eselect)
- find "${opengl_dirs[@]}" -depth -type d -empty -exec rmdir -v {} +
- fi
-
- if [[ -n "${OLD_IMPL}" && "${OLD_IMPL}" != '(none)' ]] ; then
- eselect opengl set "${OLD_IMPL}"
- fi
- if [[ -f ${EROOT}/etc/env.d/03opengl ]]; then
- # remove the old file, moved now
- rm -vf "${EROOT}"/etc/env.d/03opengl
- fi
-}
-
-src_prepare() {
- # don't die on Darwin users
- if [[ ${CHOST} == *-darwin* ]] ; then
- sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect-${PV} || die
- fi
-}
-
-src_install() {
- insinto "/usr/share/eselect/modules"
- newins opengl.eselect-${PV} opengl.eselect
-# doman opengl.eselect.5
-}
diff --git a/app-eselect/eselect-opengl/metadata.xml b/app-eselect/eselect-opengl/metadata.xml
deleted file mode 100644
index 75f39debd58..00000000000
--- a/app-eselect/eselect-opengl/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>x11@gentoo.org</email>
- <name>X11</name>
-</maintainer>
-<maintainer type="person">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
-</maintainer>
-</pkgmetadata>