Add .pc.in files for all the new extension libraries. Generate .pc files from the new .pc.in files in configure.ac. Install the new .pc files in Makefile.am, and add the new .pc.in files to EXTRA_DIST.
Based on a patch by Vincent Torri. Changes from that patch: add Requires to the .pc.in files based on the <import>s in the extensions, add a .pc.in file for libXCBxtest, change Name and Description fields to match extension names.
This commit is contained in:
parent
1476dcecfd
commit
b825f3385b
45
Makefile.am
45
Makefile.am
|
@ -1,6 +1,47 @@
|
|||
SUBDIRS=src tests
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = xcb.pc
|
||||
|
||||
EXTRA_DIST=xcb.pc.in
|
||||
pkgconfig_DATA = \
|
||||
xcb.pc \
|
||||
xcb-composite.pc \
|
||||
xcb-damage.pc \
|
||||
xcb-dpms.pc \
|
||||
xcb-glx.pc \
|
||||
xcb-randr.pc \
|
||||
xcb-record.pc \
|
||||
xcb-render.pc \
|
||||
xcb-res.pc \
|
||||
xcb-screensaver.pc \
|
||||
xcb-shape.pc \
|
||||
xcb-shm.pc \
|
||||
xcb-sync.pc \
|
||||
xcb-xevie.pc \
|
||||
xcb-xfree86dri.pc \
|
||||
xcb-xfixes.pc \
|
||||
xcb-xprint.pc \
|
||||
xcb-xtest.pc \
|
||||
xcb-xv.pc \
|
||||
xcb-xvmc.pc
|
||||
|
||||
EXTRA_DIST = \
|
||||
xcb.pc.in \
|
||||
xcb-composite.pc.in \
|
||||
xcb-damage.pc.in \
|
||||
xcb-dpms.pc.in \
|
||||
xcb-glx.pc.in \
|
||||
xcb-randr.pc.in \
|
||||
xcb-record.pc.in \
|
||||
xcb-render.pc.in \
|
||||
xcb-res.pc.in \
|
||||
xcb-screensaver.pc.in \
|
||||
xcb-shape.pc.in \
|
||||
xcb-shm.pc.in \
|
||||
xcb-sync.pc.in \
|
||||
xcb-xevie.pc.in \
|
||||
xcb-xfree86dri.pc.in \
|
||||
xcb-xfixes.pc.in \
|
||||
xcb-xprint.pc.in \
|
||||
xcb-xtest.pc.in \
|
||||
xcb-xv.pc.in \
|
||||
xcb-xvmc.pc.in
|
||||
|
|
|
@ -120,6 +120,6 @@ AC_SUBST(CWARNFLAGS)
|
|||
GCC_CHECK_VISIBILITY()
|
||||
|
||||
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile])
|
||||
AC_CONFIG_FILES([xcb.pc])
|
||||
AC_CONFIG_FILES([xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-glx.pc xcb-randr.pc xcb-record.pc xcb-render.pc xcb-res.pc xcb-screensaver.pc xcb-shape.pc xcb-shm.pc xcb-sync.pc xcb-xevie.pc xcb-xfree86dri.pc xcb-xfixes.pc xcb-xprint.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Composite
|
||||
Description: XCB Composite Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb xcb-xfixes
|
||||
Libs: -L${libdir} -lXCBcomposite
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Damage
|
||||
Description: XCB Damage Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb xcb-xfixes
|
||||
Libs: -L${libdir} -lXCBdamage
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB DPMS
|
||||
Description: XCB DPMS Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBdpms
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB GLX
|
||||
Description: XCB GLX Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBglx
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB RandR
|
||||
Description: XCB RandR Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBrandr
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Record
|
||||
Description: XCB Record Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBrecord
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Render
|
||||
Description: XCB Render Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBrender
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Res
|
||||
Description: XCB X-Resource Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBres
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Screensaver
|
||||
Description: XCB Screensaver Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBscreensaver
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Shape
|
||||
Description: XCB Shape Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBshape
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Shm
|
||||
Description: XCB Shm Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBshm
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Sync
|
||||
Description: XCB Sync Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBsync
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Xevie
|
||||
Description: XCB Xevie Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBxevie
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB XFixes
|
||||
Description: XCB XFixes Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb xcb-render xcb-shape
|
||||
Libs: -L${libdir} -lXCBxfixes
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB XFree86-DRI
|
||||
Description: XCB XFree86-DRI Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBxfree86dri
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Xprint
|
||||
Description: XCB Xprint Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBxprint
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB XTEST
|
||||
Description: XCB XTEST Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb
|
||||
Libs: -L${libdir} -lXCBxtest
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB Xv
|
||||
Description: XCB Xv Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb xcb-shm
|
||||
Libs: -L${libdir} -lXCBxv
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XCB XvMC
|
||||
Description: XCB XvMC Extension
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xcb xcb-xv
|
||||
Libs: -L${libdir} -lXCBxvmc
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in New Issue