meson: install compat ethumb_client.pc file
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 3 Oct 2018 16:06:33 +0000 (18:06 +0200)
committerYeongjong Lee <yj34.lee@samsung.com>
Thu, 8 Nov 2018 06:40:43 +0000 (15:40 +0900)
in autotools this was not having the same naming convetion than in meson
right now. This installs a duplicated .pc file, so the one with the
different name can be dropped at some point.

Fix terminology compilation.

Differential Revision: https://phab.enlightenment.org/D7132

meson.build

index 72c48b8..0f026b3 100644 (file)
@@ -267,6 +267,15 @@ foreach package : subprojects
         libraries : tmp_pub_deps,
         requires : package[8],
       )
+      if package_name == 'ethumb_client'
+        pkgconfig.generate(tmp_lib,
+          name : package_name,
+          subdirs : package_version_name,
+          version : version_major + '.' + version_minor,
+          libraries : tmp_pub_deps,
+          requires : package[8],
+        )
+      endif
     endif
   else
     message(package_name+' disabled!')