gtk3: make x11Support actually disable X11 dependencies
This commit is contained in:
parent
7f805faed5
commit
549bbe1635
@ -129,27 +129,35 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
wayland-scanner
|
wayland-scanner
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
libxkbcommon
|
lib.optionals (x11Support || waylandSupport) [
|
||||||
(libepoxy.override { inherit x11Support; })
|
# TODO: Reorder me on `staging`.
|
||||||
isocodes
|
libxkbcommon
|
||||||
]
|
]
|
||||||
++ lib.optionals trackerSupport [
|
++ [
|
||||||
tinysparql
|
(libepoxy.override { inherit x11Support; })
|
||||||
];
|
]
|
||||||
|
++ lib.optionals (x11Support || waylandSupport) [
|
||||||
|
isocodes
|
||||||
|
]
|
||||||
|
++ lib.optionals trackerSupport [
|
||||||
|
tinysparql
|
||||||
|
];
|
||||||
#TODO: colord?
|
#TODO: colord?
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = [
|
||||||
|
at-spi2-atk
|
||||||
|
atk
|
||||||
|
cairo
|
||||||
|
expat
|
||||||
|
fribidi
|
||||||
|
gdk-pixbuf
|
||||||
|
glib
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
]
|
||||||
|
++ lib.optionals x11Support (
|
||||||
with xorg;
|
with xorg;
|
||||||
[
|
[
|
||||||
at-spi2-atk
|
|
||||||
atk
|
|
||||||
cairo
|
|
||||||
expat
|
|
||||||
fribidi
|
|
||||||
gdk-pixbuf
|
|
||||||
glib
|
|
||||||
gsettings-desktop-schemas
|
|
||||||
libICE
|
libICE
|
||||||
libSM
|
libSM
|
||||||
libXcomposite
|
libXcomposite
|
||||||
@ -159,19 +167,23 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
libXi
|
libXi
|
||||||
libXrandr
|
libXrandr
|
||||||
libXrender
|
libXrender
|
||||||
pango
|
|
||||||
]
|
]
|
||||||
++ lib.optionals waylandSupport [
|
)
|
||||||
libGL
|
++ [
|
||||||
wayland
|
# TODO: Reorder me on `staging`.
|
||||||
wayland-protocols
|
pango
|
||||||
]
|
]
|
||||||
++ lib.optionals xineramaSupport [
|
++ lib.optionals waylandSupport [
|
||||||
libXinerama
|
libGL
|
||||||
]
|
wayland
|
||||||
++ lib.optionals cupsSupport [
|
wayland-protocols
|
||||||
cups
|
]
|
||||||
];
|
++ lib.optionals xineramaSupport [
|
||||||
|
xorg.libXinerama
|
||||||
|
]
|
||||||
|
++ lib.optionals cupsSupport [
|
||||||
|
cups
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dgtk_doc=${lib.boolToString withIntrospection}"
|
"-Dgtk_doc=${lib.boolToString withIntrospection}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user