File xf86-video-modesetting.spec of Package xf86-video-modesetting.1041
#
# spec file for package xf86-video-modesetting
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: xf86-video-modesetting
Version: 0.9.0
Release: 0
Summary: Generic modesetting driver
License: MIT
Group: System/X11/Servers/XF86_4
Url: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/archive/individual/driver/%{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(xorg-server)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
# Useful for USB hotplug graphics like Displaylink devices, so install this
# by default.
Supplements: xorg-x11-server
Patch2: N_modesetting-default-swcursor.diff
Patch3: u_01-modesetting-Implement-32-24-bpp-conversion-in-shadow-update.patch
Patch4: u_02-modesetting-Implement-a-double-buffered-shadow-mode.patch
Patch5: u_03-Fix-off-by-one-error-in-box-copying-routine.patch
Patch6: u_04-Add-missing-n-to-log-message.patch
Patch7: u_05-Set-shadow_enable-TRUE-if-shadow_enable2-TRUE.patch
Patch8: u_06-Add-a-shadow_pixmap-to-hold-information-on-shadow_fb2.patch
%x11_abi_videodrv_req
%description
This is a generic modesetting driver.
The idea is to piggy-back the X driver on top of the DRM and Gallium3D
drivers (DRM for modesetting and Gallium3D for Exa acceleration)
%prep
%setup -q -n %{name}-%{version}
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING README
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/modesetting_drv.so
%exclude %{_libdir}/xorg/modules/drivers/modesetting_drv.la
%{_datadir}/man/man4/modesetting.4%{?ext_man}
%changelog