From 8f8507fb41f4b741378929ffdc5570bc1a11cdc6e48d444241f234979925f9b9 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Fri, 15 Nov 2024 16:47:58 +0000
Subject: [PATCH] New release

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnome-network-displays?expand=0&rev=14
---
 .gitattributes                        | 23 +++++++
 .gitignore                            |  1 +
 _service                              | 19 ++++++
 gnome-network-displays-0.92.2.obscpio |  3 +
 gnome-network-displays-0.93.0.obscpio |  3 +
 gnome-network-displays-0.94.0.obscpio |  3 +
 gnome-network-displays.changes        | 85 +++++++++++++++++++++++++
 gnome-network-displays.obsinfo        |  4 ++
 gnome-network-displays.spec           | 89 +++++++++++++++++++++++++++
 9 files changed, 230 insertions(+)
 create mode 100644 .gitattributes
 create mode 100644 .gitignore
 create mode 100644 _service
 create mode 100644 gnome-network-displays-0.92.2.obscpio
 create mode 100644 gnome-network-displays-0.93.0.obscpio
 create mode 100644 gnome-network-displays-0.94.0.obscpio
 create mode 100644 gnome-network-displays.changes
 create mode 100644 gnome-network-displays.obsinfo
 create mode 100644 gnome-network-displays.spec

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..9b03811
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,23 @@
+## Default LFS
+*.7z filter=lfs diff=lfs merge=lfs -text
+*.bsp filter=lfs diff=lfs merge=lfs -text
+*.bz2 filter=lfs diff=lfs merge=lfs -text
+*.gem filter=lfs diff=lfs merge=lfs -text
+*.gz filter=lfs diff=lfs merge=lfs -text
+*.jar filter=lfs diff=lfs merge=lfs -text
+*.lz filter=lfs diff=lfs merge=lfs -text
+*.lzma filter=lfs diff=lfs merge=lfs -text
+*.obscpio filter=lfs diff=lfs merge=lfs -text
+*.oxt filter=lfs diff=lfs merge=lfs -text
+*.pdf filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.rpm filter=lfs diff=lfs merge=lfs -text
+*.tbz filter=lfs diff=lfs merge=lfs -text
+*.tbz2 filter=lfs diff=lfs merge=lfs -text
+*.tgz filter=lfs diff=lfs merge=lfs -text
+*.ttf filter=lfs diff=lfs merge=lfs -text
+*.txz filter=lfs diff=lfs merge=lfs -text
+*.whl filter=lfs diff=lfs merge=lfs -text
+*.xz filter=lfs diff=lfs merge=lfs -text
+*.zip filter=lfs diff=lfs merge=lfs -text
+*.zst filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..57affb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.osc
diff --git a/_service b/_service
new file mode 100644
index 0000000..93bddb2
--- /dev/null
+++ b/_service
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<services>
+  <service name="obs_scm" mode="manual">
+    <param name="scm">git</param>
+    <param name="url">https://gitlab.gnome.org/GNOME/gnome-network-displays.git</param>
+    <param name="revision">0.94.0</param>
+    <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
+    <param name="versionrewrite-pattern">v?(.*)\+0</param>
+    <param name="versionrewrite-replacement">\1</param>
+<!--    <param name="changesgenerate">enable</param> -->
+  </service>
+  <service name="tar" mode="buildtime"/>
+  <service name="recompress" mode="buildtime">
+    <param name="file">*.tar</param>
+    <param name="compression">zst</param>
+  </service>
+  <service name="set_version" mode="manual" />
+</services>
+
diff --git a/gnome-network-displays-0.92.2.obscpio b/gnome-network-displays-0.92.2.obscpio
new file mode 100644
index 0000000..89ecd19
--- /dev/null
+++ b/gnome-network-displays-0.92.2.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ea8aabd270e6c20551cc4d22a422411cc2a8a470e1566fba63dc7df29623ce40
+size 1342988
diff --git a/gnome-network-displays-0.93.0.obscpio b/gnome-network-displays-0.93.0.obscpio
new file mode 100644
index 0000000..2539c63
--- /dev/null
+++ b/gnome-network-displays-0.93.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c72ae2d67c67a68d7ac37079fbe165f2e8d6730db9d0680370909112b2f8ce2f
+size 1360908
diff --git a/gnome-network-displays-0.94.0.obscpio b/gnome-network-displays-0.94.0.obscpio
new file mode 100644
index 0000000..edc3bb0
--- /dev/null
+++ b/gnome-network-displays-0.94.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:66826e6c0824694add9fa7c7369c04f3115c29bea84a54986d6e83f9b1ad62c9
+size 1357324
diff --git a/gnome-network-displays.changes b/gnome-network-displays.changes
new file mode 100644
index 0000000..49a9d7f
--- /dev/null
+++ b/gnome-network-displays.changes
@@ -0,0 +1,85 @@
+-------------------------------------------------------------------
+Wed Nov 13 19:16:53 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Update to version 0.94.0:
+  + Re-create portal session when needed.
+  + Shorten WFD RTSP session id to 10 chars.
+
+-------------------------------------------------------------------
+Fri Aug  9 07:28:30 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Update to version 0.93.0:
+  + Add support for VA H264 encoder.
+  + Fix setting virtual display resolution.
+
+-------------------------------------------------------------------
+Mon May  6 09:47:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
+
+- Update to version 0.92.2:
+  + Add new, separate media factory for CC.
+  + Fix a crash where gst elements could not be created for CC.
+
+-------------------------------------------------------------------
+Mon Jan 29 13:24:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
+
+- 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).
+- Run test suite: add meson_test to check section.
+
+-------------------------------------------------------------------
+Sat Apr  2 12:19:31 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Update to version 0.90.5:
+  + Multiple fixes in P2P peer/sink handling.
+  + Fix decoding of supported device profiles.
+  + Fix issues with WFD media pipeline:
+    - Permit constrained-baseline profile.
+    - Do not add a pipeline bus watch.
+    - Do not force I420 for vaapipostproc.
+    - Do not force alignment=nal.
+
+-------------------------------------------------------------------
+Fri Nov 27 21:10:45 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Update to version 0.90.4:
+  + Add firewalld integration.
+  + Updated translations.
+- Add explicit runtime gstreamer-plugin-pipewire Requires.
+- Add missing explicit pkgconfig(gstreamer-plugins-base-1.0)
+  BuildRequires, fixed in future versions.
+- Replace update-desktop-files with desktop-file-utils
+  BuildRequires and distro independant command call.
+- Add pkgconfig(appstream-glib) BuildRequires and metainfo
+  validation call.
+
+-------------------------------------------------------------------
+Thu Aug 13 08:38:31 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>
+
+- Separate lang package
+
+-------------------------------------------------------------------
+Thu Aug 13 06:00:39 UTC 2020 - Dead Mozay <dead_mozay@opensuse.org>
+
+- Initial package
+
diff --git a/gnome-network-displays.obsinfo b/gnome-network-displays.obsinfo
new file mode 100644
index 0000000..ac23493
--- /dev/null
+++ b/gnome-network-displays.obsinfo
@@ -0,0 +1,4 @@
+name: gnome-network-displays
+version: 0.94.0
+mtime: 1731522319
+commit: dbdbdc1f67b0f71944ba097d75fcf34f72037bd6
diff --git a/gnome-network-displays.spec b/gnome-network-displays.spec
new file mode 100644
index 0000000..a2d1316
--- /dev/null
+++ b/gnome-network-displays.spec
@@ -0,0 +1,89 @@
+#
+# 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.94.0
+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