Browse Source

Provide DES-EMA desktop files.

Provide two desktop files conforming to the DES-EMA
specification to add context menu entries to libfm-based
file managers.
master
Damien Goutte-Gattat 2 years ago
parent
commit
9c287a4a2c
  1. 1
      .gitignore
  2. 2
      Makefile.am
  3. 2
      configure.ac
  4. 15
      extra/Makefile.am
  5. 8
      extra/decrypt.desktop.in
  6. 8
      extra/encrypt.desktop.in

1
.gitignore

@ -18,3 +18,4 @@ src/*.o
src/.deps
src/yki
src/resources.c
extra/*.desktop

2
Makefile.am

@ -1,4 +1,4 @@
SUBDIRS = src
SUBDIRS = src extra
ACLOCAL_AMFLAGS = -I m4 --install

2
configure.ac

@ -28,7 +28,7 @@ AM_PATH_GPGME([],
[AC_MSG_ERROR([libgpgme not found])])
dnl Output files
AC_CONFIG_FILES([Makefile src/Makefile])
AC_CONFIG_FILES([Makefile src/Makefile extra/Makefile])
AC_OUTPUT
dnl Summary

15
extra/Makefile.am

@ -0,0 +1,15 @@
pkgdata_DATA = encrypt.desktop decrypt.desktop
dist_noinst_DATA = encrypt.desktop.in decrypt.desktop.in
encrypt.desktop decrypt.desktop: Makefile
rm -f $@
srcdir=''; \
test -f ./@.in || srcdir=$(srcdir)/; \
sed -e 's|@bindir[@]|$(bindir)|g' $${srcdir}$@.in >$@
encrypt.desktop: $(srcdir)/encrypt.desktop.in
decrypt.desktop: $(srcdir)/decrypt.desktop.in
CLEANFILES = encrypt.desktop decrypt.desktop

8
extra/decrypt.desktop.in

@ -0,0 +1,8 @@
[Desktop Entry]
Name = Decrypt/Verify
Profiles = on_file
[X-Action-Profile on_file]
MimeTypes = application/pgp-encrypted
SelectionCount = 1
Exec = @bindir@/yki -d %f

8
extra/encrypt.desktop.in

@ -0,0 +1,8 @@
[Desktop Entry]
Name = Encrypt/Sign
Profiles = on_file
[X-Action-Profile on_file]
MimeTypes = all/allfiles; !application/pgp-encrypted;
SelectionCount = 1
Exec = @bindir@/yki -e %f
Loading…
Cancel
Save