Skip to content

Commit

Permalink
meson.build: sort required packages alphabetically
Browse files Browse the repository at this point in the history
and add a comment on why some xcb packages are in the required_packages
array instead of the required_xcb_packages one
  • Loading branch information
absolutelynothelix committed Jul 22, 2023
1 parent d03cb4e commit 6f868e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ picom_inc = include_directories('.')
cflags = []

required_xcb_packages = [
'xcb-render', 'xcb-damage', 'xcb-randr', 'xcb-sync', 'xcb-composite',
'xcb-shape', 'xcb-xfixes', 'xcb-present', 'xcb-glx', 'xcb-dpms', 'xcb'
'xcb', 'xcb-composite', 'xcb-damage', 'xcb-dpms', 'xcb-glx', 'xcb-present',
'xcb-randr', 'xcb-render', 'xcb-shape', 'xcb-sync', 'xcb-xfixes'
]

# Some XCB packages are here because their versioning differs (see check below).
required_packages = [
'x11', 'x11-xcb', 'xcb-renderutil', 'xcb-image', 'xext', 'pixman-1', 'xcb-util'
'pixman-1', 'x11', 'x11-xcb', 'xcb-image', 'xcb-renderutil', 'xcb-util',
'xext'
]

foreach i : required_packages
Expand Down

0 comments on commit 6f868e5

Please sign in to comment.