desktop: add a desktop file

This commit is contained in:
Stefan Sauer 2011-01-14 22:41:20 +02:00
parent 1820645be8
commit edc72ea10e
4 changed files with 26 additions and 2 deletions

View file

@ -29,6 +29,10 @@ AC_SUBST(GETTEXT_PACKAGE)
AM_GNU_GETTEXT_VERSION([0.18.1]) AM_GNU_GETTEXT_VERSION([0.18.1])
AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT([external])
dnl check for desktop utilities
AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database)
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
src/Makefile src/Makefile

View file

@ -1,4 +1,4 @@
[encoding: UTF-8] [encoding: UTF-8]
src/gst-mi.desktop.in
src/mi.vala src/mi.vala
src/mi-app.vala src/mi-app.vala

View file

@ -22,7 +22,19 @@ gst_mi_LDADD = \
pixmapsdir=$(pkgdatadir)/ui/icons pixmapsdir=$(pkgdatadir)/ui/icons
pixmaps_DATA=gst-mi.png pixmaps_DATA=gst-mi.png
EXTRA_DIST = gst-mi.png iconsdir=$(datadir)/pixmaps/
icons_DATA=gst-mi.png
desktopdir = $(datadir)/applications/
desktop_DATA = gst-mi.desktop
@INTLTOOL_DESKTOP_RULE@
install-data-hook:
test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
uninstall-local:
test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
EXTRA_DIST = gst-mi.png gst-mi.desktop
BUILT_SOURCES = $(gst_mi_SOURCES:.vala=.c) BUILT_SOURCES = $(gst_mi_SOURCES:.vala=.c)

View file

@ -0,0 +1,8 @@
[Desktop Entry]
_Name=GStreamer Media Info
_Comment=Quickly browse, play and analyze media files
StartupNotify=true
Exec=gst-mi
Icon=gst-mi
Type=Application
Categories=GNOME;GTK;AudioVideo;