Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37838283
en ru br
ALT Linux repos
S:1.0.17-alt2
4.1: 0.0.10-alt1.M41.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _modulesdir %_libdir/X11/modules
%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/10osvendor

Name: xorg-drv-nouveau
Version: 0.0.10
Release: alt1.M41.1
Serial:2
Summary: NVIDIA video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org

Packager: Valery Inozemtsev <shrek at altlinux.ru>

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

Requires: xorg-x11-dri-nouveau xorg-x11-extensions-glx
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Provides: xorg-x11-drv-nouveau = %serial:%version-%release
Obsoletes: xorg-x11-drv-nouveau

BuildRequires: libdrm-devel libmesa-devel xorg-sdk
BuildRequires: xorg-proto-devel xorg-util-macros

%description
nouveau  is  an  Xorg  driver for NVIDIA video cards.  The driver
supports 2D acceleration and provides support for the following  frame-
buffer depths: 8, 15, 16 (except Riva128) and 24.  All visual types are
supported for depth 8, TrueColor and DirectColor visuals are  supported
for  the other depths with the exception of the Riva128 which only sup-
ports TrueColor in the higher depths.

%def_disable static

%prep
%setup -q
%patch -p1

%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
%{subst_enable static}

%make_build

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_hwdatadir
sed -ne 's|^#define[[:space:]]*CHIPSET_\([0-9A-Z]*\)[[:space:]]*0x\(.*\)0|alias pcivideo:v000010DEd0000\2*sv*sd*bc*sc*i* nouveau\t# \1|p' src/nv_type.h \
> %buildroot%_hwdatadir/nouveau.xinf
mkdir -p %buildroot%_fdidir
sh xinf2fdi -x %buildroot%_hwdatadir/nouveau.xinf -f %buildroot%_fdidir/11-x11-video-nouveau.fdi -d nouveau

%files
%_modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/nouveau.xinf
%_fdidir/11-x11-video-nouveau.fdi
%_man4dir/*

%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