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