mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 06:08:03 +02:00
Merge branch 'add-xorgproto-pc' into 'master'
build: Add a meta xorgproto.pc See merge request xorg/proto/xorgproto!76
This commit is contained in:
commit
4405016e26
4 changed files with 13 additions and 0 deletions
|
|
@ -357,6 +357,9 @@ xwaylandprotopkgconfig_DATA = xwaylandproto.pc
|
|||
|
||||
dist_doc_DATA += xwaylandproto.txt
|
||||
|
||||
xorgprotopkgconfigdir = $(datadir)/pkgconfig
|
||||
xorgprotopkgconfig_DATA = xorgproto.pc
|
||||
|
||||
if LEGACY
|
||||
XCalibrateincludedir = $(includedir)/X11/extensions
|
||||
XCalibrateinclude_HEADERS = \
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@ AC_CONFIG_FILES([applewmproto.pc
|
|||
xf86rushproto.pc
|
||||
xf86vidmodeproto.pc
|
||||
xineramaproto.pc
|
||||
xorgproto.pc
|
||||
xproto.pc
|
||||
xproxymngproto.pc
|
||||
xwaylandproto.pc])
|
||||
|
|
|
|||
|
|
@ -51,12 +51,14 @@ pcs = [
|
|||
'xf86driproto',
|
||||
'xf86vidmodeproto',
|
||||
'xineramaproto',
|
||||
'xorgproto',
|
||||
'xproto',
|
||||
'xwaylandproto',
|
||||
]
|
||||
|
||||
pc_data = configuration_data()
|
||||
pc_data.set('prefix', get_option('prefix'))
|
||||
pc_data.set('PACKAGE_VERSION', meson.project_version())
|
||||
# meson does not allow installing the includedir outside of the prefix
|
||||
pc_data.set('includedir', '${prefix}/' + get_option('includedir'))
|
||||
|
||||
|
|
|
|||
7
xorgproto.pc.in
Normal file
7
xorgproto.pc.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
prefix=@prefix@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: XorgProto
|
||||
Description: X Window System unified protocol headers
|
||||
Version: @PACKAGE_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
Loading…
Add table
Reference in a new issue