add libwebpdecoder.pc

Change-Id: Ifc47549a9fe206fa174236664345d3ee064849f5
This commit is contained in:
James Zern 2013-01-23 13:57:08 -08:00
parent a941a3463e
commit bed1ed7c28
3 changed files with 14 additions and 2 deletions

View File

@ -285,7 +285,7 @@ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile \
src/enc/Makefile src/dsp/Makefile \ src/enc/Makefile src/dsp/Makefile \
src/demux/Makefile src/mux/Makefile \ src/demux/Makefile src/mux/Makefile \
src/utils/Makefile \ src/utils/Makefile \
src/libwebp.pc]) src/libwebp.pc src/libwebpdecoder.pc])
AC_OUTPUT AC_OUTPUT

View File

@ -33,6 +33,7 @@ libwebp_la_LIBADD += utils/libwebputils.la
# symbols in shared libraries to be resolved at library creation. # symbols in shared libraries to be resolved at library creation.
libwebp_la_LDFLAGS = -no-undefined -version-info 4:1:0 libwebp_la_LDFLAGS = -no-undefined -version-info 4:1:0
libwebpincludedir = $(includedir)/webp libwebpincludedir = $(includedir)/webp
pkgconfig_DATA = libwebp.pc
if BUILD_LIBWEBPDECODER if BUILD_LIBWEBPDECODER
libwebpdecoder_la_SOURCES = libwebpdecoder_la_SOURCES =
@ -47,7 +48,7 @@ if BUILD_LIBWEBPDECODER
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 0:0:0 libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 0:0:0
libwebpdecoderincludedir = $(includedir)/webp libwebpdecoderincludedir = $(includedir)/webp
pkgconfig_DATA += libwebpdecoder.pc
endif endif
pkgconfig_DATA = libwebp.pc
${pkgconfig_DATA}: ${top_builddir}/config.status ${pkgconfig_DATA}: ${top_builddir}/config.status

11
src/libwebpdecoder.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libwebpdecoder
Description: Library for the WebP graphics format (decode only)
Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lwebpdecoder
Libs.private: -lm