diff options
author | Dennis Real <github@tildepipe.org> | 2013-02-02 20:53:23 +0100 |
---|---|---|
committer | Dennis Real <github@tildepipe.org> | 2013-02-02 20:53:23 +0100 |
commit | 353578ebc130f53547996ab87f5b3795c1360f3f (patch) | |
tree | 8a19969f7eb377f692892e24c24ba116940ba942 /share/applications | |
parent | 38c3c37b5c45691211ed62e40a6c5f503b054335 (diff) | |
parent | 6ea43a3213bb264525e04c729c67204f82c7a2c8 (diff) | |
download | feh-353578ebc130f53547996ab87f5b3795c1360f3f.zip |
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'share/applications')
-rw-r--r-- | share/applications/Makefile | 24 | ||||
-rw-r--r-- | share/applications/feh.pre | 10 |
2 files changed, 34 insertions, 0 deletions
diff --git a/share/applications/Makefile b/share/applications/Makefile new file mode 100644 index 0000000..d57e33d --- /dev/null +++ b/share/applications/Makefile @@ -0,0 +1,24 @@ +include ../../config.mk + +SOURCES = ${shell echo *.pre} +TARGETS = ${SOURCES:.pre=.desktop} + +all: ${TARGETS} + +.pre.desktop: + sed \ + -e 's/\$$VERSION\$$/${VERSION}/g' \ + -e 's/\$$DATE\$$/'"$$(date '+%B %d, %Y')"/g \ + -e 's/\$$MAN_CURL\$$/${MAN_CURL}/' \ + -e 's/\$$MAN_DEBUG\$$/${MAN_DEBUG}/' \ + -e 's/\$$MAN_EXIF\$$/${MAN_EXIF}/' \ + -e 's/\$$MAN_XINERAMA\$$/${MAN_XINERAMA}/' \ + -e 's:\$$IMAGEDIR\$$:${image_dir}:' \ + < ${@:.desktop=.pre} > $@ + +clean: + rm -f *.desktop + +.SUFFIXES: .pre .desktop + +.PHONY: clean diff --git a/share/applications/feh.pre b/share/applications/feh.pre new file mode 100644 index 0000000..d7b22c7 --- /dev/null +++ b/share/applications/feh.pre @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Feh +Comment=Fast Imlib2-based Image Viewer +Exec=feh %f +Terminal=false +Type=Application +Icon=$IMAGEDIR$/logo.svg +Categories=Graphics;2DGraphics;Viewer; +MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-tga;image/x-xbitmap; +Name[en_US]=feh |