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: Sun, 20 Jan 2019 19:03:40
Message-Id: 1548010452.066922fe7d06ab3ff4b1e3ed03b33d057262ecf3.asturm@gentoo
1 commit: 066922fe7d06ab3ff4b1e3ed03b33d057262ecf3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 19 13:59:31 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 20 18:54:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=066922fe
7
8 dev-libs/appstream: 0.12.4 version bump
9
10 Package-Manager: Portage-2.3.56, 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.4.ebuild | 67 ++++++++++++++++++++++++++++++
15 2 files changed, 68 insertions(+)
16
17 diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
18 index 68f4f428e76..be435a028d4 100644
19 --- a/dev-libs/appstream/Manifest
20 +++ b/dev-libs/appstream/Manifest
21 @@ -1 +1,2 @@
22 DIST AppStream-0.12.3.tar.xz 1940064 BLAKE2B a0160c4a922abfe315bdbfe6b7b32fea8d5eda5631347be4a39dcf102660ad26a3f40c5fed9dd0bdfb1b91956780ff7cf58e61d7f38b03d2f48a5bf67f2871f6 SHA512 3d54bb499e4056d341ffde2878549011708e6699b3ec58756ef2e4080864279ff5e5003224fcbad601007fd9296bb9ed062da7843e3e02272837ecc5d4c802f9
23 +DIST AppStream-0.12.4.tar.xz 1944416 BLAKE2B 3a315b167084f9f6d8f50a86fa2853444a12beb63e3c7e77bf97c861e1a31dd7fd5ff9c4406d0da1b551b1fbb366531740cd4efdde354b857613507c06eabe62 SHA512 8a7a10b0c577a22b89e0b5505415d5b799f3316b4c87b0a2a9281e7b2672e041225896ac847781504b2828c5ed8a250e3a0558355df838d58e174a984b04e3d0
24
25 diff --git a/dev-libs/appstream/appstream-0.12.4.ebuild b/dev-libs/appstream/appstream-0.12.4.ebuild
26 new file mode 100644
27 index 00000000000..315dc0c2acd
28 --- /dev/null
29 +++ b/dev-libs/appstream/appstream-0.12.4.ebuild
30 @@ -0,0 +1,67 @@
31 +# Copyright 1999-2019 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 + MY_PN="AppStream"
43 + SRC_URI="https://www.freedesktop.org/software/appstream/releases/${MY_PN}-${PV}.tar.xz"
44 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 + S="${WORKDIR}/${MY_PN}-${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 +introspection qt5 test"
55 +
56 +BDEPEND="
57 + app-text/docbook-xml-dtd:4.5
58 + dev-libs/appstream-glib
59 + dev-util/itstool
60 + >=dev-util/meson-0.42.0
61 + >=sys-devel/gettext-0.19.8
62 + test? (
63 + dev-qt/linguist-tools:5
64 + qt5? ( dev-qt/qttest:5 )
65 + )
66 +"
67 +DEPEND="
68 + dev-libs/glib:2
69 + dev-libs/libxml2:2
70 + dev-libs/libyaml
71 + dev-libs/snowball-stemmer
72 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
73 + qt5? ( dev-qt/qtcore:5 )
74 +"
75 +RDEPEND="${DEPEND}"
76 +
77 +src_prepare() {
78 + default
79 + sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
80 +}
81 +
82 +src_configure() {
83 + xdg_environment_reset
84 +
85 + local emesonargs=(
86 + -Dapidocs=false
87 + -Ddocs=false
88 + -Dmaintainer=false
89 + -Dstemming=true
90 + -Dvapi=false
91 + -Dapt-support=$(usex apt true false)
92 + -Dgir=$(usex introspection true false)
93 + -Dqt=$(usex qt5 true false)
94 + )
95 +
96 + meson_src_configure
97 +}