Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ostree/
Date: Sun, 09 Jan 2022 19:04:24
Message-Id: 1641755052.1b60fbacf024008bc4e9e94c728760ff4f2c487b.zmedico@gentoo
1 commit: 1b60fbacf024008bc4e9e94c728760ff4f2c487b
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 19:02:02 2022 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 9 19:04:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b60fbac
7
8 dev-util/ostree: Bump to version 2022.1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-util/ostree/Manifest | 1 +
14 dev-util/ostree/ostree-2022.1.ebuild | 106 +++++++++++++++++++++++++++++++++++
15 2 files changed, 107 insertions(+)
16
17 diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
18 index bcac13a4cd6b..bcc1443a42e6 100644
19 --- a/dev-util/ostree/Manifest
20 +++ b/dev-util/ostree/Manifest
21 @@ -1,3 +1,4 @@
22 DIST ostree-2021.3.tar.xz 2089804 BLAKE2B 5df33b676173b1ec08ac7592d4ddf8e3bfdcd84df1b3ce19e2f24c85780fed1f210b8adce1baf4ec87869c72984502276bf6e5a72268daaae6ce9b3d6dc6f88b SHA512 0df0d8f9bd82b16562dd5146997eddfb7cb6cffc1886601307d97a1cb1dc926bda7d0c899db26c974ed0dff1012dee11937e47c11c4d03307fa3d2d430adc60e
23 DIST ostree-2021.4.tar.xz 2048424 BLAKE2B 386ed38f6dc8035a429505d8392682f739bc9a57a8cf9d7960942cd0ff0b61eee314116866c3b520d802a3f16f6dfecd1ea45a7b1d44cac8d065ad56a1ed2c2f SHA512 9bde7281afa456b30253149639854f579c1f1bdf6c429059eeb69042515b5ebfdf6426b4c9780ca8e700a11f0ec05cfc03e48baa8d0858ddbca7d3942aab9bbd
24 DIST ostree-2021.5.tar.xz 2049572 BLAKE2B 946e863470e53a27f9936e224e2fdf00aa70c47d141b4101e00935f597aee037fd60d0d5660e7f41cb7a3fc7051a5f286a96e10a16b7f35da2be26c29c745346 SHA512 73d463e9cfaa027ac640051615b312c1800e71b2587e33cbae1e60356cb3c3f5d4afcda8ace680636ebd1d112061f2a8a7c25c46aa24a1b260244451157ffe8a
25 +DIST ostree-2022.1.tar.xz 2101172 BLAKE2B 52f6723acfb2889ef232f0fdec39fc50a879b110fcc89aa318dc0eb336e50ef2c3cc0d4df4319601b6198b7789da3605a55979d0c9ee31029ae47832b0cb385f SHA512 73da367d3b9b5facc5ba894bd0f9297a7fc688fa69871b668e6568663fefc1f44433c8be352d57c23153b09144c6535e52d8c184a2ab103190ec37dc1abc2818
26
27 diff --git a/dev-util/ostree/ostree-2022.1.ebuild b/dev-util/ostree/ostree-2022.1.ebuild
28 new file mode 100644
29 index 000000000000..7d7c40cdc1c4
30 --- /dev/null
31 +++ b/dev-util/ostree/ostree-2022.1.ebuild
32 @@ -0,0 +1,106 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools systemd
39 +
40 +DESCRIPTION="Operating system and container binary deployment and upgrades"
41 +HOMEPAGE="https://ostreedev.github.io/ostree/"
42 +SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
43 +
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
45 +LICENSE="LGPL-2+"
46 +SLOT="0"
47 +
48 +IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf"
49 +RESTRICT+=" test"
50 +REQUIRED_USE="
51 + dracut? ( systemd )
52 + http2? ( curl )
53 + httpd? ( || ( curl soup ) )
54 +"
55 +
56 +COMMON_DEPEND="
57 + app-arch/xz-utils
58 + dev-libs/libassuan
59 + dev-libs/glib:2
60 + >=sys-fs/fuse-2.9.2:0
61 + sys-libs/zlib
62 + archive? ( app-arch/libarchive:= )
63 + curl? ( net-misc/curl )
64 + dracut? ( sys-kernel/dracut )
65 + gpg? (
66 + app-crypt/gpgme
67 + dev-libs/libgpg-error
68 + )
69 + grub? ( sys-boot/grub:2= )
70 + introspection? ( dev-libs/gobject-introspection )
71 + libmount? ( sys-apps/util-linux )
72 + selinux? ( sys-libs/libselinux )
73 + sodium? ( >=dev-libs/libsodium-1.0.14:= )
74 + soup? ( net-libs/libsoup:2.4 )
75 + ssl? (
76 + gnutls? ( net-libs/gnutls:= )
77 + !gnutls? (
78 + dev-libs/openssl:0=
79 + )
80 + )
81 + systemd? ( sys-apps/systemd:0= )
82 + zeroconf? ( net-dns/avahi[dbus] )"
83 +
84 +DEPEND="${COMMON_DEPEND}
85 + app-text/docbook-xsl-stylesheets
86 + dev-libs/libxslt
87 + doc? ( dev-util/gtk-doc )"
88 +
89 +RDEPEND="${COMMON_DEPEND}"
90 +BDEPEND="
91 + dev-util/glib-utils
92 + sys-devel/flex
93 + sys-devel/bison
94 + virtual/pkgconfig"
95 +
96 +S="${WORKDIR}/lib${P}"
97 +
98 +src_prepare() {
99 + sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
100 + -i Makefile.in Makefile-man.am || die
101 + eautoreconf
102 + default
103 +}
104 +
105 +src_configure() {
106 + local econfargs=(
107 + --enable-man
108 + --enable-shared
109 + $(use_with archive libarchive)
110 + $(use_with curl)
111 + $(use_with dracut dracut yesbutnoconf) #816867
112 + $(use_enable doc gtk-doc)
113 + $(usex introspection --enable-introspection={,} yes no)
114 + $(use_with gpg gpgme)
115 + $(use_enable http2)
116 + $(use_enable httpd trivial-httpd-cmdline)
117 + $(use_with selinux )
118 + $(use_with soup)
119 + $(use_with libmount)
120 + $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
121 + $(use_with sodium ed25519-libsodium)
122 + $(use_with systemd libsystemd)
123 + $(use_with zeroconf avahi)
124 + )
125 +
126 + if use systemd; then
127 + econfargs+=(--with-systemdsystemunitdir="$(systemd_get_systemunitdir)")
128 + fi
129 +
130 + unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
131 + econf "${econfargs[@]}"
132 +}
133 +
134 +src_install() {
135 + default
136 + find "${D}" -name '*.la' -delete || die
137 + rm -f "${ED}/etc/grub.d/15_ostree"
138 +}