2024-01-05 19:38:22 +01:00
|
|
|
%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
|
2024-01-05 19:38:22 +01:00
|
|
|
Name: xf86-video-fbturbo
|
|
|
|
Version: 0.4.0
|
2024-01-05 19:38:22 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 19:38:22 +01:00
|
|
|
Summary: Video driver, primarily optimized for the devices powered by the Allwinner SoC
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/ssvb/xf86-video-fbturbo
|
|
|
|
Source: https://github.com/ssvb/xf86-video-fbturbo.git/%{version}/xf86-video-fbturbo-%{version}.tar.bz2
|
2024-01-05 19:38:22 +01:00
|
|
|
Patch0: xf86-video-fbturbo-0.4.0-xorg-server-21.1.3.patch
|
2024-01-05 19:38:22 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 19:38:22 +01:00
|
|
|
#ld-linux.so.3(GLIBC_2.4): .so link not found
|
|
|
|
#ld-linux.so.3: .so link not found
|
2024-01-05 19:38:22 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 19:38:22 +01:00
|
|
|
Requires: xorg-server >= %{xorg_ver}
|
|
|
|
Requires: xorg-server <= %{xorg_ver}.255
|
2024-01-05 19:38:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Video driver, primarily optimized for the devices powered by the Allwinner SoC (A10, A13, A20). It can use some of the 2D/3D hardware acceleration features.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 19:38:22 +01:00
|
|
|
%patch0 -p1 -b .xorg-server-21.1.3
|
2024-01-05 19:38:22 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 19:38:22 +01:00
|
|
|
install -D -m0644 xorg.conf %{buildroot}%{_datadir}/X11/xorg.conf.d/99-fbturbo.conf
|
|
|
|
|
2024-01-05 19:38:22 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/xorg/modules/drivers/fbturbo_drv.la
|
|
|
|
%{_libdir}/xorg/modules/drivers/fbturbo_drv.so
|
2024-01-05 19:38:22 +01:00
|
|
|
%{_datadir}/X11/xorg.conf.d/99-fbturbo.conf
|
2024-01-05 19:38:22 +01:00
|
|
|
%{_mandir}/man4/fbturbo.4*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:38:22 +01:00
|
|
|
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-3mamba
|
|
|
|
- rebuilt with xorg-server 21.1.3
|
|
|
|
|
2024-01-05 19:38:22 +01:00
|
|
|
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2mamba
|
|
|
|
- install xorg configuration snipppet
|
|
|
|
|
2024-01-05 19:38:22 +01:00
|
|
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
|
|
|
|
- package created using the webbuild interface
|