2024-05-18 10:42:04 +02:00
|
|
|
Name: scrcpy
|
2024-06-30 11:57:38 +02:00
|
|
|
Version: 2.5
|
2024-05-18 10:42:04 +02:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Display and control your Android device
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/Genymobile/scrcpy
|
|
|
|
Source: https://github.com/Genymobile/scrcpy.git/v%{version}/scrcpy-%{version}.tar.bz2
|
|
|
|
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
|
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL2-devel
|
2024-06-30 11:57:38 +02:00
|
|
|
BuildRequires: libavcodec-devel
|
|
|
|
BuildRequires: libavdevice-devel
|
|
|
|
BuildRequires: libavformat-devel
|
|
|
|
BuildRequires: libavutil-devel
|
|
|
|
BuildRequires: libswresample-devel
|
2024-05-18 10:42:04 +02:00
|
|
|
BuildRequires: libusb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: meson
|
|
|
|
Requires: android-tools
|
|
|
|
|
|
|
|
%description
|
|
|
|
Display and control your Android device.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_ndebug=true \
|
|
|
|
-D prebuilt_server=%{SOURCE1}
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/scrcpy
|
|
|
|
%{_datadir}/applications/scrcpy-console.desktop
|
|
|
|
%{_datadir}/applications/scrcpy.desktop
|
|
|
|
%dir %{_datadir}/scrcpy
|
|
|
|
%{_datadir}/scrcpy/scrcpy-server
|
|
|
|
%{_datadir}/bash-completion/completions/scrcpy
|
|
|
|
%{_datadir}/zsh/site-functions/_scrcpy
|
|
|
|
%{_datadir}/icons/hicolor/256x256/apps/scrcpy.png
|
|
|
|
%{_mandir}/man1/scrcpy.1*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-06-30 11:57:38 +02:00
|
|
|
* Sun Jun 30 2024 Automatic Build System <autodist@openmamba.org> 2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-18 10:42:04 +02:00
|
|
|
* Fri May 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba
|
|
|
|
- package created using the webbuild interface
|