# Copyright 1999-2022 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="6" inherit webos-cmake webos-github cmake-utils DESCRIPTION="The Open webOS logging library, private interface" HOMEPAGE="https://github.com/openwebos/pmloglib" KEYWORDS="x86 amd64 ~arm" LICENSE="Apache-2.0" IUSE="-loggingon -parseonly" DEPEND="dev-libs/glib dev-libs/libpbnjson parseonly? ( dev-libs/nyx-lib ) " SLOT="private" src_configure() { mycmakeargs+=( $(cmake-utils_use_enable loggingon LOGGING) $(cmake-utils_use parseonly PARSE_DEFAULT_ONLY) -DBUILD_PRIVATE:BOOL=ON ) webos-cmake_src_configure }