blob: a60f18f217dacd5870ba5c341b575febc408a0eb [file] [log] [blame]
From c950588f3e9188aa51e2cd3b9346bf346ad34118 Mon Sep 17 00:00:00 2001
From: Luca Bigliardi <shammash@artha.org>
Date: Thu, 09 Apr 2009 15:10:53 +0000
Subject: Add pkg-config support
---
diff --git a/Makefile.am b/Makefile.am
index 8e8dbf9..511dbc0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,3 +10,7 @@
SUBDIRS=src include doc
EXTRA_DIST = Doxyfile
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = frei0r.pc
+
diff --git a/configure.ac b/configure.ac
index ed440a9..49d65b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ fi
AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue])
AC_CONFIG_FILES([
+ frei0r.pc
Makefile
include/Makefile
src/Makefile
diff --git a/frei0r.pc.in b/frei0r.pc.in
new file mode 100644
index 0000000..3bd60da
--- a/dev/null
+++ b/frei0r.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: frei0r
+Description: minimalistic plugin API for video effects
+Version: @VERSION@
+Libs:
+Cflags: -I${includedir}
+
--
cgit v0.7.2-83-g9ec5