commit
f58225ffd4
15 changed files with 96 additions and 79 deletions
|
@ -92,6 +92,7 @@ in
|
||||||
fwupd = callInstalledTest ./fwupd.nix {};
|
fwupd = callInstalledTest ./fwupd.nix {};
|
||||||
gcab = callInstalledTest ./gcab.nix {};
|
gcab = callInstalledTest ./gcab.nix {};
|
||||||
gdk-pixbuf = callInstalledTest ./gdk-pixbuf.nix {};
|
gdk-pixbuf = callInstalledTest ./gdk-pixbuf.nix {};
|
||||||
|
geocode-glib = callInstalledTest ./geocode-glib.nix {};
|
||||||
gjs = callInstalledTest ./gjs.nix {};
|
gjs = callInstalledTest ./gjs.nix {};
|
||||||
glib-networking = callInstalledTest ./glib-networking.nix {};
|
glib-networking = callInstalledTest ./glib-networking.nix {};
|
||||||
gnome-photos = callInstalledTest ./gnome-photos.nix {};
|
gnome-photos = callInstalledTest ./gnome-photos.nix {};
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -29,29 +28,21 @@
|
||||||
, json-glib
|
, json-glib
|
||||||
, itstool
|
, itstool
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
, desktop-file-utils
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
||||||
|
, check
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rhythmbox";
|
pname = "rhythmbox";
|
||||||
version = "3.4.5";
|
version = "3.4.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "l+u8YPN4sibaRbtEbYmQL26hgx4j8Q76ujZVk7HnTyo=";
|
sha256 = "+VaCEM5V5BHpKcj7leERohHb0ZzEf1ePKRxdMZtesDQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix stuff linking against rhythmdb not finding libxml headers
|
|
||||||
# included by rhythmdb.h header.
|
|
||||||
# https://gitlab.gnome.org/GNOME/rhythmbox/-/merge_requests/147
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/rhythmbox/-/commit/7e8c7b803a45b7badf350132f8e78e3d75b99a21.patch";
|
|
||||||
sha256 = "5CE/NVlmx7FItNJCVQxx+x0DCYhUkAi/UuksfAiyWBg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
meson
|
meson
|
||||||
|
@ -60,6 +51,7 @@ stdenv.mkDerivation rec {
|
||||||
glib
|
glib
|
||||||
itstool
|
itstool
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
desktop-file-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -95,9 +87,16 @@ stdenv.mkDerivation rec {
|
||||||
libnotify
|
libnotify
|
||||||
] ++ gst_plugins;
|
] ++ gst_plugins;
|
||||||
|
|
||||||
postInstall = ''
|
checkInputs = [
|
||||||
glib-compile-schemas "$out/share/glib-2.0/schemas"
|
check
|
||||||
'';
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dtests=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Requires DISPLAY
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
|
|
@ -22,14 +22,14 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "deja-dup";
|
pname = "deja-dup";
|
||||||
version = "43.3";
|
version = "43.4";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-HOIBAzR+7OZ1RO+MSpCQKShcikdtWCjdMUO2rE2TxiM=";
|
sha256 = "sha256-8eqrBQrMvS4cta5RP0ibo4Zc3B8hlkftxaRyvb6JuEY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -34,13 +34,13 @@
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "orca";
|
pname = "orca";
|
||||||
version = "42.1";
|
version = "42.2";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "6p6dLehwg4ewUqe+FqXmnOqfZ2jfrrRee9meRmNxYt4=";
|
sha256 = "mXHp/aGqK9ZKdrMxcxNcZBWaSQssS8/757lUj+38eCw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution-ews";
|
pname = "evolution-ews";
|
||||||
version = "3.44.2";
|
version = "3.44.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "xXPzlxA8FybyS+Tz+f0gzrvJtEW6CysOt8lI/YQVBho=";
|
sha256 = "hcysooh6+FvwSORzx7bELF9WQasFpbxM/Oo04rb1vhc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake gettext intltool pkg-config ];
|
nativeBuildInputs = [ cmake gettext intltool pkg-config ];
|
||||||
|
|
|
@ -46,11 +46,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution";
|
pname = "evolution";
|
||||||
version = "3.44.2";
|
version = "3.44.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "+scGznpXP42WdzfxWtDr66Q6h/48p1f4VBID2ZG+BjM=";
|
sha256 = "U2sR9BM99vIW8nr5okgaGe164Ivi1KE7EoBhwmKjZJk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,19 +1,16 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gettext
|
, gettext
|
||||||
, itstool
|
, itstool
|
||||||
, python3
|
, python3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, python3Packages
|
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, gtk3
|
, gtk3
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, libpeas
|
, libpeas
|
||||||
, librsvg
|
, librsvg
|
||||||
, gnome
|
, gnome
|
||||||
, gnome-desktop
|
|
||||||
, libnotify
|
, libnotify
|
||||||
, gsound
|
, gsound
|
||||||
, meson
|
, meson
|
||||||
|
@ -21,15 +18,15 @@
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "pitivi";
|
pname = "pitivi";
|
||||||
version = "2021.05";
|
version = "2022.06";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "z1aTxGxCqw2hSi5Zv89LyIBgS0HpzTqo0uvcYIJ7dcc=";
|
sha256 = "Uz0448bSEcK9DpXiuWsPCDO98NXUd6zgffYRWDUGyDg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -37,13 +34,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
# and saves them to the generated binary. This would make the build-time
|
# and saves them to the generated binary. This would make the build-time
|
||||||
# dependencies part of the closure so we remove it.
|
# dependencies part of the closure so we remove it.
|
||||||
./prevent-closure-contamination.patch
|
./prevent-closure-contamination.patch
|
||||||
|
|
||||||
# Fix build with meson 0.61
|
|
||||||
# https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/414
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c.patch";
|
|
||||||
sha256 = "MC4naGnqhrYlFBFHZaSzbOzrqaNK5/Xv5jBmCu0fLQE=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -61,9 +51,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
gtk3
|
gtk3
|
||||||
libpeas
|
libpeas
|
||||||
librsvg
|
librsvg
|
||||||
gnome-desktop
|
|
||||||
gsound
|
gsound
|
||||||
gnome.adwaita-icon-theme
|
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
libnotify
|
libnotify
|
||||||
] ++ (with gst_all_1; [
|
] ++ (with gst_all_1; [
|
||||||
|
@ -77,14 +65,13 @@ python3Packages.buildPythonApplication rec {
|
||||||
gst-devtools
|
gst-devtools
|
||||||
]);
|
]);
|
||||||
|
|
||||||
pythonPath = with python3Packages; [
|
pythonPath = with python3.pkgs; [
|
||||||
pygobject3
|
pygobject3
|
||||||
gst-python
|
gst-python
|
||||||
pyxdg
|
|
||||||
numpy
|
numpy
|
||||||
pycairo
|
pycairo
|
||||||
matplotlib
|
matplotlib
|
||||||
dbus-python
|
librosa
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, gtksourceview4
|
, gtksourceview4
|
||||||
, gtk-vnc
|
, gtk-vnc
|
||||||
, freerdp
|
|
||||||
, libvirt
|
, libvirt
|
||||||
, spice-gtk
|
, spice-gtk
|
||||||
, python3
|
, python3
|
||||||
|
@ -55,16 +54,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-boxes";
|
pname = "gnome-boxes";
|
||||||
version = "42.1";
|
version = "42.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "lvXQEbdQjbVhvw0WbA6p6LEhgFxA5dnzYRkkXBUXIIA=";
|
sha256 = "98K8oU3K4oONsR+iyA4jQI41SBeK+GGg1NDcxql4ABU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Fix path to libgovf-0.1.so (and libgtk-frdp-0.1.so when enabling rdp meson option)
|
# Fix path to libgovf-0.1.so in the gir file. We patch gobject-introspection to hardcode absolute paths but
|
||||||
# in the gir file. We patch gobject-introspection to hardcode absolute paths but
|
|
||||||
# our Meson patch will only pass the info when install_dir is absolute as well.
|
# our Meson patch will only pass the info when install_dir is absolute as well.
|
||||||
./fix-gir-lib-path.patch
|
./fix-gir-lib-path.patch
|
||||||
];
|
];
|
||||||
|
@ -93,7 +91,6 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
acl
|
acl
|
||||||
cyrus_sasl
|
cyrus_sasl
|
||||||
freerdp
|
|
||||||
gdbm
|
gdbm
|
||||||
glib
|
glib
|
||||||
glib-networking
|
glib-networking
|
||||||
|
|
|
@ -9,14 +9,3 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
govf_dep = declare_dependency(
|
govf_dep = declare_dependency(
|
||||||
--- a/subprojects/gtk-frdp/src/meson.build
|
|
||||||
+++ b/subprojects/gtk-frdp/src/meson.build
|
|
||||||
@@ -50,7 +50,7 @@ gtk_frdp_lib = shared_library('gtk-frdp-' + api_version,
|
|
||||||
gtk_frdp_sources,
|
|
||||||
dependencies: gtk_frdp_deps,
|
|
||||||
install: true,
|
|
||||||
- install_dir: libdir
|
|
||||||
+ install_dir: get_option ('prefix') / libdir
|
|
||||||
)
|
|
||||||
|
|
||||||
gtk_frdp_dep = declare_dependency(
|
|
||||||
|
|
|
@ -30,11 +30,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-maps";
|
pname = "gnome-maps";
|
||||||
version = "42.2";
|
version = "42.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-Xm0bDKfMk56pGq39pWM6hl6oX6VlADaGGyv+8L/QabE=";
|
sha256 = "sha256-5FZGf6zzyP0QyThrXnTEPZWVrZ+3Ulf32gFK+YPWnNE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
|
@ -45,13 +45,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evolution-data-server";
|
pname = "evolution-data-server";
|
||||||
version = "3.44.2";
|
version = "3.44.3";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "Ltcq/k1rsXD4co+uoJB/7hAhLf3nqfq4L7zIPQ8i8Cg=";
|
sha256 = "kEOrU/NB2hAxXFUDhKazIEMBk/yNeGHdJcTpsuC+Qls=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-calculator";
|
pname = "gnome-calculator";
|
||||||
version = "42.1";
|
version = "42.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "700k5Cpl3IYOYgbztHC30jPCripNSWXYhZqp6oo5Ws0=";
|
sha256 = "M9qxvKQ2WNZlIJWLD2dMsK0xhc/TDBLkWef2lIHFxqA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sushi";
|
pname = "sushi";
|
||||||
version = "41.2";
|
version = "42.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "tZ+0LJllxzYfdilt0qNARatlUGXqQUPeWsiyygyq6l4=";
|
sha256 = "RdjbevRaeXhOejRYjRSeqVXIvkS7gqNuiWgpQFt8iCA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,31 +1,63 @@
|
||||||
{ fetchurl, lib, stdenv, meson, ninja, pkg-config, gettext, gtk-doc, docbook_xsl, gobject-introspection, gnome, libsoup, json-glib, glib }:
|
{ fetchurl
|
||||||
|
, lib
|
||||||
|
, stdenv
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, gettext
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, gobject-introspection
|
||||||
|
, gnome
|
||||||
|
, libsoup
|
||||||
|
, json-glib
|
||||||
|
, glib
|
||||||
|
, nixosTests
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "geocode-glib";
|
pname = "geocode-glib";
|
||||||
version = "3.26.2";
|
version = "3.26.3";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" "installedTests" ];
|
outputs = [ "out" "dev" "devdoc" "installedTests" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/geocode-glib-${version}.tar.xz";
|
||||||
sha256 = "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1";
|
sha256 = "Hf6ug7kOzMobbPfc98XjsxeCjPC1YgXERx7w+RGZl2Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gettext gtk-doc docbook_xsl gobject-introspection ];
|
|
||||||
buildInputs = [ glib libsoup json-glib ];
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./installed-tests-path.patch
|
./installed-tests-path.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
nativeBuildInputs = [
|
||||||
substituteInPlace geocode-glib/tests/meson.build --subst-var-by "installedTests" "$installedTests"
|
meson
|
||||||
'';
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gettext
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
gobject-introspection
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
libsoup
|
||||||
|
json-glib
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dsoup2=${lib.boolToString (lib.versionOlder libsoup.version "2.99")}"
|
||||||
|
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
};
|
};
|
||||||
|
tests = {
|
||||||
|
installed-tests = nixosTests.installed-tests.geocode-glib;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -1,8 +1,20 @@
|
||||||
--- a/geocode-glib/tests/meson.build
|
--- a/geocode-glib/tests/meson.build
|
||||||
+++ b/geocode-glib/tests/meson.build
|
+++ b/geocode-glib/tests/meson.build
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-install_dir = get_option('libexecdir') + '/installed-tests/geocode-glib'
|
-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name
|
||||||
+install_dir = '@installedTests@/libexec/installed-tests/geocode-glib'
|
+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name
|
||||||
|
|
||||||
e = executable('geo-uri',
|
e = executable('geo-uri',
|
||||||
'geo-uri.c',
|
'geo-uri.c',
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -1,6 +1,9 @@
|
||||||
|
option('enable-installed-tests',
|
||||||
|
type: 'boolean', value: true,
|
||||||
|
description: 'Build & install test programs')
|
||||||
|
+option('installed_test_prefix',
|
||||||
|
+ type: 'string', value: '',
|
||||||
|
+ description: 'Prefix for installed tests')
|
||||||
|
option('enable-introspection',
|
||||||
|
type: 'boolean', value: true,
|
||||||
|
description: 'Whether to enable the introspection generation')
|
||||||
|
|
Loading…
Reference in a new issue