gnome-network-displays: 0.90.5 → 0.92.1

This commit is contained in:
Kevin Cox 2024-01-31 19:45:30 -05:00
parent 571a07d774
commit 1613836e18
No known key found for this signature in database
GPG Key ID: 9BB92CC1552E99AA

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
'';