3
0
Fork 0
forked from mirrors/nixpkgs

gnome-encfs-manager: init at 1.8.15

This commit is contained in:
Michael Raitza 2015-10-27 22:45:57 +00:00
parent e0c5ee37db
commit 03b7e8248f
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs
, glib , gnome3, gtk3, libgnome_keyring, vala, wrapGAppsHook, xorg }:
stdenv.mkDerivation rec {
version = "1.8.15";
name = "gnome-encfs-manager-${version}";
src = fetchurl {
url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz";
sha256 = "1iryli6fgw6a45abkrjacfac7dwjhbrhw652rqf0s183373db0mx";
};
buildInputs = [ autoconf automake intltool libtool pkgconfig vala glib encfs
gtk3 libgnome_keyring gnome3.libgee_1 xorg.libSM xorg.libICE
wrapGAppsHook ];
patches = [ ./makefile-mkdir.patch ];
preConfigure = ''
./autogen.sh
'';
configureFlags = [ "--disable-appindicator" ];
preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)'';
meta = with stdenv.lib; {
homepage = http://www.libertyzero.com/GEncfsM/;
description = "EncFS manager and mounter with GNOME3 integration";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.spacefrogg ];
};
}

View file

@ -0,0 +1,14 @@
--- a/dist/Makefile.am
+++ b/dist/Makefile.am
@@ -10,9 +10,9 @@ install-data-hook:
chmod 0755 $(shell find $(dist) -type d)
chmod 0644 $(shell find $(dist) -type f)
chmod 0755 $(shell find "scripts" -type f)
- test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/"
+ test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/"
cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/"
- test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)"
+ test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)"
cp --parent -rf $(dist) "$(gencfsmdir)"
cp --parent -rf $(icons) $(DESTDIR)$(datadir)

View file

@ -843,6 +843,8 @@ let
fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };
gencfsm = callPackage ../tools/security/gencfsm { };
gist = callPackage ../tools/text/gist { };
gmic = callPackage ../tools/graphics/gmic { };