gupnp: 1.2.0 -> 1.2.4
both patches are merged upstream meson.build changes no longer required as upstream does it too
This commit is contained in:
parent
d06e45b793
commit
f3a69abc19
@ -1,6 +1,5 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
@ -20,36 +19,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gupnp";
|
||||
version = "1.2.0";
|
||||
version = "1.2.4";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0911lv1bivsyv9wwdxm0i1w4r89j0vyyqp200gsfdnzk6v1a4x7x";
|
||||
sha256 = "sha256-96AwfqUfXkTRuDL0k92QRURKOk4hHvhd/Zql3W6up9E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Nix’s pkg-config ignores Requires.private
|
||||
# https://github.com/NixOS/nixpkgs/commit/1e6622f4d5d500d6e701bd81dd4a22977d10637d
|
||||
# We are essentialy reverting the following patch for now
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=685477
|
||||
# at least until Requires.internal or something is implemented
|
||||
# https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/7
|
||||
./fix-requires.patch
|
||||
|
||||
# fix deadlock in gupnp-igd tests
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/gupnp/commit/d208562657f62b34759896ca9e974bd582d1f963.patch";
|
||||
sha256 = "02kzsb4glxhgb1npf6qqgafiki0ws75sly5h470431mihc6sgp4f";
|
||||
})
|
||||
# fix breakage in gupnp-igd tests
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/gupnp/commit/0648399acb989473119fe59d0b9f65c923e69483.patch";
|
||||
sha256 = "0ba0rngk3a4n3z4dmq06wzgh0n3q9la1nr25qdxqbwlszmxfxpjf";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
|
@ -1,26 +0,0 @@
|
||||
--- a/libgupnp/meson.build
|
||||
+++ b/libgupnp/meson.build
|
||||
@@ -110,6 +110,7 @@ pkg.generate(
|
||||
libraries : libgupnp,
|
||||
subdirs: 'gupnp-1.2',
|
||||
name : 'gupnp-1.2',
|
||||
+ requires: requires,
|
||||
description : 'GObject-based UPnP library',
|
||||
version : meson.project_version(),
|
||||
filebase : 'gupnp-1.2'
|
||||
--- a/meson.build
|
||||
+++ a/meson.build
|
||||
@@ -18,6 +18,13 @@ add_global_arguments('-DHAVE_CONFIG_H=1', language : 'c')
|
||||
|
||||
guul = subproject('guul', default_options : ['default_library=static'])
|
||||
|
||||
+requires = [
|
||||
+ dependency('glib-2.0', version : '>= 2.44'),
|
||||
+ dependency('gssdp-1.2', version : '>= 1.1'),
|
||||
+ dependency('libsoup-2.4', version : '>= 2.48.0'),
|
||||
+ dependency('libxml-2.0')
|
||||
+]
|
||||
+
|
||||
dependencies = [
|
||||
dependency('glib-2.0', version : '>= 2.44'),
|
||||
dependency('gio-2.0', version : '>= 2.44'),
|
Loading…
x
Reference in New Issue
Block a user