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, 04 Oct 2020 19:19:49
Message-Id: 1601838990.c21111531ad46fa9fc0c9e46bdc6de497c561b0b.zmedico@gentoo
1 commit: c21111531ad46fa9fc0c9e46bdc6de497c561b0b
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Wed Sep 30 13:24:38 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 19:16:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2111153
7
8 dev-util/ostree: Version updated to 2020.6.
9
10 Closes: https://bugs.gentoo.org/730360
11 Closes: https://github.com/gentoo/gentoo/pull/17718
12 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
13 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
14
15 dev-util/ostree/Manifest | 1 +
16 dev-util/ostree/ostree-2020.6.ebuild | 90 ++++++++++++++++++++++++++++++++++++
17 2 files changed, 91 insertions(+)
18
19 diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
20 index 5211bf003e4..a0d1025bb60 100644
21 --- a/dev-util/ostree/Manifest
22 +++ b/dev-util/ostree/Manifest
23 @@ -1 +1,2 @@
24 DIST ostree-2019.5.tar.xz 1972452 BLAKE2B a8b015118855b8b0097f535ac074aeffc599c3f6f654967043e8e4de339d2a51e85ad1b4b3f3b22e18d39235e6ad9c1973334a2c4fc9b5c694f2ff40d68ae703 SHA512 27150802ed9af16e698ed163f6ad235f0f99a1410df52b4b1e266585fe665880c0b9490bf245b5593cb277007b7229d808be7403dd964c58aded6e567349c912
25 +DIST ostree-2020.6.tar.xz 2014456 BLAKE2B 97d84c6838993edfbabb598bce800332ab1c8b22c0431839f7129f2f57afdd71c1b8ea8b8d6c1dc2cbf8d7f6828d624394b5e8c533f7a98eb1b1c3aeedff92cf SHA512 1d8f8ccaa3e543a6f494d3be2a3651ad340846f0c314e003955260b7bd1d8c0421acf102ec2ca6580379c354bf4cfac0940e4e95b724b7aaf9dc8116085aa538
26
27 diff --git a/dev-util/ostree/ostree-2020.6.ebuild b/dev-util/ostree/ostree-2020.6.ebuild
28 new file mode 100644
29 index 00000000000..68c74d15f95
30 --- /dev/null
31 +++ b/dev-util/ostree/ostree-2020.6.ebuild
32 @@ -0,0 +1,90 @@
33 +# Copyright 1999-2020 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://ostree.readthedocs.io/en/latest/"
42 +SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz"
43 +
44 +KEYWORDS="~amd64 ~x86"
45 +LICENSE="LGPL-2+"
46 +SLOT="0"
47 +
48 +IUSE="archive curl doc dracut gnutls grub http2 httpd introspection libmount selinux ssl soup systemd zeroconf"
49 +RESTRICT="test"
50 +REQUIRED_USE="httpd? ( || ( curl soup ) )"
51 +
52 +COMMON_DEPEND="
53 + archive? ( app-arch/libarchive )
54 + app-crypt/gpgme
55 + app-arch/xz-utils
56 + curl? ( net-misc/curl )
57 + soup? ( net-libs/libsoup )
58 + dev-libs/libassuan
59 + dev-libs/libgpg-error
60 + dev-libs/glib:2
61 + dracut? ( sys-kernel/dracut )
62 + grub? ( sys-boot/grub:2= )
63 + introspection? ( dev-libs/gobject-introspection )
64 + ssl? (
65 + gnutls? ( net-libs/gnutls )
66 + !gnutls? ( dev-libs/openssl:0= ) )
67 + >=sys-fs/fuse-2.9.2:0
68 + sys-libs/zlib
69 + libmount? ( sys-apps/util-linux )
70 + selinux? ( sys-libs/libselinux )
71 + systemd? ( sys-apps/systemd:0= )
72 + zeroconf? ( net-dns/avahi[dbus] )"
73 +
74 +DEPEND="${COMMON_DEPEND}
75 + app-text/docbook-xsl-stylesheets
76 + dev-libs/libxslt
77 + doc? ( dev-util/gtk-doc )"
78 +
79 +RDEPEND="${COMMON_DEPEND}"
80 +BDEPEND="
81 + dev-util/glib-utils
82 + sys-devel/flex
83 + sys-devel/bison
84 + virtual/pkgconfig"
85 +
86 +S="${WORKDIR}/lib${P}"
87 +
88 +src_prepare() {
89 + sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
90 + -i Makefile.in Makefile-man.am || die
91 +
92 + eautoreconf
93 + default
94 +}
95 +
96 +src_configure() {
97 + local econfargs=(
98 + --enable-man
99 + --enable-shared
100 + $(use_with archive libarchive)
101 + $(use_with curl)
102 + $(use_with dracut)
103 + $(use_enable doc gtk-doc)
104 + $(use_enable introspection)
105 + $(use_enable http2)
106 + $(use_enable httpd trivial-httpd-cmdline)
107 + $(use_with selinux )
108 + $(use_with soup)
109 + $(use_with libmount)
110 + $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo --with-crypto=openssl; })
111 + $(use_with systemd libsystemd)
112 + $(use_with zeroconf avahi)
113 + )
114 +
115 + unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
116 + econf ${econfargs[*]}
117 +}
118 +
119 +src_install() {
120 + default
121 + find "${D}" -name '*.la' -delete || die
122 +}