mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
desktop: add a desktop file
This commit is contained in:
parent
1820645be8
commit
edc72ea10e
4 changed files with 26 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
8
mediainfo/src/gst-mi.desktop.in
Normal file
8
mediainfo/src/gst-mi.desktop.in
Normal 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;
|
Loading…
Reference in a new issue