mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-10-29 11:48:42 +00:00
hyprfocus: fix nix
This commit is contained in:
parent
03b0717628
commit
f49193f8e0
@ -33,6 +33,7 @@
|
||||
csgo-vulkan-fix
|
||||
hyprbars
|
||||
hyprexpo
|
||||
hyprfocus
|
||||
hyprscrolling
|
||||
hyprtrails
|
||||
hyprwinwrap
|
||||
@ -54,6 +55,7 @@
|
||||
csgo-vulkan-fix = callPackage ./csgo-vulkan-fix {};
|
||||
hyprbars = callPackage ./hyprbars {};
|
||||
hyprexpo = callPackage ./hyprexpo {};
|
||||
hyprfocus = callPackage ./hyprfocus {};
|
||||
hyprscrolling = callPackage ./hyprscrolling {};
|
||||
hyprtrails = callPackage ./hyprtrails {};
|
||||
hyprwinwrap = callPackage ./hyprwinwrap {};
|
||||
|
||||
30
hyprfocus/meson.build
Normal file
30
hyprfocus/meson.build
Normal file
@ -0,0 +1,30 @@
|
||||
project('hyprfocus', 'cpp',
|
||||
version: '0.1',
|
||||
default_options: ['buildtype=release'],
|
||||
)
|
||||
|
||||
cpp_compiler = meson.get_compiler('cpp')
|
||||
if cpp_compiler.has_argument('-std=c++23')
|
||||
add_global_arguments('-std=c++23', language: 'cpp')
|
||||
elif cpp_compiler.has_argument('-std=c++2b')
|
||||
add_global_arguments('-std=c++2b', language: 'cpp')
|
||||
else
|
||||
error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.version() + ') with required C++ standard (C++23)')
|
||||
endif
|
||||
|
||||
globber = run_command('find', '.', '-name', '*.cpp', check: true)
|
||||
src = globber.stdout().strip().split('\n')
|
||||
|
||||
shared_module(meson.project_name(), src,
|
||||
dependencies: [
|
||||
dependency('hyprland'),
|
||||
dependency('libdrm'),
|
||||
dependency('libinput'),
|
||||
dependency('libudev'),
|
||||
dependency('pangocairo'),
|
||||
dependency('pixman-1'),
|
||||
dependency('wayland-server'),
|
||||
dependency('xkbcommon'),
|
||||
],
|
||||
install: true,
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user