File xf86-video-fbdev.spec of Package xf86-video-fbdev

# spec file for package xf86-video-fbdev
# Copyright (c) 2018 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

Name:           xf86-video-fbdev
Version:        0.4.4
Release:        0
Summary:        Framebuffer video driver for the Xorg X server
License:        MIT
Group:          System/X11/Servers/XF86_4
Patch1:         U_01-Default-to-32bpp-if-the-console-is-8bpp-and-we-weren-t-told-otherwise.patch
Patch2:         U_02-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch
Patch3:         U_03-Pass-the-pci-device-if-any-through-to-fbdevhw-in-probe-and-preinit.patch
Patch4:         U_04-Initialize-pci_dev.patch
Patch5:         U_05-Fix-shadow-fb-allocation-size-v2.patch
Patch11:        U_11-Remove-dead-pix24bpp-variable.patch
Patch12:        U_12-Use-shadowUpdate32to24-at-24bpp.patch
Patch13:        U_13-Use-ifdef-instead-of-if-to-avoid-build-error.patch
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(fontsproto)
BuildRequires:  pkgconfig(pciaccess) >= 0.8.0
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(renderproto)
BuildRequires:  pkgconfig(videoproto)
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
BuildRequires:  pkgconfig(xorg-server) >=
BuildRequires:  pkgconfig(xproto)
Supplements:    xorg-x11-server
# This was part of the xorg-x11-driver-video package up to version 7.6
Conflicts:      xorg-x11-driver-video <= 7.6
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExcludeArch:    s390 s390x

fbdev is an Xorg driver for framebuffer devices.

This is a non-accelerated driver, the following framebuffer depths are
supported: 8, 15, 16, 24. All visual types are supported for depth 8,
and TrueColor visual is supported for the other depths. Multi-head
configurations are supported.

%setup -q

%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1

make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%dir %{_libdir}/xorg/modules/drivers

openSUSE Build Service is sponsored by