nemo-seahorse: Remove update script & cmake, simplify (#443344)

authored by Bobby Rong and committed by GitHub 0ecf3060 f45bf61f

+5 -23
-16
pkgs/by-name/ne/nemo-seahorse/fix-schemas.patch
··· 1 - --- a/data/meson.build 2 - +++ b/data/meson.build 3 - @@ -1,10 +1,13 @@ 4 - dataconf = configuration_data() 5 - dataconf.set('VERSION', meson.project_version()) 6 - 7 - +schemadir = get_option('prefix') / get_option('datadir') / 'glib-2.0' / 'schemas' 8 - + 9 - install_data( 10 - 'org.nemo.plugins.seahorse.gschema.xml', 11 - 'org.nemo.plugins.seahorse.window.gschema.xml', 12 - install_dir: get_option('datadir') / 'glib-2.0' / 'schemas', 13 - ) 14 - 15 - +meson.add_install_script('glib-compile-schemas', schemadir) 16 - install_man('nemo-seahorse-tool.1')
+5 -7
pkgs/by-name/ne/nemo-seahorse/package.nix
··· 8 8 glib, 9 9 gtk3, 10 10 nemo, 11 - cmake, 12 11 dbus-glib, 13 12 libcryptui, 14 13 gcr, 15 14 libnotify, 16 15 gnupg, 17 16 gpgme, 18 - nix-update-script, 19 17 }: 20 18 21 19 stdenv.mkDerivation rec { ··· 31 29 32 30 sourceRoot = "${src.name}/nemo-seahorse"; 33 31 34 - patches = [ ./fix-schemas.patch ]; 35 - 36 32 nativeBuildInputs = [ 33 + glib 37 34 meson 38 35 pkg-config 39 36 ninja 40 - cmake 41 37 ]; 42 38 43 39 buildInputs = [ ··· 52 48 gnupg 53 49 ]; 54 50 55 - PKG_CONFIG_LIBNEMO_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/${nemo.extensiondir}"; 51 + postInstall = '' 52 + glib-compile-schemas $out/share/glib-2.0/schemas 53 + ''; 56 54 57 - passthru.updateScript = nix-update-script { }; 55 + env.PKG_CONFIG_LIBNEMO_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/${nemo.extensiondir}"; 58 56 59 57 meta = { 60 58 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-seahorse";