Merge pull request #247939 from maralorn/more-pkg-config-meta

Populate meta.pkgConfigModules for more packages
This commit is contained in:
maralorn 2023-08-08 16:01:06 +02:00 committed by GitHub
commit e032f864d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 51 additions and 0 deletions

View file

@ -42,5 +42,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
pkgConfigModules = [ "datrie-0.2" ];
};
}

View file

@ -72,5 +72,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ goibhniu ];
platforms = platforms.unix;
pkgConfigModules = [ "epoxy" ];
};
}

View file

@ -92,5 +92,6 @@ in stdenv.mkDerivation rec {
maintainers = [ maintainers.c0bw3b ];
mainProgram = "psl";
platforms = platforms.unix;
pkgConfigModules = [ "libpsl" ];
};
}

View file

@ -99,5 +99,9 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/libsoup";
license = lib.licenses.lgpl2Plus;
inherit (glib.meta) maintainers platforms;
pkgConfigModules = [
"libsoup-2.4"
"libsoup-gnome-2.4"
];
};
}

View file

@ -63,5 +63,10 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ primeos ttuegel ];
mainProgram = "xkbcli";
platforms = with platforms; unix;
pkgConfigModules = [
"xkbcommon"
"xkbcommon-x11"
"xkbregistry"
];
};
}

View file

@ -101,5 +101,6 @@ stdenv.mkDerivation rec {
mainProgram = "sqlite3";
maintainers = with maintainers; [ eelco np ];
platforms = platforms.unix ++ platforms.windows;
pkgConfigModules = [ "sqlite3" ];
};
}

View file

@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
description = "Static library for Sysprof capture data generation";
license = lib.licenses.bsd2Patent;
platforms = lib.platforms.all;
pkgConfigModules = [ "sysprof-capture-4" ];
};
}

View file

@ -83,6 +83,34 @@ self: super:
configureFlags = [ "--enable-xkb" "--enable-xinput" ]
++ lib.optional stdenv.hostPlatform.isStatic "--disable-shared";
outputs = [ "out" "dev" "man" "doc" ];
meta = attrs.meta // {
pkgConfigModules = [
"xcb-composite"
"xcb-damage"
"xcb-dpms"
"xcb-dri2"
"xcb-dri3"
"xcb-glx"
"xcb-present"
"xcb-randr"
"xcb-record"
"xcb-render"
"xcb-res"
"xcb-screensaver"
"xcb-shape"
"xcb-shm"
"xcb-sync"
"xcb-xf86dri"
"xcb-xfixes"
"xcb-xinerama"
"xcb-xinput"
"xcb-xkb"
"xcb-xtest"
"xcb-xv"
"xcb-xvmc"
"xcb"
];
};
});
libX11 = super.libX11.overrideAttrs (attrs: {
@ -119,6 +147,15 @@ self: super:
libXdmcp = super.libXdmcp.overrideAttrs (attrs: {
outputs = [ "out" "dev" "doc" ];
meta = attrs.meta // {
pkgConfigModules = [ "xdmcp" ];
};
});
libXtst = super.libXtst.overrideAttrs (attrs: {
meta = attrs.meta // {
pkgConfigModules = [ "xtst" ];
};
});
libXfont = super.libXfont.overrideAttrs (attrs: {