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