diff options
Diffstat (limited to 'dev-libs/appstream-glib/appstream-glib-0.7.9.ebuild')
-rw-r--r-- | dev-libs/appstream-glib/appstream-glib-0.7.9.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/dev-libs/appstream-glib/appstream-glib-0.7.9.ebuild b/dev-libs/appstream-glib/appstream-glib-0.7.9.ebuild new file mode 100644 index 00000000..bd56c70f --- /dev/null +++ b/dev-libs/appstream-glib/appstream-glib-0.7.9.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit xdg meson + +DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata" +HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/" +SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0/8" # soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc +introspection stemmer" + +RDEPEND=" + >=dev-libs/glib-2.45.8:2 + sys-apps/util-linux + app-arch/libarchive + >=net-libs/libsoup-2.51.92:2.4 + >=dev-libs/json-glib-1.1.2 + >=x11-libs/gdk-pixbuf-2.31.5:2[introspection?] + app-arch/gcab + + x11-libs/gtk+:3 + >=media-libs/freetype-2.4:2 + >=media-libs/fontconfig-2.11:1.0 + dev-libs/libyaml + stemmer? ( dev-libs/snowball-stemmer ) + x11-libs/pango + introspection? ( >=dev-libs/gobject-introspection-0.9.8:= ) +" +# libxml2 required for glib-compile-resources +DEPEND="${RDEPEND} + dev-util/gperf + + dev-libs/libxml2:2 + app-text/docbook-xml-dtd:4.2 + dev-libs/libxslt + doc? ( + >=dev-util/gtk-doc-1.9 + app-text/docbook-xml-dtd:4.3 + ) + >=sys-devel/gettext-0.19.7 +" +# ${PN} superseeds appdata-tools +RDEPEND="${RDEPEND} + !<dev-util/appdata-tools-0.1.8-r1 +" + +PATCHES=( "${FILESDIR}/${P}-missing-stdint_h.patch" ) + +src_configure() { + local emesonargs=( + -Ddep11=true + -Dbuilder=true + -Drpm=false + -Dalpm=false + -Dfonts=true + $(meson_use stemmer) + -Dman=true + $(meson_use doc gtk-doc) + $(meson_use introspection) + ) + meson_src_configure +} |