3
0
Fork 0
forked from mirrors/nixpkgs

libmodulemd_1: init at 1.8.15

This commit is contained in:
worldofpeace 2019-07-30 22:28:07 -04:00
parent fdd28981d7
commit 8fbae8c72d
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ libmodulemd, fetchurl }:
libmodulemd.overrideAttrs(old: rec {
name = "libmodulemd-${version}";
version = "1.8.15";
# Removes py output since there's no overrides here
outputs = [ "out" "devdoc" ];
patches = [
# Checks for glib docs in glib's prefix
# but they're installed to another
./dont-check-docs.patch
];
src = fetchurl {
url = "https://github.com/fedora-modularity/libmodulemd/releases/download/${name}/modulemd-${version}.tar.xz";
sha256 = "0gz8p3qzji3cx0r57sy3gn4dhigg4k7pcxj3lmjcjn13vxh5rm7z";
};
})

View file

@ -0,0 +1,29 @@
diff --git a/meson.build b/meson.build
index 155c9e7..9125372 100644
--- a/meson.build
+++ b/meson.build
@@ -60,15 +60,15 @@ sh = find_program('sh')
sed = find_program('sed')
test = find_program('test')
-ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
-if ret.returncode() != 0
- error('Missing documentation for GLib.')
-endif
-
-ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
-if ret.returncode() != 0
- error('Missing documentation for GObject.')
-endif
+# ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
+# if ret.returncode() != 0
+# error('Missing documentation for GLib.')
+# endif
+
+# ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
+# if ret.returncode() != 0
+# error('Missing documentation for GObject.')
+# endif
python_name = get_option('python_name')

View file

@ -12347,6 +12347,7 @@ in
libvdpau = callPackage ../development/libraries/libvdpau { };
libmodulemd = callPackage ../development/libraries/libmodulemd { };
libmodulemd_1 = callPackage ../development/libraries/libmodulemd/1.nix { };
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { };