diff options
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/.gitignore | 1 | ||||
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | xcb-present.pc.in | 11 |
5 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b70f3de..b54d399 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,9 @@ endif if BUILD_GLX pkgconfig_DATA += xcb-glx.pc endif +if BUILD_PRESENT +pkgconfig_DATA += xcb-present.pc +endif if BUILD_RANDR pkgconfig_DATA += xcb-randr.pc endif diff --git a/configure.ac b/configure.ac index 7cc4bbb..aca5b1b 100644 --- a/configure.ac +++ b/configure.ac @@ -193,6 +193,7 @@ XCB_EXTENSION(DPMS, "yes") XCB_EXTENSION(DRI2, "yes") XCB_EXTENSION(DRI3, "$have_sendmsg") XCB_EXTENSION(GLX, "yes") +XCB_EXTENSION(Present, "yes") XCB_EXTENSION(RandR, "yes") XCB_EXTENSION(Record, "yes") XCB_EXTENSION(Render, "yes") @@ -238,6 +239,7 @@ xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc xcb-glx.pc +xcb-present.pc xcb-randr.pc xcb-record.pc xcb-render.pc diff --git a/src/.gitignore b/src/.gitignore index 71a7341..a2a9010 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -5,6 +5,7 @@ dpms.* dri2.* dri3.* glx.* +present.* randr.* record.* render.* diff --git a/src/Makefile.am b/src/Makefile.am index 9d6d246..346ee03 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -64,6 +64,14 @@ libxcb_dri3_la_LIBADD = $(XCB_LIBS) nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h endif +EXTSOURCES += present.c +if BUILD_PRESENT +lib_LTLIBRARIES += libxcb-present.la +libxcb_present_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ +libxcb_present_la_LIBADD = $(XCB_LIBS) +nodist_libxcb_present_la_SOURCES = present.c present.h +endif + EXTSOURCES += glx.c if BUILD_GLX lib_LTLIBRARIES += libxcb-glx.la diff --git a/xcb-present.pc.in b/xcb-present.pc.in new file mode 100644 index 0000000..848ac02 --- /dev/null +++ b/xcb-present.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: XCB Present +Description: XCB Present Extension +Version: @PACKAGE_VERSION@ +Requires: xcb +Libs: -L${libdir} -lxcb-present +Cflags: -I${includedir} |