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 Nov 2018 18:39:53
Message-Id: 1542479964.d1a72f7f436789219b86f2e51cf0c67359e97e9b.asturm@gentoo
1 commit: d1a72f7f436789219b86f2e51cf0c67359e97e9b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 17:03:34 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 17 18:39:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a72f7f
7
8 dev-libs/appstream: 0.12.3 version bump
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-libs/appstream/Manifest | 1 +
14 dev-libs/appstream/appstream-0.12.3.ebuild | 66 ++++++++++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
18 index ee36d2e416f..a2335c84eef 100644
19 --- a/dev-libs/appstream/Manifest
20 +++ b/dev-libs/appstream/Manifest
21 @@ -1,3 +1,4 @@
22 DIST AppStream-0.12.2.tar.xz 1938868 BLAKE2B 968853e9d5f87ca2c1f894a6ffe5439f7fce611459243cd96d3859a15e225243585a1a43e90d8eca8271b91e1237d94eb4615b5c3c0543d9a37646b5fbd7d2fe SHA512 d5c95309d4fddb961f4a5b9ac460840e34d4bae0e256bd0be09ceeab0d45a3ac5254c9e9c183a1e6cb3983ce0a9d6d0e519908f612a5b135ed578ec26556e53d
23 +DIST AppStream-0.12.3.tar.xz 1940064 BLAKE2B a0160c4a922abfe315bdbfe6b7b32fea8d5eda5631347be4a39dcf102660ad26a3f40c5fed9dd0bdfb1b91956780ff7cf58e61d7f38b03d2f48a5bf67f2871f6 SHA512 3d54bb499e4056d341ffde2878549011708e6699b3ec58756ef2e4080864279ff5e5003224fcbad601007fd9296bb9ed062da7843e3e02272837ecc5d4c802f9
24 DIST appstream-0.10.6.tar.gz 1821879 BLAKE2B 49e0476ef41c37d2e9bb12a7c046fcbb2cd8fcb1f521321dce4cda15e504a966cf59a1cbf56fc7359a82f677c54906ba041ad37eeb7f639ad69691e8d2ccd24c SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256
25 DIST appstream-0.11.5.tar.gz 1856204 BLAKE2B 9f1e423e71e40b569cae0fb259bf5a0203a0abcba64f877c951c941f1dfdbc8005509ca46040586b8937cc168ad9315978dd2a3763592de1686c9648eac6c928 SHA512 308f65df2d03f09a5fdfe1d5b61ed37ddfd73a6f7cd861f685463c45ba17a2a937ba34216b4d5f533cb5f9f56c65ff9b261e03d07aaab74bec3f89e5bfb57d7b
26
27 diff --git a/dev-libs/appstream/appstream-0.12.3.ebuild b/dev-libs/appstream/appstream-0.12.3.ebuild
28 new file mode 100644
29 index 00000000000..f2aa30c08f7
30 --- /dev/null
31 +++ b/dev-libs/appstream/appstream-0.12.3.ebuild
32 @@ -0,0 +1,66 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit meson xdg-utils
39 +
40 +if [[ ${PV} = 9999 ]]; then
41 + inherit git-r3
42 + EGIT_REPO_URI="https://github.com/ximion/${PN}"
43 +else
44 + MY_PN="AppStream"
45 + SRC_URI="https://www.freedesktop.org/software/appstream/releases/${MY_PN}-${PV}.tar.xz"
46 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 + S="${WORKDIR}/${MY_PN}-${PV}"
48 +fi
49 +
50 +DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
51 +HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
52 +
53 +LICENSE="LGPL-2.1+ GPL-2+"
54 +# check as_api_level
55 +SLOT="0/4"
56 +IUSE="apt +introspection qt5 test"
57 +
58 +RDEPEND="
59 + dev-libs/glib:2
60 + dev-libs/libxml2:2
61 + dev-libs/libyaml
62 + dev-libs/snowball-stemmer
63 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
64 + qt5? ( dev-qt/qtcore:5 )
65 +"
66 +DEPEND="${RDEPEND}
67 + app-text/docbook-xml-dtd:4.5
68 + dev-libs/appstream-glib
69 + dev-util/itstool
70 + >=dev-util/meson-0.42.0
71 + >=sys-devel/gettext-0.19.8
72 + qt5? (
73 + dev-qt/linguist-tools:5
74 + test? ( dev-qt/qttest:5 )
75 + )
76 +"
77 +
78 +src_prepare() {
79 + default
80 + sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
81 +}
82 +
83 +src_configure() {
84 + xdg_environment_reset
85 +
86 + local emesonargs=(
87 + -Dapidocs=false
88 + -Ddocs=false
89 + -Dmaintainer=false
90 + -Dstemming=true
91 + -Dvapi=false
92 + -Dapt-support=$(usex apt true false)
93 + -Dgir=$(usex introspection true false)
94 + -Dqt=$(usex qt5 true false)
95 + )
96 +
97 + meson_src_configure
98 +}