Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37569867
en ru br
Репозитории ALT
5.1: 0.2.904-alt1
4.1: 0.2.903-alt1.M41.1
www.altlinux.org/Changes

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

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

%define _modulesdir %_libdir/X11/modules
%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty

Name: xorg-drv-openchrome
Version: 0.2.904
Release: alt1
Serial: 1
Summary: VIA openchrome graphics driver
License: MIT/X11
Group: System/X11
Url: http://www.openchrome.org/
Packager: Valery Inozemtsev <shrek at altlinux.ru>

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

Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-x11-dri-via xorg-x11-extensions-glx
Provides: xorg-x11-drv-via = %version xorg-x11-drv-openchrome = %serial:%version-%release
Obsoletes: via_cle266 via_pm880 xorg-x11-drv-via <= 0.2.2 xorg-x11-drv-openchrome

BuildRequires(Pre): xorg-sdk xorg-util-macros
BuildRequires: libGL-devel libX11-devel libXext-devel libXvMC-devel xorg-fontsproto-devel
BuildRequires: xorg-randrproto-devel xorg-renderproto-devel xorg-xf86driproto-devel

%description
openchrome  is an Xorg driver for VIA chipsets that have  an integrated
Unichrome graphics engine.

The  openchrome  driver  supports  the  following   chipsets:   CLE266,
KM400/KN400,   CN400,  CN700,  K8M800/K8N800,  PM800/PN800,  P4M800Pro,
VN800, PM880, K8M890/K8N890, CN896,  VN896,  and  P4M900.   The  driver
includes  2D acceleration and Xv video overlay extensions.  Flat panel,
TV, and VGA outputs are supported, depending on the hardware configura-
tion.

Direct rendering 3D is available using experimental  drivers  in  Mesa,
www.mesa3d.org.   Also  there  is  an  XvMC client library for hardware
MPEG1 /  MPEG2  decoding  acceleration  available  on  the  CLE266  and
K8M/N800  chipsets  that uses the Direct Rendering Infrastructure, DRI.
The XvMC client library implements a nonstandard "VLD" extension to the
XvMC standard. The current Direct Rendering Manager Linux kernel module
is available at dri.sourceforge.net.

%prep
%setup -q
%patch -p1

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

%make_build

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_hwdatadir
sed -ne 's|.*\"\(.*\)\"\,[[:space:]]*VIA_.*\(0x\)\([[:xdigit:]]*\)\,[[:space:]]*\(0x\)\([[:xdigit:]]*\)\,.*|alias pcivideo:v0000\U\3\Ed0000\U\5\Esv*sd*bc*sc*i* openchrome # \1|p' src/via_id.c \
> %buildroot%_hwdatadir/openchrome.xinf
mkdir -p %buildroot%_fdidir
sh xinf2fdi -x %buildroot%_hwdatadir/openchrome.xinf -f %buildroot%_fdidir/20-x11-video-openchrome.fdi -d openchrome

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

%files
%doc NEWS README
%_libdir/*.so.*
%_modulesdir/drivers/*.so
%dir %_hwdatadir
%_hwdatadir/openchrome.xinf
%_fdidir/20-x11-video-openchrome.fdi
%_man4dir/*

%changelog

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

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