Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream-glib/
Date: Sun, 06 Nov 2022 18:26:00
Message-Id: 1667759150.2afca2ff37835ea702abee03122204ebb54afb69.mattst88@gentoo
1 commit: 2afca2ff37835ea702abee03122204ebb54afb69
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 15:36:00 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 18:25:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2afca2ff
7
8 dev-libs/appstream-glib: Version bump to 0.8.2
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/appstream-glib/Manifest | 1 +
13 .../appstream-glib/appstream-glib-0.8.2.ebuild | 63 ++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-libs/appstream-glib/Manifest b/dev-libs/appstream-glib/Manifest
17 index d33923c1aa9a..c232ef7e06a3 100644
18 --- a/dev-libs/appstream-glib/Manifest
19 +++ b/dev-libs/appstream-glib/Manifest
20 @@ -1 +1,2 @@
21 DIST appstream-glib-0.8.1.tar.xz 2320596 BLAKE2B de8d68c541cd6700fff0bc22a71d59510ccf584ac1380e2aed3e5aa122825cb3087d65b42ac1dc35acbd4b171382d9560545cdeaffa9d6bda721784444bf7a36 SHA512 32462a32ea25c945abb8d9084af1c84850f264b3a2136c6f54444e0168acf0d74ee450f8cbf483a504e417dc29b85a2e9bbc0a5bb8a217296eccacaa02db5ef5
22 +DIST appstream-glib-0.8.2.tar.xz 2320880 BLAKE2B 6c3c90298ae8bf362caea8c46643afaaab0bb0071271f5244eeca9356ed96a6a956c1b2ffa4a8500201e4bc494a54a15b3db4937b81c6f5f8b80f83299ac58ee SHA512 c9c21049ab43f5da8595aa07a3c2e097163a05b5e0fc030e4e3326136cd18127f04ad9edf08c12aea823b89048b43808cc60759cc26fcf2541cd9c1acbb29e28
23
24 diff --git a/dev-libs/appstream-glib/appstream-glib-0.8.2.ebuild b/dev-libs/appstream-glib/appstream-glib-0.8.2.ebuild
25 new file mode 100644
26 index 000000000000..27c3f6959920
27 --- /dev/null
28 +++ b/dev-libs/appstream-glib/appstream-glib-0.8.2.ebuild
29 @@ -0,0 +1,63 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit xdg meson
36 +
37 +DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata"
38 +HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/ https://github.com/hughsie/appstream-glib"
39 +SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz"
40 +
41 +LICENSE="LGPL-2.1+"
42 +SLOT="0/8" # soname version
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE="gtk-doc fonts +introspection stemmer"
45 +
46 +RDEPEND="
47 + >=dev-libs/glib-2.58.0:2
48 + sys-apps/util-linux
49 + app-arch/libarchive:=
50 + >=net-misc/curl-7.56.0
51 + >=dev-libs/json-glib-1.1.2
52 + >=x11-libs/gdk-pixbuf-2.31.5:2[introspection?]
53 +
54 + fonts? (
55 + x11-libs/gtk+:3
56 + >=media-libs/freetype-2.4:2
57 + )
58 + >=media-libs/fontconfig-2.11:1.0
59 + dev-libs/libyaml
60 + stemmer? ( dev-libs/snowball-stemmer:= )
61 + x11-libs/pango
62 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
63 +"
64 +DEPEND="${RDEPEND}"
65 +# libxml2 required for glib-compile-resources
66 +BDEPEND="
67 + dev-util/gperf
68 +
69 + dev-libs/libxml2:2
70 + app-text/docbook-xml-dtd:4.2
71 + dev-libs/libxslt
72 + gtk-doc? (
73 + >=dev-util/gtk-doc-1.9
74 + app-text/docbook-xml-dtd:4.3
75 + )
76 + >=sys-devel/gettext-0.19.8
77 +"
78 +
79 +src_configure() {
80 + local emesonargs=(
81 + -Ddep11=true
82 + -Dbuilder=true
83 + -Drpm=false
84 + -Dalpm=false
85 + $(meson_use fonts)
86 + $(meson_use stemmer)
87 + -Dman=true
88 + $(meson_use gtk-doc)
89 + $(meson_use introspection)
90 + )
91 + meson_src_configure
92 +}