diff options
author | Mike Sharov <msharov@users.sourceforge.net> | 2022-06-02 13:27:48 -0400 |
---|---|---|
committer | Mike Sharov <msharov@users.sourceforge.net> | 2022-06-02 13:27:48 -0400 |
commit | 816407655f75cf8ae505432cb743c316e009679d (patch) | |
tree | dbf3de1f889fa82a726ef8c1b1312589dd5a7c0d | |
parent | c2c4a2cd1947e559718acdba19ef6e7db731dbeb (diff) |
Build DOUBLE-BUFFER extension.
Signed-off-by: Mike Sharov <msharov@users.sourceforge.net>
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | src/.gitignore | 1 | ||||
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | xcb-dbe.pc.in | 11 |
5 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index fbf6e04..499c652 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,6 +12,9 @@ endif if BUILD_DAMAGE pkgconfig_DATA += xcb-damage.pc endif +if BUILD_DBE +pkgconfig_DATA += xcb-dbe.pc +endif if BUILD_DPMS pkgconfig_DATA += xcb-dpms.pc endif diff --git a/configure.ac b/configure.ac index 4198a50..a644b05 100644 --- a/configure.ac +++ b/configure.ac @@ -221,6 +221,7 @@ esac XCB_EXTENSION(Composite, yes) XCB_EXTENSION(Damage, yes) +XCB_EXTENSION(Dbe, yes) XCB_EXTENSION(DPMS, yes) XCB_EXTENSION(DRI2, yes) XCB_EXTENSION(DRI3, $have_sendmsg) @@ -273,6 +274,7 @@ AC_CONFIG_FILES([ xcb.pc xcb-composite.pc xcb-damage.pc +xcb-dbe.pc xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc @@ -321,6 +323,7 @@ echo "" echo " X11 extensions" echo " Composite...........: ${BUILD_COMPOSITE}" echo " Damage..............: ${BUILD_DAMAGE}" +echo " Dbe.................: ${BUILD_DBE}" echo " Dpms................: ${BUILD_DPMS}" echo " Dri2................: ${BUILD_DRI2}" echo " Dri3................: ${BUILD_DRI3}" diff --git a/src/.gitignore b/src/.gitignore index 7c69ebe..56d3bbd 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,6 +1,7 @@ bigreq.* composite.* damage.* +dbe.* dpms.* dri2.* dri3.* diff --git a/src/Makefile.am b/src/Makefile.am index c2984b3..9861a2d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -40,6 +40,14 @@ libxcb_damage_la_LIBADD = $(XCB_LIBS) nodist_libxcb_damage_la_SOURCES = damage.c damage.h endif +EXTSOURCES += dbe.c +if BUILD_DBE +lib_LTLIBRARIES += libxcb-dbe.la +libxcb_dbe_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@ +libxcb_dbe_la_LIBADD = $(XCB_LIBS) +nodist_libxcb_dbe_la_SOURCES = dbe.c dbe.h +endif + EXTSOURCES += dpms.c if BUILD_DPMS lib_LTLIBRARIES += libxcb-dpms.la diff --git a/xcb-dbe.pc.in b/xcb-dbe.pc.in new file mode 100644 index 0000000..05df0d5 --- /dev/null +++ b/xcb-dbe.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: XCB Dbe +Description: XCB Double Buffer Extension +Version: @PACKAGE_VERSION@ +Requires.private: xcb +Libs: -L${libdir} -lxcb-dbe +Cflags: -I${includedir} |