1 |
commit: a9e3b8e119d4c1cc1a4e9c74e4c95aa32a5f797e |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 8 03:16:19 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 8 03:16:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e3b8e1 |
7 |
|
8 |
dev-util/ostree: add 2022.4 |
9 |
|
10 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
11 |
|
12 |
dev-util/ostree/Manifest | 1 + |
13 |
dev-util/ostree/ostree-2022.4.ebuild | 107 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 108 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest |
17 |
index c21b8aaf8f40..4674bbb68393 100644 |
18 |
--- a/dev-util/ostree/Manifest |
19 |
+++ b/dev-util/ostree/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ostree-2021.3.tar.xz 2089804 BLAKE2B 5df33b676173b1ec08ac7592d4ddf8e3bfdcd84df1b3ce19e2f24c85780fed1f210b8adce1baf4ec87869c72984502276bf6e5a72268daaae6ce9b3d6dc6f88b SHA512 0df0d8f9bd82b16562dd5146997eddfb7cb6cffc1886601307d97a1cb1dc926bda7d0c899db26c974ed0dff1012dee11937e47c11c4d03307fa3d2d430adc60e |
22 |
DIST ostree-2022.2.tar.xz 2059592 BLAKE2B 73bb563be473f3f62ab2d0e1ec6e2b659c8c12aaba828ae6fd5bab4b6bd3a978ffe5d76e17734e40c0569e3e74f13b85aaf9ae467747c5bbb309c73b373e9909 SHA512 07be16101aa00f541833dc6123f015ee1af65e40e2c237322a129e944fa19791e7cad6f0b29ced3c128adbe23bdb3c8708688fadd4ed80b160acab584b84abfe |
23 |
+DIST ostree-2022.4.tar.xz 2066276 BLAKE2B 67fe73babe11dac93f8e035f7baf39e98aa2be2d797d3831a30999de2f7205b33c3d0892d2ec007807f8720e15161ecccb7e5f3c047d07cb5763bfcac2170bd8 SHA512 a7745b951b1f36f483c215b311f86d860b988ebb06612e7eef2797fc34322c256ae83177337d918f3e8e3833fe9802f7d53131db59df73d29fb6c305b78879e5 |
24 |
|
25 |
diff --git a/dev-util/ostree/ostree-2022.4.ebuild b/dev-util/ostree/ostree-2022.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..43f60e37b878 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/ostree/ostree-2022.4.ebuild |
30 |
@@ -0,0 +1,107 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools systemd |
37 |
+ |
38 |
+DESCRIPTION="Operating system and container binary deployment and upgrades" |
39 |
+HOMEPAGE="https://ostreedev.github.io/ostree/" |
40 |
+SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz" |
41 |
+ |
42 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
43 |
+LICENSE="LGPL-2+" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection libmount selinux sodium ssl +soup systemd zeroconf" |
47 |
+RESTRICT+=" test" |
48 |
+REQUIRED_USE=" |
49 |
+ dracut? ( systemd ) |
50 |
+ http2? ( curl ) |
51 |
+ httpd? ( || ( curl soup ) ) |
52 |
+" |
53 |
+ |
54 |
+COMMON_DEPEND=" |
55 |
+ app-arch/xz-utils |
56 |
+ dev-libs/libassuan |
57 |
+ dev-libs/glib:2 |
58 |
+ sys-fs/fuse:3 |
59 |
+ sys-libs/zlib |
60 |
+ archive? ( app-arch/libarchive:= ) |
61 |
+ curl? ( net-misc/curl ) |
62 |
+ dracut? ( sys-kernel/dracut ) |
63 |
+ gpg? ( |
64 |
+ app-crypt/gpgme:= |
65 |
+ dev-libs/libgpg-error |
66 |
+ ) |
67 |
+ grub? ( sys-boot/grub:2= ) |
68 |
+ introspection? ( dev-libs/gobject-introspection ) |
69 |
+ libmount? ( sys-apps/util-linux ) |
70 |
+ selinux? ( sys-libs/libselinux ) |
71 |
+ sodium? ( >=dev-libs/libsodium-1.0.14:= ) |
72 |
+ soup? ( net-libs/libsoup:2.4 ) |
73 |
+ ssl? ( |
74 |
+ gnutls? ( net-libs/gnutls:= ) |
75 |
+ !gnutls? ( |
76 |
+ dev-libs/openssl:0= |
77 |
+ ) |
78 |
+ ) |
79 |
+ systemd? ( sys-apps/systemd:0= ) |
80 |
+ zeroconf? ( net-dns/avahi[dbus] )" |
81 |
+ |
82 |
+DEPEND="${COMMON_DEPEND} |
83 |
+ app-text/docbook-xsl-stylesheets |
84 |
+ dev-libs/libxslt |
85 |
+ doc? ( dev-util/gtk-doc )" |
86 |
+ |
87 |
+RDEPEND="${COMMON_DEPEND}" |
88 |
+BDEPEND=" |
89 |
+ dev-util/glib-utils |
90 |
+ sys-devel/flex |
91 |
+ sys-devel/bison |
92 |
+ virtual/pkgconfig" |
93 |
+ |
94 |
+S="${WORKDIR}/lib${P}" |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ sed -Ee 's:(XSLT_STYLESHEET = ).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \ |
98 |
+ -i Makefile.in Makefile-man.am || die |
99 |
+ eautoreconf |
100 |
+ default |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local econfargs=( |
105 |
+ --enable-man |
106 |
+ --enable-shared |
107 |
+ --with-grub2-mkconfig-path=grub-mkconfig |
108 |
+ --with-modern-grub |
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 |
+} |