diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-08 09:46:28 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-07-23 15:36:59 -0700 |
commit | 0366572c58a85558f9dc7229e74b9a0397becc89 (patch) | |
tree | 776b9bdf5e425dad5a1c850e042482e1c7124666 | |
parent | 63a79d1d087f5121b07510692bf6dd8207d0c0d7 (diff) |
Add a pkgconfig file for libXvMCW
Mesa needs to link with this for testing, as do others presumably.
Having a pkg-config file makes this much easier
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110735
v2: - remove xv from Requires and Requires.private
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | xvmc-wrapper.pc.in | 12 |
3 files changed, 15 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index f83504e..b07aa31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,7 @@ SUBDIRS = src include wrapper pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = xvmc.pc +pkgconfig_DATA = xvmc.pc xvmc-wrapper.pc dist_doc_DATA = XvMC_API.txt diff --git a/configure.ac b/configure.ac index 8d5a937..03137ef 100644 --- a/configure.ac +++ b/configure.ac @@ -61,5 +61,6 @@ AC_CONFIG_FILES([Makefile include/X11/extensions/Makefile src/Makefile wrapper/Makefile - xvmc.pc]) + xvmc.pc + xvmc-wrapper.pc]) AC_OUTPUT diff --git a/xvmc-wrapper.pc.in b/xvmc-wrapper.pc.in new file mode 100644 index 0000000..9a81328 --- /dev/null +++ b/xvmc-wrapper.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: XvMCWrapper +Description: XvMC wrapper library +Version: @PACKAGE_VERSION@ +Requires: xproto videoproto +Requires.private: x11 xext +Cflags: -I${includedir} +Libs: -L${libdir} -lXvMCW |