build: drop unused dependencies after 022469529c (#84)

This commit is contained in:
Jan Beich 2023-09-08 22:38:55 +00:00 committed by GitHub
parent 022469529c
commit 676571b2c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 13 deletions

View file

@ -30,10 +30,9 @@ add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-m
message(STATUS "Checking deps...") message(STATUS "Checking deps...")
add_subdirectory(subprojects/sdbus-cpp) add_subdirectory(subprojects/sdbus-cpp)
add_subdirectory(hyprland-share-picker) add_subdirectory(hyprland-share-picker)
find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols cairo pango pangocairo libjpeg libpipewire-0.3 libspa-0.2 libdrm gbm) pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols libpipewire-0.3 libspa-0.2 libdrm gbm)
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
add_executable(xdg-desktop-portal-hyprland ${SRCFILES}) add_executable(xdg-desktop-portal-hyprland ${SRCFILES})

View file

@ -5,12 +5,9 @@
meson, meson,
ninja, ninja,
pkg-config, pkg-config,
cairo,
hyprland-share-picker, hyprland-share-picker,
libdrm, libdrm,
libjpeg,
mesa, mesa,
pango,
pipewire, pipewire,
sdbus-cpp, sdbus-cpp,
systemd, systemd,
@ -37,12 +34,9 @@ stdenv.mkDerivation {
]; ];
buildInputs = [ buildInputs = [
cairo
hyprland-protocols hyprland-protocols
libdrm libdrm
libjpeg
mesa mesa
pango
pipewire pipewire
sdbus-cpp sdbus-cpp
systemd systemd

View file

@ -4,15 +4,10 @@ src = globber.stdout().strip().split('\n')
executable('xdg-desktop-portal-hyprland', executable('xdg-desktop-portal-hyprland',
[src, wl_proto_files], [src, wl_proto_files],
dependencies: [ dependencies: [
dependency('cairo'),
dependency('gbm'), dependency('gbm'),
dependency('libdrm'), dependency('libdrm'),
dependency('libjpeg'),
dependency('libpipewire-0.3'), dependency('libpipewire-0.3'),
dependency('pango'),
dependency('pangocairo'),
dependency('sdbus-c++'), dependency('sdbus-c++'),
dependency('threads'),
dependency('wayland-client'), dependency('wayland-client'),
], ],
include_directories: inc, include_directories: inc,