From 4ee2559eaaf2a94ac26c265517e9604a72729360 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sun, 11 Dec 2011 13:11:15 +0100 Subject: moved from Mate-Extra --- gstreamer-properties/Makefile.am | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 gstreamer-properties/Makefile.am (limited to 'gstreamer-properties/Makefile.am') diff --git a/gstreamer-properties/Makefile.am b/gstreamer-properties/Makefile.am new file mode 100644 index 0000000..3f0dbbd --- /dev/null +++ b/gstreamer-properties/Makefile.am @@ -0,0 +1,48 @@ +SUBDIRS = . help +bin_PROGRAMS = mate-gstreamer-properties + +mate_gstreamer_properties_LDADD = $(GSTPROPS_LIBS) +mate_gstreamer_properties_SOURCES = \ + gstreamer-properties.c gstreamer-properties-structs.h \ + pipeline-tests.h pipeline-tests.c \ + pipeline-constants.c + +@INTLTOOL_DESKTOP_RULE@ + +iconsdir = $(datadir)/mate-gstreamer-properties/icons +icons_DATA = gstreamer-properties.png + +desktop_iconsdir = $(datadir)/icons/mate/48x48/apps +desktop_icons_DATA = gstreamer-properties.png + +uidir = $(datadir)/mate-gstreamer-properties/ +ui_DATA = gstreamer-properties.ui + +desktopdir = $(datadir)/applications +Desktop_in_files = mate-gstreamer-properties.desktop.in.in +desktop_DATA = $(Desktop_in_files:.desktop.in.in=.desktop) + +AM_CPPFLAGS = \ + $(GSTPROPS_CFLAGS) \ + -DGSTPROPS_UIDIR=\""$(uidir)"\" \ + -DGSTPROPS_ICONDIR=\""$(iconsdir)"\" \ + -DDATADIR=\""$(datadir)"\" \ + -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ + -DG_LOG_DOMAIN="\"gstreamer-properties\"" \ + $(DISABLE_DEPRECATED) + +CLEANFILES = $(GSTPROPS_CLEANFILES) $(desktop_DATA) +DISTCLEANFILES = $(Desktop_in_files:.desktop.in.in=.desktop.in) +EXTRA_DIST = $(icons_DATA) $(ui_DATA) $(Desktop_in_files) + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +install-data-hook: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** $(gtk_update_icon_cache)"; \ + fi + +-include $(top_srcdir)/git.mk -- cgit v1.2.1