1
0
gnome-network-displays/gnome-network-displays.spec
Dominique Leuenberger ab57f9a346 Accepting request 1169225 from GNOME:Next
- Update to version 0.92.1:
  + Fix compilation in Fedora Koji
- Changes from version 0.92.0:
  + Migrate to gtk4.
  + Use libportal to acquire screencast portal.
  + Upstream Flatpak appdata updated and CI added.
  + Dedupe sinks based on IP and P2P MAC instead of name.
  + Fix various issues.
- Changes from version 0.91.0
  + Add support for Miracast over Infrastructure (MICE) protocol.
  + Add support for Chromecast protocol.
  + Add support for casting a virtual screen.
  + Fix various issues.
  + Updated translations.
- Replace pkgconfig(gtk+-3.0) BuildRequires with pkgconfig(gtk4):
  Follow upstreams port to gtk4.
- Align BuildRequires with what meson checks for:
  + Add pkgconfig(avahi-client), pkgconfig(avahi-gobject),
    pkgconfig(gio-2.0), pkgconfig(gstreamer-1.0),
    pkgconfig(gstreamer-pbutils-1.0), pkgconfig(json-glib-1.0),
    pkgconfig(libadwaita-1), pkgconfig(libnm),
    pkgconfig(libportal-gtk4), pkgconfig(libprotobuf-c), and
    pkgconfig(libsoup-3.0).
  + Drop pkgconfig(libnm).
- Run test suite: add meson_test to check section.

- Initial package

OBS-URL: https://build.opensuse.org/request/show/1169225
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnome-network-displays?expand=0&rev=7
2024-04-19 15:11:53 +00:00

90 lines
3.0 KiB
RPMSpec

#
# spec file for package gnome-network-displays
#
# 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: gnome-network-displays
Version: 0.92.1
Release: 0
Summary: Miracast implementation for GNOME
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-network-displays
Source: %{name}-%{version}.tar.zst
BuildRequires: desktop-file-utils
BuildRequires: meson >= 0.59.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(avahi-client)
BuildRequires: pkgconfig(avahi-gobject)
BuildRequires: pkgconfig(gio-2.0) >= 2.50
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.14
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= 1.14
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gstreamer-rtsp-server-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(json-glib-1.0) >= 1.0
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libnm) >= 1.15
BuildRequires: pkgconfig(libportal-gtk4) >= 0.7
BuildRequires: pkgconfig(libprotobuf-c) >= 1.0.0
BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(libsoup-3.0) >= 3.0
Requires: gstreamer-plugin-pipewire
%description
This is an experimental implementation of Wi-Fi Display (aka Miracast).
The application will stream the selected monitor if the mutter screencast
portal is available. If it is unavailable, a fallback to X11 based frame
grabbing will happen. As such, it should work fine in almost all setups.
To get audio streaming, you need to change the audio output in pulseaudio
to use the created "Network-Displays" sink.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
%meson_test
%files
%license COPYING
%{_bindir}/gnome-network-displays
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/zones
%{_prefix}/lib/firewalld/zones/P2P-WiFi-Display.xml
%{_datadir}/applications/org.gnome.NetworkDisplays.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.NetworkDisplays.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.NetworkDisplays-symbolic.svg
%{_datadir}/metainfo/org.gnome.NetworkDisplays.appdata.xml
%files lang -f %{name}.lang
%changelog