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 8 months ago
parent
commit
9c287a4a2c
6 changed files with 34 additions and 2 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      Makefile.am
  3. +1
    -1
      configure.ac
  4. +15
    -0
      extra/Makefile.am
  5. +8
    -0
      extra/decrypt.desktop.in
  6. +8
    -0
      extra/encrypt.desktop.in

+ 1
- 0
.gitignore View File

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

+ 1
- 1
Makefile.am View File

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


+ 1
- 1
configure.ac View File

@ -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
- 0
extra/Makefile.am View File

@ -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
- 0
extra/decrypt.desktop.in View File

@ -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
- 0
extra/encrypt.desktop.in View File

@ -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