discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=416daffe5ec36d5bbc46486742b4066c13989233

commit 416daffe5ec36d5bbc46486742b4066c13989233
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jun 30 16:03:03 2017 -0400

    efl-wl: add .pc file
---
 Makefile.am            |  4 ++++
 configure.ac           |  1 +
 pc/efl-wl.pc.in        | 12 ++++++++++++
 src/Makefile_efl_wl.am |  2 +-
 4 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 56de42d63a..939687bfda 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -265,6 +265,10 @@ if HAVE_ECORE_WL2
 pkgconfig_DATA += pc/ecore-wl2.pc
 endif
 
+if HAVE_EFL_WL
+pkgconfig_DATA += pc/efl-wl.pc
+endif
+
 if HAVE_WIN32
 pkgconfig_DATA += pc/ecore-win32.pc
 endif
diff --git a/configure.ac b/configure.ac
index 14b0a58a11..7f8b05979f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5709,6 +5709,7 @@ pc/ecore-psl1ght.pc
 pc/ecore-sdl.pc
 pc/ecore-wayland.pc
 pc/ecore-wl2.pc
+pc/efl-wl.pc
 pc/ecore-win32.pc
 pc/ecore-x.pc
 pc/ecore-evas.pc
diff --git a/pc/efl-wl.pc.in b/pc/efl-wl.pc.in
new file mode 100644
index 0000000000..dfc9a69a35
--- /dev/null
+++ b/pc/efl-wl.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: efl-wl
+Description: EFL Wayland compositor widget
+Requires.private: @requirements_pc_efl_wl@
+Version: @VERSION@
+Libs: -L${libdir} -lefl_wl
+Libs.private: @requirements_libs_efl_wl@
+Cflags: -I${includedir}/efl-@VMAJ@ -I${includedir}/efl-wl-@VMAJ@
diff --git a/src/Makefile_efl_wl.am b/src/Makefile_efl_wl.am
index ea05d2a4d6..d5e14e30ce 100644
--- a/src/Makefile_efl_wl.am
+++ b/src/Makefile_efl_wl.am
@@ -1,4 +1,4 @@
-if HAVE_ECORE_WL2
+if HAVE_EFL_WL
 
 lib_LTLIBRARIES += lib/efl_wl/libefl_wl.la
 

-- 


Reply via email to