cmake: wire up check and check-func with valgrind

Add a valgrind-* counterpart for each target. Note that the
valgrind-check-func seems to leak like a sleeve yet I'm
suspecting that part of it is due to cmocka :P

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
gitignore: Ignore libcmocka.a

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
pkg/archlinux: Add PKGBUILD for waffle-git

This allows us to easily prototype the PKGBUILD for upcoming releases.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
cmake: drop the LINK_INTERFACE_LIBRARIES hack

It was added in order to silence Debian's packagin system which
detected that wflinfo has unused direct deps (is overlinked).
Properly annotate waffle's libdeps as PRIVATE this way they won't
get propagated to wflinfo and other objects that link against
libwaffle.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
cmake: remove empty LDFLAGS

We don't check for xcb or x11 so these two are undefined(empty).
The check for x11-xcb is independent and has nothing to do with
setting up these two.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
cmake: do not over-link

In the cases where we have the dependencies/libs of a waffle back-end,
and wish you opt-out of it we currently link against the library.
Avoid that an honour the user selection.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
doc: Add final touches to 1.4.0 release notes

Remove the "draft" notice and update commit numbers. That's all.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
waffle: Bump version to 1.4.0

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>