           SPELL=xf86-video-radeonhd
if [[ $RADEONHD_SCM == y ]]; then
if [[ $RADEONHD_AUTO == y ]]; then
         VERSION=$(date +%Y%m%d)
else
         VERSION=scm
fi
          SOURCE=$SPELL-scm.tar.bz2
  FORCE_DOWNLOAD=on
   SOURCE_URL[0]="git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd:xf86-video-radeonhd-scm"
   SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION=1.2.4
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=http://xorg.freedesktop.org/releases/individual/driver/${SOURCE}
#     SOURCE_HASH=sha512:39b3eee7788ffefd73e5437bb9486e4425d92e1ad572a523ed77bd9608dae021f956db0996439f89b63511794e5cdc0eb9e3be1179d5de07eba31709fff225ec
     SOURCE_HASH=sha512:0ecf9528d140572ab0ffaf89ead8d15e1786462ed6691e7855183a45b7fe9329dad7b4ad864a0ce9fb3555114494f8e1baba033df8332e973b408d6a79f35d67
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
fi
      PATCHLEVEL=1
        WEB_SITE=http://xorg.freedesktop.org/wiki
      LICENSE[0]=XCL
         ENTERED=20070714
           SHORT="This driver support the r500 and r600 radeon chips"
cat << EOF
Radeon HD video driver based on the AMD/ATI driver for which AMD
released the source and the register specs.
The RadeonHD 1.0.0 driver officially supports the ATI RV505, RV515,
RV516, R520, RV530, RV535, RV570, R580, RS690, R600, RV610, and RV620
chip families. The RV670 / Radeon HD 3800 series hasn't been officially
tested, but may be supported as well. This current driver has full
mode-setting support with dual-head capabilities and is RandR 1.2
compliant. While there is full modesetting support and hardware
cursor acceleration, both 2D and 3D acceleration are not available
in this release.
EOF
