aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-31 10:22:09 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-31 18:26:24 +0100
commit25797335153a5d9e9827745463fe849e96a78dfd (patch)
tree01f556233eb186ca52c3e9d313241c468890fa56 /meson.build
parentmeson - ethumb - fix build and install of service files for ethumb (diff)
downloadefl-25797335153a5d9e9827745463fe849e96a78dfd.tar.gz
meson: allow setting of custom pc variables
this brings the theme directory to the elementary .pc file. Differential Revision: https://phab.enlightenment.org/D7224
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index d06f148a8e..94b7876841 100644
--- a/meson.build
+++ b/meson.build
@@ -241,6 +241,8 @@ foreach package : subprojects
pub_eo_file_target = []
#private eo files target - never use this :)
priv_eo_file_target = []
+ #use this variable to store custom variables in that should be placed in the .pc file
+ package_pc_variables = []
foreach static_lib : package[9]
if get_variable(static_lib, tmp_empty) == tmp_empty
@@ -290,6 +292,7 @@ foreach package : subprojects
version : version_major + '.' + version_minor,
libraries : tmp_pub_deps,
requires : package[8],
+ variables : package_pc_variables
)
if package_name == 'ethumb_client'
pkgconfig.generate(tmp_lib,