Files
gentoo/dev-libs/libxmlb/libxmlb-0.1.8.ebuild
Lars Wendler ecf8ae024f dev-libs/libxmlb: Bump to version 0.1.8
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2019-03-28 17:00:17 +01:00

43 lines
903 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="Library to help create and query binary XML blobs"
HOMEPAGE="https://github.com/hughsie/libxmlb"
SRC_URI="https://github.com/hughsie/libxmlb/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="doc introspection stemmer test"
RDEPEND="
dev-libs/glib:2
sys-apps/util-linux
stemmer? ( dev-libs/snowball-stemmer )
"
DEPEND="
${RDEPEND}
doc? ( dev-util/gtk-doc )
introspection? ( dev-libs/gobject-introspection )
"
BDEPEND="
>=dev-util/meson-0.47.0
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Dgtkdoc="$(usex doc true false)"
-Dintrospection="$(usex introspection true false)"
-Dstemmer="$(usex stemmer true false)"
-Dtests="$(usex test true false)"
)
meson_src_configure
}