[gnome-video-effects] add a pkgconfig file



commit 4499a5be65c0a929450c0d63ea416bca4b9b57ab
Author: daniel g. siegel <dgsiegel gnome org>
Date:   Fri Jul 30 15:16:57 2010 +0200

    add a pkgconfig file
    
    other applications can now use the pkgconfig file to see
    whether the effects are installed and to get the place of
    the actual effects, which is defined by the variable
    ${effectsdir}

 .gitignore                |    1 +
 Makefile.am               |    8 ++++++++
 configure.ac              |    1 +
 gnome-video-effects.pc.in |    7 +++++++
 4 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ac275f1..1db625c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ omf.make
 _build_
 *.swp
 *.effect
+gnome-video-effects.pc
diff --git a/Makefile.am b/Makefile.am
index 3109f53..dd28122 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,14 @@ EXTRA_DIST = \
 	README \
 	$(NULL)
 
+CLEANFILES = gnome-video-effects.pc
+
+DISTCLEANFILES = \
+	gnome-doc-utils.make
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gnome-video-effects.pc
+
 dist-hook:
 	@if test -d "$(srcdir)/.git"; \
 	then \
diff --git a/configure.ac b/configure.ac
index 7a3bfe5..b3cb337 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ AC_PROG_LN_S
 
 AC_OUTPUT([
 Makefile
+gnome-video-effects.pc
 effects/Makefile
 po/Makefile.in
 ])
diff --git a/gnome-video-effects.pc.in b/gnome-video-effects.pc.in
new file mode 100644
index 0000000..a6de8ad
--- /dev/null
+++ b/gnome-video-effects.pc.in
@@ -0,0 +1,7 @@
+prefix = @prefix@
+datarootdir = @datarootdir@
+effectsdir = ${datarootdir}/gnome-video-effects
+
+Name: gnome-video-effects
+Description: A collection of GStreamer effects to be used in different GNOME Modules
+Version: @VERSION@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]