update to 20201012git [release 20201012git-1mamba;Mon Oct 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:21:39 +01:00
parent 3602d0e5ca
commit b12ca062e5

View File

@ -1,13 +1,12 @@
Name: raspberrypi-userland Name: raspberrypi-userland
Version: 20180624git Version: 20201012git
Release: 1mamba Release: 1mamba
Summary: Libraries for interfacing to Raspberry Pi GPU Summary: Libraries for interfacing to Raspberry Pi GPU
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.raspberrypi.org/ URL: https://www.raspberrypi.org/
## GITSOURCE git://github.com/raspberrypi/userland.git
Source: git://github.com/raspberrypi/userland.git/master/userland-%{version}.tar.bz2 Source: git://github.com/raspberrypi/userland.git/master/userland-%{version}.tar.bz2
Source1: raspberrypi-userland-ldconfig Source1: raspberrypi-userland-ldconfig
Source2: tvservice-off Source2: tvservice-off
@ -22,7 +21,7 @@ BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: git BuildRequires: git
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
ExclusiveArch: arm ExclusiveArch: arm aarch64
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -55,6 +54,8 @@ Provides: raspberrypi-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n libraspberrypi-devel %description -n libraspberrypi-devel
This package contains libraries and header files for developing applications that use Raspberry Pi GPU. This package contains libraries and header files for developing applications that use Raspberry Pi GPU.
%debug_package
%prep %prep
%setup -q -n userland-%{version} %setup -q -n userland-%{version}
#:<< _EOF #:<< _EOF
@ -64,7 +65,10 @@ This package contains libraries and header files for developing applications tha
# missing -lOpenVG # missing -lOpenVG
%cmake \ %cmake \
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \ -DCMAKE_CXX_COMPILER=/usr/bin/g++ \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
%ifarch aarch64
-DARM64=ON
%endif
%make %make
@ -72,9 +76,17 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%ifarch arm
for lib in libfdt.so libmmal_core.so libmmal_util.so libvcilcs.so; do for lib in libfdt.so libmmal_core.so libmmal_util.so libvcilcs.so; do
install build/lib/$lib %{buildroot}/opt/vc/lib/$lib install build/lib/$lib %{buildroot}/opt/vc/lib/$lib
done done
%endif
%ifarch aarch64
for lib in libfdt.so; do
install build/lib/$lib %{buildroot}/opt/vc/lib/$lib
done
%endif
install -D %{S:1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/vmcs.conf install -D %{S:1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/vmcs.conf
@ -109,8 +121,10 @@ rm -f %{buildroot}/etc/init.d/vcfiled
%dir /opt/vc %dir /opt/vc
%dir /opt/vc/lib %dir /opt/vc/lib
/opt/vc/lib/lib*.so /opt/vc/lib/lib*.so
%ifarch arm
%dir /opt/vc/lib/plugins %dir /opt/vc/lib/plugins
/opt/vc/lib/plugins/*.so /opt/vc/lib/plugins/*.so
%endif
%files -n libraspberrypi-devel %files -n libraspberrypi-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -129,6 +143,9 @@ rm -f %{buildroot}/etc/init.d/vcfiled
/opt/vc/lib/pkgconfig/*.pc /opt/vc/lib/pkgconfig/*.pc
%changelog %changelog
* Mon Oct 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20201012git-1mamba
- update to 20201012git
* Sun Jun 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180624git-1mamba * Sun Jun 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180624git-1mamba
- update to 20180624git - update to 20180624git