aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-03-10 19:39:46 -0600
committerChristoph Junghans <ottxor@gentoo.org>2013-03-10 19:39:46 -0600
commitbad4b2a25a93bc59427365b700de2d4e3b3c6098 (patch)
tree9782f5117f6f5bedea05ea4036e4432227b98666
parentDrop second occurance of impl-headers. (diff)
downloadeselect-bad4b2a25a93bc59427365b700de2d4e3b3c6098.tar.gz
eselect-bad4b2a25a93bc59427365b700de2d4e3b3c6098.tar.bz2
eselect-bad4b2a25a93bc59427365b700de2d4e3b3c6098.zip
xvmc.eselect: added changes from gx86, version 0.3
-rw-r--r--modules/xvmc.eselect14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/xvmc.eselect b/modules/xvmc.eselect
index 9300299..aedbbd0 100644
--- a/modules/xvmc.eselect
+++ b/modules/xvmc.eselect
@@ -12,19 +12,25 @@ XVMCLIBS=(
"libXvMCNVIDIA_dynamic.so.1"
"libXvMC.so.1"
"libviaXvMC.so.1"
-"libchromeXvMC.so.1"
"libviaXvMCPro.so.1"
+"libchromeXvMC.so.1"
"libchromeXvMCPro.so.1"
+"libXvMCVIA.so"
+"libXvMCVIAPro.so"
"libI810XvMC.so.1"
+"/usr/lib/libIntelXvMC.so"
"libAMDXvBA.so.1" )
XVMCPRETTY=(
"nvidia"
"xorg-x11"
"via"
-"openchrome"
"via-pro"
+"openchrome"
"openchrome-pro"
-"intel"
+"unichrome"
+"unichrome-pro"
+"intel-i815"
+"intel-i915"
"ati" )
get_implementation_indices() {
@@ -53,7 +59,7 @@ get_current_implementation_index() {
set_new_implementation() {
echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..."
- touch "${ROOT}/etc/X11/XvMCConfig" 2&>1 > /dev/null
+ touch "${ROOT}/etc/X11/XvMCConfig" 2>&1 > /dev/null
if [[ $? -eq 0 ]]; then
echo "${XVMCLIBS[$1]}" > "${ROOT}/etc/X11/XvMCConfig"
chmod 644 "${ROOT}/etc/X11/XvMCConfig"