Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream/
Date: Mon, 28 Jun 2021 12:32:47
Message-Id: 1624883546.07895ebe4a7764390e12104c9cc3bb67ef26cc92.asturm@gentoo
1 commit: 07895ebe4a7764390e12104c9cc3bb67ef26cc92
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 28 11:48:37 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 28 12:32:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07895ebe
7
8 dev-libs/appstream: 0.14.4 version bump
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/appstream/Manifest | 1 +
14 dev-libs/appstream/appstream-0.14.4.ebuild | 77 ++++++++++++++++++++++++++++++
15 2 files changed, 78 insertions(+)
16
17 diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
18 index 8bb471ce7ea..0d4d2a947cb 100644
19 --- a/dev-libs/appstream/Manifest
20 +++ b/dev-libs/appstream/Manifest
21 @@ -1 +1,2 @@
22 DIST AppStream-0.14.3.tar.xz 2277536 BLAKE2B 99ceae6873c189b289143c8ab59eaacfbadbbe7cf05db96079c00ba09c82aeac63f4436e1b9e54b8d172aa7e9f609583cf2a78d3f44ce880cb1a326034432563 SHA512 b4c41b44375091636cc46e2f7f5e0b86612474faa6d55010caee78cb9c9ac468d093cf261184d900be7aae8513dc72d2821ff9ee17786e123c86a928ce5e9135
23 +DIST AppStream-0.14.4.tar.xz 2309444 BLAKE2B 0c1fd20a01d0fe59d1b1ff029e4fbddbf9cea833d4665549480744e48dc0b3615b0d507278c75025c99ccda21b97e25e62496ecfc49dbe6527132f5dad5d6ad5 SHA512 86bd98e94f3e730d37030be31c6ea0000ba12b35e13778458c0f50bad75babf8c8e93b62492a2546a42f750f91ae81f3456d04e63ad9a4acb804cf38493440a4
24
25 diff --git a/dev-libs/appstream/appstream-0.14.4.ebuild b/dev-libs/appstream/appstream-0.14.4.ebuild
26 new file mode 100644
27 index 00000000000..ff3c834181f
28 --- /dev/null
29 +++ b/dev-libs/appstream/appstream-0.14.4.ebuild
30 @@ -0,0 +1,77 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit meson xdg-utils
37 +
38 +if [[ ${PV} = *9999* ]]; then
39 + inherit git-r3
40 + EGIT_REPO_URI="https://github.com/ximion/${PN}"
41 +else
42 + SRC_URI="https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz"
43 + S="${WORKDIR}/AppStream-${PV}"
44 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
45 +fi
46 +
47 +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
48 +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
49 +
50 +LICENSE="LGPL-2.1+ GPL-2+"
51 +# check as_api_level
52 +SLOT="0/4"
53 +IUSE="apt doc +introspection qt5 test"
54 +RESTRICT="test" # bug 691962
55 +
56 +RDEPEND="
57 + dev-db/lmdb:=
58 + >=dev-libs/glib-2.58:2
59 + dev-libs/libxml2:2
60 + dev-libs/libyaml
61 + dev-libs/snowball-stemmer
62 + net-misc/curl
63 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
64 + qt5? ( dev-qt/qtcore:5 )
65 +"
66 +DEPEND="${RDEPEND}
67 + test? ( qt5? ( dev-qt/qttest:5 ) )
68 +"
69 +BDEPEND="
70 + dev-libs/appstream-glib
71 + dev-libs/libxslt
72 + dev-util/itstool
73 + >=sys-devel/gettext-0.19.8
74 + doc? ( app-text/docbook-xml-dtd:4.5 )
75 + test? ( dev-qt/linguist-tools:5 )
76 +"
77 +
78 +PATCHES=(
79 + "${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774
80 +)
81 +
82 +src_prepare() {
83 + default
84 + sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
85 + if ! use test; then
86 + sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944
87 + fi
88 +}
89 +
90 +src_configure() {
91 + xdg_environment_reset
92 +
93 + local emesonargs=(
94 + -Dapidocs=false
95 + -Ddocs=false
96 + -Dcompose=false
97 + -Dmaintainer=false
98 + -Dstemming=true
99 + -Dvapi=false
100 + -Dapt-support=$(usex apt true false)
101 + -Dinstall-docs=$(usex doc true false)
102 + -Dgir=$(usex introspection true false)
103 + -Dqt=$(usex qt5 true false)
104 + )
105 +
106 + meson_src_configure
107 +}