diff --git a/configure.ac b/configure.ac index 51cc0bfa..546dad91 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 src/mux/libwebpmux.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 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