Merge pull request #285395 from kevincox/gnome-network-displays-0.92.1

gnome-network-displays: 0.90.5 → 0.92.1
This commit is contained in:
Doron Behar 2024-02-05 16:29:08 +02:00 committed by GitHub
commit 5f92ce4ba4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,20 +13,26 @@
# Not native
, gst_all_1
, gsettings-desktop-schemas
, gtk3
, gtk4
, avahi
, glib
, networkmanager
, json-glib
, libadwaita
, libportal-gtk4
, libpulseaudio
, libsoup_3
, pipewire
, protobufc
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-network-displays";
version = "0.90.5";
version = "0.92.1";
src = fetchurl {
url = "mirror://gnome/sources/${finalAttrs.pname}/${lib.versions.majorMinor finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
sha256 = "sha256-2SBVQK4fJeK8Y2UrrL0g5vQIerDdGE1nhFc6ke4oIpI=";
sha256 = "sha256-aoH9SpD7AfM6c6moMCCuQ1igkcrKgqAf1iLlpuXtaic=";
};
nativeBuildInputs = [
@ -41,7 +47,8 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
gtk3
avahi
gtk4
glib
gsettings-desktop-schemas
gst_all_1.gstreamer
@ -53,9 +60,24 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gst-vaapi
pipewire
networkmanager
json-glib
libadwaita
libportal-gtk4
libpulseaudio
libsoup_3
protobufc
];
/* Without this flag, we get this include error:
/nix/store/...-gst-rtsp-server-1.22.8-dev/include/gstreamer-1.0/gst/rtsp-server/rtsp-media-factory.h:21:10: fatal error: gst/rtsp/gstrtspurl.h: No such file or directory
21 | #include <gst/rtsp/gstrtspurl.h>
Hence, this is not necessarily an upstream issue, but could be something
wrong with how our gst_all_1 depend on each other.
*/
CFLAGS = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
preConfigure = ''
patchShebangs ./build-aux/meson/postinstall.py
'';