summaryrefslogtreecommitdiff
path: root/sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild')
-rw-r--r--sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild39
1 files changed, 0 insertions, 39 deletions
diff --git a/sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild b/sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild
deleted file mode 100644
index 7ab4534a..00000000
--- a/sys-apps/gpu-detector/gpu-detector-2.5.0-r3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2004-2010 Sabayon
-# Copyright 2012 Rogentos
-# Original Author Fabio Erculiani
-# Distributed under the terms of the GNU General Public License v2
-
-DESCRIPTION="Rogentos live tool for X.Org video driver configuration"
-HOMEPAGE="http://rogentos.ro"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 amd64 ppc"
-IUSE=""
-
-RDEPEND="app-misc/rogentoslive-tools"
-DEPEND=""
-
-src_unpack () {
- cd "${WORKDIR}"
- cp "${FILESDIR}"/gpu-configuration . -p
-}
-
-src_install () {
- cd "${WORKDIR}"
- exeinto /sbin/
- doexe gpu-configuration
-}
-
-pkg_postinst() {
- local xorg_conf="${ROOT}/etc/X11/xorg.conf"
- if [ -f "${xorg_conf}" ]; then
- echo
- elog "Disabling UseEvents option in your xorg.conf if found"
- elog "This option is known to cause Segmentation Faults on"
- elog "NVIDIA GeForce 6xxx and 7xxx with >=nvidia-drivers-275.xx"
- echo
- # this is quite lame sed, but who cares
- sed -i "/Option.*UseEvents/ s/^/#/" "${xorg_conf}"
- fi
-}