Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37479284
en ru br
Репозитории ALT

Группа :: Система/X11
Пакет: xorg-x11-drv-nouveau

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define srcname xf86-video-nouveau
%define _modulesdir %_libdir/X11/modules
%define _hwdatadir %_datadir/hwdatabase/videoaliases

Name: xorg-x11-drv-nouveau
Version: 1.2.0
Release: alt7
Serial:1
Summary: NVIDIA video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org

Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>

Source: %srcname-%version.tar.bz2

Patch0: xf86-video-nouveau-1.2.0-alt-default-xaa.patch
Patch1: xf86-video-nouveau-1.2.0-alt-man.patch

Provides: x11-driver-nouveau
Requires: xorg-x11-dri-nouveau xorg-x11-extensions-glx
Requires: xorg-x11-server >= 1.0.99.901

BuildRequires: libdrm-devel libmesa-devel pkg-config xorg-x11-sdk xorg-x11-proto-devel xorg-x11-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 -n %srcname-%version

%patch0 -p1
%patch1 -p1

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

%make_build

%__cat src/nv_driver.c | \
      sed -ne 's|^[[:space:]].*\ 0x1\([0-2]\)D\([2E]\)\([0-9A-F]*\).*"\(.*\)\".*|alias pcivideo:v00001\1D\2d0000\3sv*sd*bc*sc*i* nouveau\t# \4|p' \
      > nouveau.xinf

%install
%make DESTDIR=%buildroot install

%__install -pD -m644 nouveau.xinf %buildroot%_hwdatadir/nouveau.xinf

%files
%_modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/nouveau.xinf
%_man4dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin