Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream/
Date: Sun, 10 Sep 2017 13:24:24
Message-Id: 1505049854.d0be4bfdef54a4d6cfbbc2a28590b51fe77b70ef.johu@gentoo
1 commit: d0be4bfdef54a4d6cfbbc2a28590b51fe77b70ef
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 10 13:23:20 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 10 13:24:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0be4bfd
7
8 dev-libs/appstream: Version bump 0.11.5
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 dev-libs/appstream/Manifest | 1 +
13 dev-libs/appstream/appstream-0.11.5.ebuild | 59 ++++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
17 index 8ed7a4687aa..beef2220c8e 100644
18 --- a/dev-libs/appstream/Manifest
19 +++ b/dev-libs/appstream/Manifest
20 @@ -1 +1,2 @@
21 DIST appstream-0.10.6.tar.gz 1821879 SHA256 cac8f86a375eda4df06375732af80f2bb7e8682ea0d1e72ddd9e20e9c84b9444 SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256 WHIRLPOOL d895df7b6682eb2834ee24504e5bb7924a492317800094282eb38ad17a28995d9dcbde4925522272dacf6cff738847d333eb00d1f86c8c088baf257da74c505b
22 +DIST appstream-0.11.5.tar.gz 1856204 SHA256 5ba7e87040805c38a14201984e1ab0dc383ac537766bef0cea63e38575937872 SHA512 308f65df2d03f09a5fdfe1d5b61ed37ddfd73a6f7cd861f685463c45ba17a2a937ba34216b4d5f533cb5f9f56c65ff9b261e03d07aaab74bec3f89e5bfb57d7b WHIRLPOOL e5d825db7a112c27a9b8692c1f1dc4c94f2f00749153b43662271a67d5af297c3ddcf16b3864401cabd013f388377e6dff5cd6593a266c2db825fcf7c8b99a87
23
24 diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild
25 new file mode 100644
26 index 00000000000..20780653a43
27 --- /dev/null
28 +++ b/dev-libs/appstream/appstream-0.11.5.ebuild
29 @@ -0,0 +1,59 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit meson xdg-utils
36 +
37 +if [[ ${PV} = 9999 ]]; then
38 + inherit git-r3
39 + EGIT_REPO_URI="https://github.com/ximion/${PN}"
40 +else
41 + inherit versionator
42 + MY_PV="$(replace_all_version_separators '_')"
43 + MY_P="APPSTREAM_${MY_PV}"
44 + SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
45 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 + S="${WORKDIR}/${PN}-${MY_P}"
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 doc qt5 test"
56 +
57 +RDEPEND="
58 + dev-libs/glib:2
59 + dev-libs/gobject-introspection
60 + dev-libs/libxml2:2
61 + dev-libs/libyaml
62 + dev-libs/snowball-stemmer
63 + qt5? ( dev-qt/qtcore:5 )
64 +"
65 +DEPEND="${RDEPEND}
66 + app-text/docbook-xml-dtd:4.5
67 + dev-util/itstool
68 + sys-devel/gettext
69 + test? (
70 + qt5? ( dev-qt/qttest:5 )
71 + )
72 +"
73 +
74 +src_configure() {
75 + xdg_environment_reset
76 +
77 + local emesonargs=(
78 + -Denable-docs=false
79 + -Denable-maintainer=false
80 + -Denable-stemming=true
81 + -Denable-vapi=false
82 + -Denable-apt-support=$(usex apt true false)
83 + -Denable-apidocs=$(usex doc true false)
84 + -Denable-qt=$(usex qt5 true false)
85 + )
86 +
87 + meson_src_configure
88 +}