From 26ca843d71d599a5d22284cb3d81cc25731b272f Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 4 Mar 2013 19:14:06 -0800 Subject: [PATCH 1/2] add libwebpdemux.pc Change-Id: I991fc30b5287016066fae1ba11ec842c88994c41 --- configure.ac | 3 ++- src/demux/Makefile.am | 1 + src/demux/libwebpdemux.pc.in | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/demux/libwebpdemux.pc.in diff --git a/configure.ac b/configure.ac index 51cc0bfa..eb477709 100644 --- a/configure.ac +++ b/configure.ac @@ -283,7 +283,8 @@ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \ src/enc/Makefile src/dsp/Makefile \ src/demux/Makefile src/mux/Makefile \ src/utils/Makefile \ - src/libwebp.pc src/libwebpdecoder.pc]) + src/libwebp.pc src/libwebpdecoder.pc \ + src/demux/libwebpdemux.pc]) AC_OUTPUT diff --git a/src/demux/Makefile.am b/src/demux/Makefile.am index f070808b..2084c80c 100644 --- a/src/demux/Makefile.am +++ b/src/demux/Makefile.am @@ -10,3 +10,4 @@ libwebpdemuxinclude_HEADERS += ../webp/types.h libwebpdemux_la_LDFLAGS = -version-info 0:0:0 libwebpdemuxincludedir = $(includedir)/webp +pkgconfig_DATA = libwebpdemux.pc diff --git a/src/demux/libwebpdemux.pc.in b/src/demux/libwebpdemux.pc.in new file mode 100644 index 00000000..6dfbbbde --- /dev/null +++ b/src/demux/libwebpdemux.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libwebpdemux +Description: Library for parsing the WebP graphics format container +Version: @PACKAGE_VERSION@ +Requires: libwebp >= 0.2.0 +Cflags: -I${includedir} +Libs: -L${libdir} -lwebpdemux From 1bfcf5bf42d923d0077de8b651301e431fde76d4 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 4 Mar 2013 19:17:33 -0800 Subject: [PATCH 2/2] add libwebpmux.pc Change-Id: If21e3ec73f2eb451c6042d1aecda8d03259f601f --- configure.ac | 2 +- src/mux/Makefile.am | 1 + src/mux/libwebpmux.pc.in | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/mux/libwebpmux.pc.in diff --git a/configure.ac b/configure.ac index eb477709..546dad91 100644 --- a/configure.ac +++ b/configure.ac @@ -284,7 +284,7 @@ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \ src/demux/Makefile src/mux/Makefile \ src/utils/Makefile \ src/libwebp.pc src/libwebpdecoder.pc \ - src/demux/libwebpdemux.pc]) + src/demux/libwebpdemux.pc src/mux/libwebpmux.pc]) AC_OUTPUT diff --git a/src/mux/Makefile.am b/src/mux/Makefile.am index bc07f7a6..4480426a 100644 --- a/src/mux/Makefile.am +++ b/src/mux/Makefile.am @@ -13,3 +13,4 @@ libwebpmuxinclude_HEADERS += ../webp/types.h libwebpmux_la_LDFLAGS = -version-info 0:0:0 libwebpmuxincludedir = $(includedir)/webp +pkgconfig_DATA = libwebpmux.pc diff --git a/src/mux/libwebpmux.pc.in b/src/mux/libwebpmux.pc.in new file mode 100644 index 00000000..8f87dfe5 --- /dev/null +++ b/src/mux/libwebpmux.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libwebpmux +Description: Library for manipulating the WebP graphics format container +Version: @PACKAGE_VERSION@ +Requires: libwebp >= 0.2.0 +Cflags: -I${includedir} +Libs: -L${libdir} -lwebpmux