budgie-control-center: Fix GCC 14 build

Also explicitly add gstreamer as a direct dependency.
This commit is contained in:
Bobby Rong
2024-12-24 01:25:31 +08:00
parent f2463f9cb0
commit e0949be930
@@ -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 { };