Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37557606
en ru br
ALT Linux repos
S:2.99.917-alt1.20210115.1
5.0: 2.7.0-alt1
4.1: 2.4.3-alt0.M41.1

Group :: System/X11
RPM: xorg-drv-intel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/10osvendor

Name: xorg-drv-intel
Version: 2.4.3
Release: alt0.M41.1
Serial: 3
Summary: Intel integrated graphics chipsets
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-dri-intel
Obsoletes: xorg-x11-drv-i8xx xorg-x11-drv-i810 xorg-x11-drv-intel
Provides: xorg-x11-drv-i8xx = %serial:7.2.0 xorg-x11-drv-i810 = %serial:%version-%release
Provides: xorg-x11-drv-intel = %serial:%version-%release

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

BuildRequires: libXvMC-devel libGL-devel xorg-proto-devel xorg-sdk xorg-util-macros

%description
intel  is  an  Xorg  driver  for  Intel  integrated  graphics
chipsets.  The driver supports depths 8, 15, 16  and  24.   All  visual
types are supported in depth 8.  For the i810/i815 other depths support
the TrueColor and DirectColor visuals.  For the 830M  and  later,  only
the  TrueColor  visual  is  supported  for  depths greater than 8.  The
driver supports hardware accelerated 3D via the Direct Rendering Infra-
structure  (DRI),  but only in depth 16 for the i810/i815 and depths 16
and 24 for the 830M and later.

%prep
%setup -q
%patch -p1

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

%make_build

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_hwdatadir
sed -ne '/^#def.*_BRIDGE.*/d;s|^#def.*\(PCI_CHIP_.*\)[[:space:]]*0x\([[:xdigit:]]*\)|alias pcivideo:v00008086d0000\U\2\Esv*sd*bc*sc*i* intel\t# \1|p' src/common.h \
>> %buildroot%_hwdatadir/intel.xinf

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

%triggerin -- xorg-x11-drv-intel <= 3:2.2.1-alt3
if [ -f %_altdir/%name ]; then
[ -x %_sbindir/alternatives-helper ] && %_sbindir/alternatives-helper --remove %name
fi

%files
%_libdir/*.so.*
%_x11modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/*.xinf
%_fdidir/11-x11-video-intel.fdi
%_man4dir/i*.4*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin