Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:anbox
scrcpy
scrcpy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scrcpy.spec of Package scrcpy
# # spec file for package scrcpy # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: scrcpy Version: 3.0 Release: 0 Summary: Display and control your Android device License: Apache-2.0 URL: https://github.com/Genymobile/scrcpy Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{name}-server-v%{version} BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: meson >= 0.48 BuildRequires: pkgconfig BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(sdl2) Requires: android-tools %if 0%{?suse_version} < 1600 BuildRequires: gcc11 BuildRequires: gcc11-PIE %else BuildRequires: gcc %endif %description This application provides display and control of Android devices connected on USB. It does not require any root access. %package bash-completion Summary: Scrcpy Bash completion BuildRequires: bash-completion Requires: %{name} = %{version} Requires: bash-completion Supplements: (%{name} and bash-completion) BuildArch: noarch %description bash-completion Optional dependency offering bash completion for %{name}. %package zsh-completion Summary: Scrcpy zsh completion BuildRequires: zsh Requires: %{name} = %{version} Requires: zsh Supplements: (%{name} and zsh) BuildArch: noarch %description zsh-completion Optional dependency offering zsh completion for %{name}. %prep %autosetup -p1 %build %if 0%{?suse_version} < 1600 export CC=gcc-11 %endif %meson -Dprebuilt_server='%{SOURCE1}' %meson_build %install %meson_install %check export PATH=%{buildroot}%{_bindir}:$PATH desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}{,-console}.desktop scrcpy --version %files %license LICENSE %doc README.md FAQ.md doc/* %{_bindir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/%{name}-server %{_datadir}/applications/%{name}{,-console}.desktop %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_mandir}/man1/%{name}.1%{?ext_man} %files bash-completion %{_datadir}/bash-completion/completions/%{name} %files zsh-completion %{_datadir}/zsh/site-functions/_%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor