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: Sat, 17 Aug 2019 12:06:29
Message-Id: 1566043569.32b13a7b0551a93f756ec3285e2187ddde774375.asturm@gentoo
1 commit: 32b13a7b0551a93f756ec3285e2187ddde774375
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 17 10:59:16 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 17 12:06:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b13a7b
7
8 dev-libs/appstream: 0.12.8 version bump
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/appstream/Manifest | 1 +
14 dev-libs/appstream/appstream-0.12.8.ebuild | 71 ++++++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
18 index 47d00781da9..4324a80882f 100644
19 --- a/dev-libs/appstream/Manifest
20 +++ b/dev-libs/appstream/Manifest
21 @@ -1,2 +1,3 @@
22 DIST AppStream-0.12.6.tar.xz 1953604 BLAKE2B 28b03a935b8c203f2ac2c52c1de8317cc899f2b81b00e83e2eb858dbd185a985ce608ba3f6b1c35f084b4ee91946a4870c89d6b0c0a4c6fd32a938558e3997f1 SHA512 c19cd89ba39aff5afa2ff6d5fca72581a8624463c33011b11036526db98392ff5aa6c0f599682e90fdee29b8732538cf96c20b66965016b96f60b3f899d722bb
23 DIST AppStream-0.12.7.tar.xz 1958948 BLAKE2B 51a70395e4801ceeb3e97ac081f4c45be242cca14728f8efc5eec0d4b3cfa4cc9fab9ef7429c18e9bbb0dedb693a847258be1b11491155658a6ffa2a28358e35 SHA512 53ca7ebde3fcd345a895527da2ac5d829a09f25d28836a867b500282fba3465bde657cd75a4030cb831022f7a0d9f50aadb36078d62924e4d0edad6bfe3c5561
24 +DIST AppStream-0.12.8.tar.xz 1992072 BLAKE2B ae1d6801119798f360b7eae36b0c46b0511a93ae00adb2437e7dda830d5293c622b04475664055bee392dc824f398d42c6a0a4000392f82fc8bdfc828fa0295e SHA512 4354ef1840d919102647feffc38687f508b14fe9c047c868448347d888aa821dd8a4d25787a2ffb55247f8e9e20e9e03ba330ad74ad61d476be0c414c04a7c30
25
26 diff --git a/dev-libs/appstream/appstream-0.12.8.ebuild b/dev-libs/appstream/appstream-0.12.8.ebuild
27 new file mode 100644
28 index 00000000000..cbbde57065d
29 --- /dev/null
30 +++ b/dev-libs/appstream/appstream-0.12.8.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2019 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 + MY_PN="AppStream"
44 + SRC_URI="https://www.freedesktop.org/software/appstream/releases/${MY_PN}-${PV}.tar.xz"
45 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 + S="${WORKDIR}/${MY_PN}-${PV}"
47 +fi
48 +
49 +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
50 +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
51 +
52 +LICENSE="LGPL-2.1+ GPL-2+"
53 +# check as_api_level
54 +SLOT="0/4"
55 +IUSE="apt +introspection qt5 test"
56 +
57 +BDEPEND="
58 + app-text/docbook-xml-dtd:4.5
59 + dev-libs/appstream-glib
60 + dev-util/itstool
61 + >=dev-util/meson-0.42.0
62 + >=sys-devel/gettext-0.19.8
63 + test? (
64 + dev-qt/linguist-tools:5
65 + qt5? ( dev-qt/qttest:5 )
66 + )
67 +"
68 +DEPEND="
69 + dev-db/lmdb:=
70 + >=dev-libs/glib-2.54:2
71 + dev-libs/libxml2:2
72 + dev-libs/libyaml
73 + dev-libs/snowball-stemmer
74 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
75 + qt5? ( dev-qt/qtcore:5 )
76 +"
77 +RDEPEND="${DEPEND}"
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 + -Dgir=$(usex introspection true false)
98 + -Dqt=$(usex qt5 true false)
99 + )
100 +
101 + meson_src_configure
102 +}