Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37849654
en ru br
ALT Linux repositórios
S:19.1.0-alt4
5.0: 6.12.2-alt1
4.1: 6.9.0-alt0.M41.1

Group :: Sistema/X11
RPM: xorg-drv-ati

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty

Name: xorg-drv-ati
Version: 6.12.2
Release: alt1
Serial: 4
Summary: ATI video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-drv-radeon xorg-drv-r128 xorg-drv-mach64
Provides: xorg-x11-drv-ati = %serial:%version-%release
Obsoletes: xorg-x11-drv-ati

Source0: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires(Pre): xorg-sdk
BuildRequires: libGL-devel libpci-devel xorg-fontsproto-devel xorg-randrproto-devel xorg-renderproto-devel
BuildRequires: xorg-videoproto-devel xorg-xextproto-devel xorg-xf86driproto-devel xorg-xineramaproto-devel

%description
ati  is an Xorg wrapper driver for ATI video cards.  It autodetects whether your hardware has a Radeon,
Rage 128, or Mach64 or earlier class of chipset, and loads the radeon(4), r128(4) driver as appropriate.

The  ati  driver  supports  Radeon, Rage 128, and Mach64 and earlier chipsets by loading those drivers.
See those manpages for specific cards supported.

%package -n xorg-drv-radeon
Summary: ATI RADION video driver
Group: System/X11
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-x11-dri-radeon xorg-x11-drv-multimedia xorg-x11-extensions-glx
Obsoletes: xorg-x11-drv-avivo <= 0.0.999 xorg-x11-drv-radeon
Provides: xorg-x11-drv-avivo = %version xorg-x11-drv-radeon = %serial:%version-%release
Conflicts: xorg-x11-drv-ati <= 6.6.3

%description -n xorg-drv-radeon
radeon is an Xorg driver for ATI RADEON based video cards. It contains full support for 8, 15, 16 and 24 bit pixel
depths, dual-head setup, flat panel, hardware 2D acceleration, hardware 3D acceleration, hardware cursor, XV extension,
and the Xinerama extension.

%prep
%setup -q
%patch -p1

%build
%autoreconf
%configure \
--with-xorg-module-dir=%_x11modulesdir \
--enable-dri \
--disable-static

%make_build

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_hwdatadir
sed -ne 's,^\(#define\)[[:space:]]*\(PCI_CHIP_\)\(.*\)[[:space:]]*0x\([0-9A-Fa-f]*\),alias pcivideo:v00001002d0000\4sv*sd*bc*sc*i* ati # \3,p' src/ati_pciids_gen.h \
> ati.xinf
awk '!/MACH|RAGE/ {print($1,$2,"radeon",$4,$5)}' ati.xinf > %buildroot%_hwdatadir/radeon.xinf

mkdir -p %buildroot%_fdidir
sh xinf2fdi -x %buildroot%_hwdatadir/radeon.xinf -f %buildroot%_fdidir/20-x11-video-radeon.fdi -d radeon

%triggerin -n xorg-drv-radeon -- xorg-x11-drv-avivo
subst 's|Driver\(.*\)\"\(avivo\)\"|Driver\1"radeon"|' %_sysconfdir/X11/xorg.conf

%files
%_x11modulesdir/drivers/ati_drv.so
%_man4dir/ati.4*

%files -n xorg-drv-radeon
%_x11modulesdir/drivers/radeon_drv.so
%dir %_x11modulesdir/multimedia
%_x11modulesdir/multimedia/*.so
%_man4dir/radeon.4*
%dir %_hwdatadir
%_hwdatadir/radeon.xinf
%_fdidir/20-x11-video-radeon.fdi

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009