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: Tue, 21 Jan 2020 07:48:04
Message-Id: 1579592870.86c841b7ce888c2323672adb0377a434f37e3070.zmedico@gentoo
1 commit: 86c841b7ce888c2323672adb0377a434f37e3070
2 Author: Yury Martynov <email <AT> linxon <DOT> ru>
3 AuthorDate: Sun Dec 1 14:58:00 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 21 07:47:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c841b7
7
8 dev-util/ostree: bump to 2019.5
9
10 Closes: https://github.com/gentoo/gentoo/pull/13825
11 Package-Manager: Portage-2.3.79, Repoman-2.3.16
12 Signed-off-by: Yury Martynov <email <AT> linxon.ru>
13 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
14
15 dev-util/ostree/Manifest | 1 +
16 dev-util/ostree/ostree-2019.5.ebuild | 90 ++++++++++++++++++++++++++++++++++++
17 2 files changed, 91 insertions(+)
18
19 diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
20 index 927c10f3b0c..efa90df5b75 100644
21 --- a/dev-util/ostree/Manifest
22 +++ b/dev-util/ostree/Manifest
23 @@ -1 +1,2 @@
24 DIST ostree-2018.9.tar.xz 1951732 BLAKE2B c6fba1321fe21bff569fe1dadd1aa649f23059a35dc906c3a0b7dcca29f7acbe8338e19541d8f7d854452bf6a6b1ac293d4350c7056a9b13b9ed1eacf358d4b3 SHA512 407b6b67add54e80a55fc35f08bde56561009db93ec202a10dd1ec1e66bd32b439c1d66c759e4e173e44fce6fbc2c162cae928a477c9d7abafbf007ed8f7bfb5
25 +DIST ostree-2019.5.tar.xz 1972452 BLAKE2B a8b015118855b8b0097f535ac074aeffc599c3f6f654967043e8e4de339d2a51e85ad1b4b3f3b22e18d39235e6ad9c1973334a2c4fc9b5c694f2ff40d68ae703 SHA512 27150802ed9af16e698ed163f6ad235f0f99a1410df52b4b1e266585fe665880c0b9490bf245b5593cb277007b7229d808be7403dd964c58aded6e567349c912
26
27 diff --git a/dev-util/ostree/ostree-2019.5.ebuild b/dev-util/ostree/ostree-2019.5.ebuild
28 new file mode 100644
29 index 00000000000..6c6f7f20027
30 --- /dev/null
31 +++ b/dev-util/ostree/ostree-2019.5.ebuild
32 @@ -0,0 +1,90 @@
33 +# Copyright 1999-2019 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:*
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 +}