summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-11-27 04:36:41 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-11-27 04:36:41 +0000
commit149d5db932b8e4a3dc31895a227de3c31393f971 (patch)
treeb4f1c143c1fea18a309b613d3d1f78e353ac6b8e /app-admin/eselect-mesa
parentVersion bump (diff)
downloadgentoo-2-149d5db932b8e4a3dc31895a227de3c31393f971.tar.gz
gentoo-2-149d5db932b8e4a3dc31895a227de3c31393f971.tar.bz2
gentoo-2-149d5db932b8e4a3dc31895a227de3c31393f971.zip
Initial import from x11 overlay.
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect-mesa')
-rw-r--r--app-admin/eselect-mesa/ChangeLog10
-rw-r--r--app-admin/eselect-mesa/eselect-mesa-0.0.8.ebuild30
-rw-r--r--app-admin/eselect-mesa/metadata.xml5
3 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/eselect-mesa/ChangeLog b/app-admin/eselect-mesa/ChangeLog
new file mode 100644
index 000000000000..716dec0fb467
--- /dev/null
+++ b/app-admin/eselect-mesa/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/eselect-mesa
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-mesa/ChangeLog,v 1.1 2010/11/27 04:36:41 chithanh Exp $
+
+*eselect-mesa-0.0.8 (27 Nov 2010)
+
+ 27 Nov 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +eselect-mesa-0.0.8.ebuild, +metadata.xml:
+ Initial import from x11 overlay.
+
diff --git a/app-admin/eselect-mesa/eselect-mesa-0.0.8.ebuild b/app-admin/eselect-mesa/eselect-mesa-0.0.8.ebuild
new file mode 100644
index 000000000000..0b6072918610
--- /dev/null
+++ b/app-admin/eselect-mesa/eselect-mesa-0.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-mesa/eselect-mesa-0.0.8.ebuild,v 1.1 2010/11/27 04:36:41 chithanh Exp $
+
+EAPI=3
+
+DESCRIPTION="Utility to change the Mesa OpenGL driver being used"
+HOMEPAGE="http://www.gentoo.org/"
+
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-admin/eselect-1.2.4"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins mesa.eselect || die
+}
+
+pkg_postinst() {
+ if has_version ">=media-libs/mesa-7.9" && \
+ ! [ -f "${EROOT}"/usr/share/mesa/eselect-mesa.conf ]; then
+ eerror "Rebuild media-libs/mesa for ${PN} to work."
+ fi
+}
diff --git a/app-admin/eselect-mesa/metadata.xml b/app-admin/eselect-mesa/metadata.xml
new file mode 100644
index 000000000000..01c4c004e735
--- /dev/null
+++ b/app-admin/eselect-mesa/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>