glib-networking: 2.74.beta → 2.74.rc

https://gitlab.gnome.org/GNOME/glib-networking/-/compare/2.74.beta...2.74.rc

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Jan Tojnar 2022-09-02 10:36:08 +00:00
parent 6a0555be7b
commit fab4cc66bd
2 changed files with 11 additions and 15 deletions

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, substituteAll
, meson
@ -8,7 +9,6 @@
, glib
, gettext
, makeWrapper
, python3
, gnutls
, p11-kit
, libproxy
@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "glib-networking";
version = "2.74.beta";
version = "2.74.rc";
outputs = [ "out" "installedTests" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "dI18G79OzOsP5yS5QUvSYdJ1KuU0PV+0e0MpYZQafAg=";
sha256 = "APLko2Hr6bEdrIVUYcot4OLEkMQYxwSZTYkaN5t4dWw=";
};
patches = [
@ -36,18 +36,12 @@ stdenv.mkDerivation rec {
./installed-tests-path.patch
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
nativeBuildInputs = [
meson
ninja
pkg-config
gettext
makeWrapper
python3 # for install_script
];
buildInputs = [

View file

@ -1,8 +1,8 @@
diff --git a/meson.build b/meson.build
index 4d91677..aaaeb2b 100644
index 01e18a9..5dbb2fc 100644
--- a/meson.build
+++ b/meson.build
@@ -12,8 +12,8 @@
@@ -12,8 +12,8 @@ libdir = join_paths(prefix, get_option('libdir'))
libexecdir = join_paths(prefix, get_option('libexecdir'))
localedir = join_paths(prefix, get_option('localedir'))
@ -14,12 +14,14 @@ index 4d91677..aaaeb2b 100644
cc = meson.get_compiler('c')
host_system = host_machine.system()
diff --git a/meson_options.txt b/meson_options.txt
index 3a525dd..fc86302 100644
index c566ccd..80f7c33 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -3,4 +3,5 @@
@@ -10,6 +10,7 @@ option('environment_proxy', type: 'feature', value: 'auto', description: 'suppor
option('libproxy', type: 'feature', value: 'auto', description: 'support for libproxy proxy configration')
option('gnome_proxy', type: 'feature', value: 'auto', description: 'support for GNOME desktop proxy configuration')
option('installed_tests', type: 'boolean', value: false, description: 'enable installed tests')
+option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests')
option('static_modules', type: 'boolean', value: false, description: 'build static modules')
option('debug_logs', type: 'boolean', value: false, description: 'enable debug log messages (slow)')
# Deprecated, use -Ddefault_library=static instead.