Tirsdag 17 marts 2009 skrev Dan Dennedy:

> BTW, I have committed a change in MLT to add /usr/lib64/frei0r-1 to
> the plugin path.

Would it be an idea to add .pc support to frei0r? I have made the attached 
patch - it allows you to do
$ pkg-config --cflags frei0r-1
-I/tmp/ged/include
$ pkg-config --libs frei0r-1
-L/tmp/ged/lib/frei0r-1 -lm
$ pkg-config --libs-only-L frei0r-1
-L/tmp/ged/lib/frei0r-1
$ pkg-config --variable=pkglibdir frei0r-1
/tmp/ged/lib/frei0r-1

(I would bring this patch to the frei0r folks if it useful to you - and 
obviously, mlt needs to use it, just wanted your thoughts).

Please note, this is my first try ever to diff against a git repo - hopefully 
I have managed to run the correct command... (And, this was tested without 
gavl/whatever installed - might need a bit more polishing, if that is 
installed?).

Regards

Mads

-- 
Mads Bondo Dydensborg   [email protected]   http://www.madsdydensborg.dk/

You may not use the Software in connection with any site that disparages
Microsoft, MSN, MSNBC, Expedia, or their products or services, infringe any
intellectual property or other rights of these parties, violate any state,
federal or international law, or promote racism, hatred or pornography. 
                                     - Part of MS Frontpage 2002 EULA

diff --git a/Makefile.am b/Makefile.am
index 8e8dbf9..2042e8e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,3 +10,6 @@
 
 SUBDIRS=src include doc
 EXTRA_DIST = Doxyfile
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = frei0r-1.pc
diff --git a/configure.ac b/configure.ac
index ed440a9..08d34d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,7 @@ AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue])
 
 AC_CONFIG_FILES([
   Makefile
+  frei0r-1.pc
   include/Makefile
   src/Makefile
   doc/Makefile
diff --git a/frei0r-1.pc.in b/frei0r-1.pc.in
new file mode 100644
index 0000000..384a6d7
--- /dev/null
+++ b/frei0r-1.pc.in
@@ -0,0 +1,17 @@
+pref...@prefix@
+exec_pref...@exec_prefix@
+#pkglibd...@libdir@/@PACKAGE@
+pkglibd...@libdir@/frei0r-1
+pkgincluded...@includedir@
+versi...@version@
+#cfla...@cflags@
+cflags...@includedir@
+li...@libs@
+
+#Name: @PACKAGE@
+Name: frei0r-1
+Description: A minimalistic plugin API for video effect
+Version: ${version}
+Requires:
+Libs: -lm -L${pkglibdir} ${libs}
+Cflags: ${cflags}
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to