diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-02-15 17:10:17 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-02-15 17:10:17 +0000 |
commit | 7af86b07cf0b210ea245e3bc4b428b36ebfd6ed5 (patch) | |
tree | e0185196d7c76fc3eb057b41164be71d30b4d257 | |
parent | add radeon-ucode license (diff) | |
download | gentoo-2-7af86b07cf0b210ea245e3bc4b428b36ebfd6ed5.tar.gz gentoo-2-7af86b07cf0b210ea245e3bc4b428b36ebfd6ed5.tar.bz2 gentoo-2-7af86b07cf0b210ea245e3bc4b428b36ebfd6ed5.zip |
initial import of radeon-ucode
(Portage version: 2.2_rc62/cvs/Linux x86_64)
-rw-r--r-- | x11-drivers/radeon-ucode/ChangeLog | 10 | ||||
-rw-r--r-- | x11-drivers/radeon-ucode/metadata.xml | 9 | ||||
-rw-r--r-- | x11-drivers/radeon-ucode/radeon-ucode-20091209.ebuild | 33 |
3 files changed, 52 insertions, 0 deletions
diff --git a/x11-drivers/radeon-ucode/ChangeLog b/x11-drivers/radeon-ucode/ChangeLog new file mode 100644 index 000000000000..43d638724318 --- /dev/null +++ b/x11-drivers/radeon-ucode/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-drivers/radeon-ucode +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/ChangeLog,v 1.1 2010/02/15 17:10:17 chithanh Exp $ + +*radeon-ucode-20091209 (15 Feb 2010) + + 15 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +radeon-ucode-20091209.ebuild, +metadata.xml: + Initial import, based on an ebuild by scarabeus + diff --git a/x11-drivers/radeon-ucode/metadata.xml b/x11-drivers/radeon-ucode/metadata.xml new file mode 100644 index 000000000000..40a4ce953dab --- /dev/null +++ b/x11-drivers/radeon-ucode/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>chithanh@gentoo.org</email> + <name>Chí-Thanh Christopher Nguyễn</name> +</maintainer> +<herd>x11</herd> +</pkgmetadata> diff --git a/x11-drivers/radeon-ucode/radeon-ucode-20091209.ebuild b/x11-drivers/radeon-ucode/radeon-ucode-20091209.ebuild new file mode 100644 index 000000000000..278a8c122f0b --- /dev/null +++ b/x11-drivers/radeon-ucode/radeon-ucode-20091209.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20091209.ebuild,v 1.1 2010/02/15 17:10:17 chithanh Exp $ + +inherit linux-info + +DESCRIPTION="IRQ microcode for r6xx/r7xx Radeon GPUs" +HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/" +SRC_URI="http://people.freedesktop.org/~agd5f/${PN/-/_}/R600_rlc.bin http://people.freedesktop.org/~agd5f/${PN/-/_}/R700_rlc.bin" + +LICENSE="radeon-ucode" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_install() { + insinto /lib/firmware/radeon || die "insinto failed" + doins "${DISTDIR}"/R{6,7}00_rlc.bin || die "doins failed" +} + +pkg_postinst() { + if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then + if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ + ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *R?00_rlc.bin* ]]; then + ewarn "Your kernel has radeon DRM built-in but not the IRQ microcode." + ewarn "For kernel modesetting to work, please set in kernel config" + ewarn "CONFIG_FIRMWARE_IN_KERNEL=y" + ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\"" + ewarn "CONFIG_EXTRA_FIRMWARE=\"radeon/R600_rlc.bin radeon/R700_rlc.bin\"" + ewarn "More information at http://wiki.x.org/wiki/radeonBuildHowTo" + fi + fi +} |