e4c69d66d7
udev and X.Org are able to autoconfigure X nowadays. OTOH, when using proprietary drivers things get a bit more complicate.
25 lines
481 B
Bash
25 lines
481 B
Bash
# Copyright 2004-2013 Sabayon
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
DESCRIPTION="Configures your GPU when autodetection fails do to it"
|
|
HOMEPAGE="http://www.sabayon.org"
|
|
SRC_URI=""
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="x86 amd64 ppc"
|
|
IUSE=""
|
|
|
|
RDEPEND="app-misc/sabayon-live"
|
|
DEPEND=""
|
|
|
|
src_unpack () {
|
|
cd "${WORKDIR}"
|
|
cp "${FILESDIR}"/gpu-configuration . -p
|
|
}
|
|
|
|
src_install () {
|
|
cd "${WORKDIR}"
|
|
exeinto /sbin/
|
|
doexe gpu-configuration
|
|
}
|