gobject-introspection: 1.78.1 → 1.80.1

https://gitlab.gnome.org/GNOME/gobject-introspection/-/compare/1.78.1...1.80.1

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
This commit is contained in:
Bobby Rong 2024-03-09 04:05:09 +00:00 committed by Maxine Aubrey
parent 70aad63556
commit ba69532efc
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7
2 changed files with 9 additions and 5 deletions

View File

@ -49,8 +49,11 @@ let
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
'';
# Avoid introducing cairo, which enables gobjectSupport by default.
gobject-introspection' = buildPackages.gobject-introspection.override { x11Support = false; };
gobject-introspection' = buildPackages.gobject-introspection.override {
propagateFullGlib = false;
# Avoid introducing cairo, which enables gobjectSupport by default.
x11Support = false;
};
librarySuffix = if (stdenv.targetPlatform.extensions.library == ".so") then "2.0.so.0"
else if (stdenv.targetPlatform.extensions.library == ".dylib") then "2.0.0.dylib"

View File

@ -22,6 +22,7 @@
, nixStoreDir ? builtins.storeDir
, x11Support ? true
, testers
, propagateFullGlib ? true
}:
# now that gobject-introspection creates large .gir files (eg gtk3 case)
@ -39,7 +40,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "gobject-introspection";
version = "1.78.1";
version = "1.80.1";
# outputs TODO: share/gobject-introspection-1.0/tests is needed during build
# by pygobject3 (and maybe others), but it's only searched in $out
@ -48,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "mirror://gnome/sources/gobject-introspection/${lib.versions.majorMinor finalAttrs.version}/gobject-introspection-${finalAttrs.version}.tar.xz";
sha256 = "vXur2Zr3JY52gZ5Fukprw5lgj+di2D/ePKwDPFCEG7Q=";
hash = "sha256-od98Qk4VvaGrY5wA6QUbmt9c6hqeUS+KYDtTzRmbxtg=";
};
patches = [
@ -95,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
propagatedBuildInputs = [
libffi
glib'
(if propagateFullGlib then glib else glib')
];
mesonFlags = [