Commit 3ac89554 authored by Carlos Garnacho's avatar Carlos Garnacho

data: Add DBUS and miner description files

parent c0bf970e
SUBDIRS = src
SUBDIRS = data po src
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to the Gettext package name */
#undef GETTEXT_PACKAGE
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
......
......@@ -23,11 +23,19 @@ PKG_PROG_PKG_CONFIG
LT_INIT([])
# i18n support
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define to the Gettext package name])
AC_SUBST(GETTEXT_PACKAGE)
IT_PROG_INTLTOOL([0.40.0])
#dependencies
PKG_CHECK_MODULES(DEPS, [tracker-miner-1.0 libgdata >= 0.17])
AC_CONFIG_FILES([
Makefile
data/Makefile
src/Makefile
po/Makefile.in
])
AC_OUTPUT
# DBus service
service_in_files = \
org.freedesktop.Tracker1.Miner.Media.service.in
%.service: %.service.in
@sed -e "s|@libexecdir[@]|${libexecdir}|" $< > $@
servicedir = $(datadir)/dbus-1/services
service_DATA = \
org.freedesktop.Tracker1.Miner.Media.service
# Miner description
desktop_in_in_files = \
tracker-miner-media.desktop.in.in
desktop_in_files = \
tracker-miner-media.desktop.in
@INTLTOOL_DESKTOP_RULE@
%.desktop.in: %.desktop.in.in
@sed -e "s|@datadir[@]|$(datadir)|" $< > $@
miner_descdir = $(datadir)/tracker/miners
miner_desc_DATA = \
tracker-miner-media.desktop
EXTRA_DIST = \
$(service_in_files) \
$(desktop_in_in_files)
CLEANFILES = \
$(service_DATA) \
$(desktop_in_files) \
$(miner_desc_DATA)
[D-BUS Service]
Name=org.freedesktop.Tracker1.Miner.Media
Exec=@libexecdir@/tracker-miner-media
[Desktop Entry]
_Name=Media Files
_Comment=Online data extractor for media files
DBusName=org.freedesktop.Tracker1.Miner.Media
DBusPath=/org/freedesktop/Tracker1/Miner/Media
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
[encoding: UTF-8]
data/tracker-miner-media.desktop.in.in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment