dev-libs/libxmlb: Initial commit.
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 9 Nov 2018 12:17:32 +0000 (13:17 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 9 Nov 2018 12:26:22 +0000 (13:26 +0100)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
dev-libs/libxmlb/Manifest [new file with mode: 0644]
dev-libs/libxmlb/libxmlb-0.1.4.ebuild [new file with mode: 0644]
dev-libs/libxmlb/metadata.xml [new file with mode: 0644]

diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest
new file mode 100644 (file)
index 0000000..c5b8981
--- /dev/null
@@ -0,0 +1 @@
+DIST libxmlb-0.1.4.tar.gz 82036 BLAKE2B 26adc2a33e0e63c6340127cb25dffa62d88d1c1ea6c760fcd54189ecd899f4d27547194e3e6ebc9d638dcba384fb2435e832915d5e75018f9f03ca7dbecdd878 SHA512 58b5f51fe0d6c6bc9f8e960f26ef79f3fb437f6802505d4e216e6bb32f95bd134f3230056dbc922bd5cf734ce1ef2278a2931653c1653cfca9baf6ddcdf38b78
diff --git a/dev-libs/libxmlb/libxmlb-0.1.4.ebuild b/dev-libs/libxmlb/libxmlb-0.1.4.ebuild
new file mode 100644 (file)
index 0000000..d066a42
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 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 ~x86"
+IUSE="doc introspection stemmer test"
+
+RDEPEND="
+       dev-libs/glib:2
+       sys-apps/util-linux
+       stemmer? ( dev-libs/snowball-stemmer )
+"
+
+DEPEND="
+       ${RDEPEND}
+       >=dev-util/meson-0.47.0
+       doc? ( dev-util/gtk-doc )
+       introspection? ( dev-libs/gobject-introspection )
+"
+
+BDEPEND="
+       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
+}
diff --git a/dev-libs/libxmlb/metadata.xml b/dev-libs/libxmlb/metadata.xml
new file mode 100644 (file)
index 0000000..1fda232
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>polynomial-c@gentoo.org</email>
+    <name>Lars Wendler</name>
+  </maintainer>
+  <use>
+    <flag name="stemmer">Enable language stemming support</flag>
+  </use>
+  <upstream>
+    <remote-id type="github">hughsie/libxmlb</remote-id>
+  </upstream>
+</pkgmetadata>