Unverified Commit e0949be9 authored by Bobby Rong's avatar Bobby Rong
Browse files

budgie-control-center: Fix GCC 14 build

Also explicitly add gstreamer as a direct dependency.
parent f2463f9c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
  glib-networking,
  glibc,
  gnome,
  gst_all_1,
  gnome-bluetooth_1_0,
  gnome-color-manager,
  gnome-desktop,
@@ -117,6 +118,7 @@ stdenv.mkDerivation (finalAttrs: {
    glib
    glib-networking
    gnome-desktop
    gst_all_1.gstreamer
    adwaita-icon-theme
    cheese
    gnome-bluetooth_1_0
@@ -183,6 +185,11 @@ stdenv.mkDerivation (finalAttrs: {

  separateDebugInfo = true;

  # Fix GCC 14 build.
  # cc-display-panel.c:962:41: error: passing argument 1 of 'gtk_widget_set_sensitive'
  # from incompatible pointer type [-Wincompatible-pointer-types]
  env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";

  passthru = {
    tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
    updateScript = nix-update-script { };