Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37570132
en ru br
ALT Linux repositórios
S:20220615-alt1

Group :: Sistema/Base
RPM: rpi-userland

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: rpi-userland
Version: 20220615
Release: alt1

Summary: ARM side libraries and programs used on Raspberry Pi.
License: BSD License (no advertising)
Group: System/Base
URL: https://github.com/raspberrypi/userland.git
Packager: Dmitry Terekhin <jqt4 at altlinux.org>
ExclusiveArch: armh aarch64
Source: %name-%version.tar
BuildRequires: cmake gcc gcc-c++

%description
%summary

%package -n rpi-vcgencmd
Summary: Query the VideoCore for information.
Group: System/Base

%description -n rpi-vcgencmd
vcgencmd is a command line utility
that can get various pieces of information
from the VideoCore GPU on the Raspberry Pi.

%prep
%setup
sed -i 's/add_subdirectory/#add_subdirectory/' CMakeLists.txt
sed -i 's/#add_subdirectory(interface\/vcos)/add_subdirectory(interface\/vcos)/' CMakeLists.txt
sed -i 's/#add_subdirectory(interface\/vchiq_arm)/add_subdirectory(interface\/vchiq_arm)/' CMakeLists.txt
sed -i 's/#add_subdirectory(interface\/vmcs_host)/add_subdirectory(interface\/vmcs_host)/' CMakeLists.txt
sed -i 's/#add_subdirectory(host_applications\/linux)/add_subdirectory(host_applications\/linux)/' CMakeLists.txt
sed -i 's/add_subdirectory/#add_subdirectory/' host_applications/linux/CMakeLists.txt
sed -i 's/#add_subdirectory(apps\/gencmd)/add_subdirectory(apps\/gencmd)/' host_applications/linux/CMakeLists.txt

%build
%ifarch %arm
%cmake -DARM64=OFF
%endif
%ifarch aarch64
%cmake -DARM64=ON
%endif
%cmake -DCMAKE_SKIP_RPATH:BOOL=ON
%cmake_build

%install
install -D build/bin/vcgencmd %buildroot%_bindir/vcgencmd
install -D host_applications/linux/apps/gencmd/vcgencmd.1 %buildroot%_mandir/man1/vcgencmd.1
install -D build/lib/libvchiq_arm.so %buildroot%_libdir/libvchiq_arm.so
install -D build/lib/libvcos.so %buildroot%_libdir/libvcos.so

%files -n rpi-vcgencmd
%_bindir/vcgencmd
%_mandir/man1/vcgencmd.1.xz
%_libdir/libvchiq_arm.so
%_libdir/libvcos.so

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009