Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream-glib/
Date: Wed, 13 Feb 2019 22:56:29
Message-Id: 1550098399.30332ccabb1da46d888942548454a786126dd562.leio@gentoo
1 commit: 30332ccabb1da46d888942548454a786126dd562
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 13 22:52:41 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 13 22:53:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30332cca
7
8 dev-libs/appstream-glib: bump to 0.7.14, move to USE=gtk-doc
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/appstream-glib/Manifest | 1 +
14 .../appstream-glib/appstream-glib-0.7.14.ebuild | 64 ++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/dev-libs/appstream-glib/Manifest b/dev-libs/appstream-glib/Manifest
18 index 5ac9a0b1cf2..5ef5563c926 100644
19 --- a/dev-libs/appstream-glib/Manifest
20 +++ b/dev-libs/appstream-glib/Manifest
21 @@ -1 +1,2 @@
22 +DIST appstream-glib-0.7.14.tar.xz 2239240 BLAKE2B d99788b3349df6f40c5dd3d5a6fb90446d1885569c04aedde9848f41916a1407f8397c416e34e87164bad2fa2e71bc93849901b829e71839d0aa1911ca73e485 SHA512 b2b01e529032a684b7864d6c330e9cbefdfe6a4312dc5d2cde8cbe82875218a0d4dc92a4c3129e45605571ab77482a86470d7336c360a0070ea029a1090a60d5
23 DIST appstream-glib-0.7.9.tar.xz 2245728 BLAKE2B fb6f54329bed91f1acaa6218b111fd4527dff7ed412a89cb44a6e4f6cdfb7e0fe4e6f9fb37b6cdc2efa75164dccef323b6d7428a63b08369b941d36b0b9071f0 SHA512 d78cb6f11cad01d67cb33f16e987485177d20b78a8b21cfbabb64ce7b18b813c0d2d1de2faeea199fdc31d12633e899a5596a6cf133cb831a4377d641f79eb7d
24
25 diff --git a/dev-libs/appstream-glib/appstream-glib-0.7.14.ebuild b/dev-libs/appstream-glib/appstream-glib-0.7.14.ebuild
26 new file mode 100644
27 index 00000000000..9a5b5da340f
28 --- /dev/null
29 +++ b/dev-libs/appstream-glib/appstream-glib-0.7.14.ebuild
30 @@ -0,0 +1,64 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit xdg meson
37 +
38 +DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata"
39 +HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/"
40 +SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0/8" # soname version
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="gtk-doc +introspection stemmer"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.45.8:2
49 + sys-apps/util-linux
50 + app-arch/libarchive
51 + >=net-libs/libsoup-2.51.92:2.4
52 + >=dev-libs/json-glib-1.1.2
53 + >=x11-libs/gdk-pixbuf-2.31.5:2[introspection?]
54 +
55 + x11-libs/gtk+:3
56 + >=media-libs/freetype-2.4:2
57 + >=media-libs/fontconfig-2.11:1.0
58 + dev-libs/libyaml
59 + stemmer? ( dev-libs/snowball-stemmer )
60 + x11-libs/pango
61 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
62 +"
63 +# libxml2 required for glib-compile-resources
64 +DEPEND="${RDEPEND}
65 + dev-util/gperf
66 +
67 + dev-libs/libxml2:2
68 + app-text/docbook-xml-dtd:4.2
69 + dev-libs/libxslt
70 + gtk-doc? (
71 + >=dev-util/gtk-doc-1.9
72 + app-text/docbook-xml-dtd:4.3
73 + )
74 + >=sys-devel/gettext-0.19.7
75 +"
76 +# ${PN} superseeds appdata-tools
77 +RDEPEND="${RDEPEND}
78 + !<dev-util/appdata-tools-0.1.8-r1
79 +"
80 +
81 +src_configure() {
82 + local emesonargs=(
83 + -Ddep11=true
84 + -Dbuilder=true
85 + -Drpm=false
86 + -Dalpm=false
87 + -Dfonts=true
88 + $(meson_use stemmer)
89 + -Dman=true
90 + $(meson_use gtk-doc)
91 + $(meson_use introspection)
92 + )
93 + meson_src_configure
94 +}