Merge pull request #225103 from uninsane/pr/sane/cross-2023-04-06
This commit is contained in:
commit
01dd363560
@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-Va/Rm35jqxDlIfQdrpZ41qrW8YzWmm1LWra76AW1xUw=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
|
@ -11,12 +11,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake ];
|
||||
buildInputs = [ libtool ];
|
||||
nativeBuildInputs = [ autoconf automake libtool ];
|
||||
|
||||
preConfigure = ''
|
||||
sh autogen.sh
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://libhx.sourceforge.net/";
|
||||
|
@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
pname = "libchamplain";
|
||||
version = "0.12.21";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputs = [ "out" "dev" ]
|
||||
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
vala
|
||||
] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
|
||||
gtk-doc
|
||||
docbook_xsl
|
||||
docbook_xml_dtd_412
|
||||
@ -55,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dgtk_doc=true"
|
||||
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||
"-Dvapi=true"
|
||||
(lib.mesonBool "libsoup3" withLibsoup3)
|
||||
];
|
||||
|
@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
|
||||
docbook-xsl-nons
|
||||
gobject-introspection
|
||||
vala
|
||||
gnutls
|
||||
gtk-doc
|
||||
python3
|
||||
];
|
||||
|
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
|
||||
gtk-doc
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_412
|
||||
@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-gtk-doc"
|
||||
(lib.enableFeature (stdenv.hostPlatform == stdenv.buildPlatform) "gtk-doc")
|
||||
# Remove when https://gitlab.gnome.org/GNOME/librest/merge_requests/2 is merged.
|
||||
"--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
|
||||
];
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
catch2_3
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
meta = {
|
||||
description = "Rapid fuzzy string matching in C++ using the Levenshtein Distance";
|
||||
|
@ -15,7 +15,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-l0ncCMsStaeFACRU3Bt6F1zyiOTGY6wOHewA4AD58Ww=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper autoreconfHook autoconf-archive which ];
|
||||
nativeBuildInputs = [
|
||||
autoconf-archive
|
||||
autoreconfHook
|
||||
glib
|
||||
makeWrapper
|
||||
pkg-config
|
||||
which
|
||||
];
|
||||
buildInputs = [ tpm2-tss glib dbus ];
|
||||
nativeCheckInputs = [ cmocka ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user