package created using the webbuild interface [release 2.4-1mamba;Fri May 17 2024]

This commit is contained in:
Silvan Calarco 2024-05-18 10:42:04 +02:00
parent 3b376f50cc
commit dd25ed73a6
3 changed files with 66 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# scrcpy # scrcpy
Display and control your Android device.

BIN
scrcpy-server-v2.4 Normal file

Binary file not shown.

64
scrcpy.spec Normal file
View File

@ -0,0 +1,64 @@
Name: scrcpy
Version: 2.4
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
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavdevice-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libswresample-ffmpeg-devel
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
* Fri May 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba
- package created using the webbuild interface