Skip to content

Commit

Permalink
Updates org.freedesktop.impl.portal.Settings backend to v2.
Browse files Browse the repository at this point in the history
- Added high-contrast setting.
- Added accent-color support.
- Refactored to make it easier to add new settings in the future.

Accent color currently attempts to get an accent color by:
- Matching the name with a static list (currently only Mint themes)
- Failing that, it checks a gsettings key.
  • Loading branch information
mtwebster committed Mar 15, 2024
1 parent 6121c2b commit a7db26a
Show file tree
Hide file tree
Showing 5 changed files with 278 additions and 114 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Maintainer: Linux Mint <[email protected]>
Build-Depends:
debhelper-compat (= 13),
libglib2.0-dev (>= 2.44),
libgtk-3-dev (>= 3.0),
meson (>= 0.53.0),
systemd (>= 242),
xdg-desktop-portal-dev (>= 1.7.1),
Expand Down
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@


override_dh_auto_configure:
dh_auto_configure -- \
--buildtype=debug

override_dh_auto_install:
dh_auto_install --destdir=debian/tmp

Expand Down
2 changes: 2 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ deps = [
meson.get_compiler('c').find_library('m'),
dependency('glib-2.0', version: '>= 2.44'),
dependency('gio-unix-2.0'),
dependency('gtk+-3.0'),
dependency('gdk-3.0'),
xdg_desktop_portal_dep,
]

Expand Down
Loading

0 comments on commit a7db26a

Please sign in to comment.