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

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

 Главная   Изменения   Спек   Патчи   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-mga
Version: 1.4.9
Release: alt0.M41.1
Serial: 1
Summary: Matrox 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-dri-mga xorg-extensions-glx
Provides: xorg-x11-drv-mga = %serial:%version-%release
Obsoletes: xorg-x11-drv-mga

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

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

%description
mga is an Xorg driver for Matrox video cards.  The driver is
fully accelerated, and provides support for the  following  framebuffer
depths:  8, 15, 16, 24, and an 8+24 overlay mode.  All visual types are
supported for depth 8, and both TrueColor and DirectColor  visuals  are
supported  for the other depths except 8+24 mode which supports Pseudo-
Color, GrayScale and TrueColor.   Multi-card  configurations  are  sup-
ported.   XVideo  is  supported  on G200 and newer systems, with either
TexturedVideo or video overlay.  The second head of dual-head cards  is
supported  for  the G450 and G550.  Support for the second head on G400
cards requires a binary-only "mga_hal" module that  is  available  from
Matrox  <http://www.matrox.com>, and may be on the CD supplied with the
card.  That module also provides various other enhancements, and may be
necessary  to  use  the  DVI  (digital)  output  on the G550 (and other
cards).

%prep
%setup -q
%patch -p1

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

%make_build

%install
%make DESTDIR=%buildroot install

install -pD -m644 mga.xinf %buildroot%_hwdatadir/mga.xinf
install -pD -m644 11-x11-video-mga.fdi %buildroot%_fdidir/20-x11-video-mga.fdi

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

%changelog

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

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