From 2ef45c46a8fc3135dfb2286734ed64a740d27793 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 16 Feb 2017 22:32:15 +0100 Subject: [PATCH] Add small pkg-config file that can be used by plugins. --- Makefile.am | 6 ++++++ configure.ac | 2 +- pkgconfig/rofi.pc.in | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pkgconfig/rofi.pc.in diff --git a/Makefile.am b/Makefile.am index 930f812c..508244b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,12 @@ AM_YFLAGS = -d noinst_LIBRARIES = include $(top_srcdir)/libgwater-xcb-nolibtool.mk +## +# PKG CONFIG file +## +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = pkgconfig/rofi.pc + BUILT_SOURCES=\ lexer/theme-parser.h\ diff --git a/configure.ac b/configure.ac index 74538e17..1c1d76a2 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ dnl Add extra compiler flags dnl --------------------------------------------------------------------- AC_SUBST([AM_CFLAGS]) -AC_CONFIG_FILES([Makefile doc/rofi.doxy]) +AC_CONFIG_FILES([Makefile doc/rofi.doxy pkgconfig/rofi.pc]) AC_OUTPUT dnl ----------------------------------------------- diff --git a/pkgconfig/rofi.pc.in b/pkgconfig/rofi.pc.in new file mode 100644 index 00000000..54a4fdb4 --- /dev/null +++ b/pkgconfig/rofi.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + + +Name: rofi +Description: Header files for rofi plugins +Requires: +Version: @VERSION@ +Cflags: -I${includedir}/