commit:     a325806f1a9d81e16f7c0971b06a786ad4703268
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 00:21:31 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 00:21:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a325806f

dev-util/ostree: Bump to version 2022.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-util/ostree/Manifest             |   1 +
 dev-util/ostree/ostree-2022.2.ebuild | 107 +++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/dev-util/ostree/Manifest b/dev-util/ostree/Manifest
index bcc1443a42e6..7be62c70602a 100644
--- a/dev-util/ostree/Manifest
+++ b/dev-util/ostree/Manifest
@@ -2,3 +2,4 @@ DIST ostree-2021.3.tar.xz 2089804 BLAKE2B 
5df33b676173b1ec08ac7592d4ddf8e3bfdcd8
 DIST ostree-2021.4.tar.xz 2048424 BLAKE2B 
386ed38f6dc8035a429505d8392682f739bc9a57a8cf9d7960942cd0ff0b61eee314116866c3b520d802a3f16f6dfecd1ea45a7b1d44cac8d065ad56a1ed2c2f
 SHA512 
9bde7281afa456b30253149639854f579c1f1bdf6c429059eeb69042515b5ebfdf6426b4c9780ca8e700a11f0ec05cfc03e48baa8d0858ddbca7d3942aab9bbd
 DIST ostree-2021.5.tar.xz 2049572 BLAKE2B 
946e863470e53a27f9936e224e2fdf00aa70c47d141b4101e00935f597aee037fd60d0d5660e7f41cb7a3fc7051a5f286a96e10a16b7f35da2be26c29c745346
 SHA512 
73d463e9cfaa027ac640051615b312c1800e71b2587e33cbae1e60356cb3c3f5d4afcda8ace680636ebd1d112061f2a8a7c25c46aa24a1b260244451157ffe8a
 DIST ostree-2022.1.tar.xz 2101172 BLAKE2B 
52f6723acfb2889ef232f0fdec39fc50a879b110fcc89aa318dc0eb336e50ef2c3cc0d4df4319601b6198b7789da3605a55979d0c9ee31029ae47832b0cb385f
 SHA512 
73da367d3b9b5facc5ba894bd0f9297a7fc688fa69871b668e6568663fefc1f44433c8be352d57c23153b09144c6535e52d8c184a2ab103190ec37dc1abc2818
+DIST ostree-2022.2.tar.xz 2059592 BLAKE2B 
73bb563be473f3f62ab2d0e1ec6e2b659c8c12aaba828ae6fd5bab4b6bd3a978ffe5d76e17734e40c0569e3e74f13b85aaf9ae467747c5bbb309c73b373e9909
 SHA512 
07be16101aa00f541833dc6123f015ee1af65e40e2c237322a129e944fa19791e7cad6f0b29ced3c128adbe23bdb3c8708688fadd4ed80b160acab584b84abfe

diff --git a/dev-util/ostree/ostree-2022.2.ebuild 
b/dev-util/ostree/ostree-2022.2.ebuild
new file mode 100644
index 000000000000..68a663e35584
--- /dev/null
+++ b/dev-util/ostree/ostree-2022.2.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="Operating system and container binary deployment and upgrades"
+HOMEPAGE="https://ostreedev.github.io/ostree/";
+SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz
 -> ${P}.tar.xz"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+LICENSE="LGPL-2+"
+SLOT="0"
+
+IUSE="archive +curl doc dracut gnutls +gpg grub +http2 httpd introspection 
libmount selinux sodium ssl +soup systemd zeroconf"
+RESTRICT+=" test"
+REQUIRED_USE="
+       dracut? ( systemd )
+       http2? ( curl )
+       httpd? ( || ( curl soup ) )
+"
+
+COMMON_DEPEND="
+       app-arch/xz-utils
+       dev-libs/libassuan
+       dev-libs/glib:2
+       >=sys-fs/fuse-2.9.2:0
+       sys-libs/zlib
+       archive? ( app-arch/libarchive:= )
+       curl? ( net-misc/curl )
+       dracut? ( sys-kernel/dracut )
+       gpg? (
+               app-crypt/gpgme:=
+               dev-libs/libgpg-error
+       )
+       grub? ( sys-boot/grub:2= )
+       introspection? ( dev-libs/gobject-introspection )
+       libmount? ( sys-apps/util-linux )
+       selinux? ( sys-libs/libselinux )
+       sodium? ( >=dev-libs/libsodium-1.0.14:= )
+       soup? ( net-libs/libsoup:2.4 )
+       ssl? (
+               gnutls? ( net-libs/gnutls:= )
+               !gnutls? (
+                       dev-libs/openssl:0=
+               )
+       )
+       systemd? ( sys-apps/systemd:0= )
+       zeroconf? ( net-dns/avahi[dbus] )"
+
+DEPEND="${COMMON_DEPEND}
+       app-text/docbook-xsl-stylesheets
+       dev-libs/libxslt
+       doc? ( dev-util/gtk-doc )"
+
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="
+       dev-util/glib-utils
+       sys-devel/flex
+       sys-devel/bison
+       virtual/pkgconfig"
+
+S="${WORKDIR}/lib${P}"
+
+src_prepare() {
+       sed -Ee 's:(XSLT_STYLESHEET = 
).*:\1/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl:' \
+               -i Makefile.in Makefile-man.am || die
+       eautoreconf
+       default
+}
+
+src_configure() {
+       local econfargs=(
+               --enable-man
+               --enable-shared
+               --with-grub2-mkconfig-path=grub-mkconfig
+               --with-modern-grub
+               $(use_with archive libarchive)
+               $(use_with curl)
+               $(use_with dracut dracut yesbutnoconf) #816867
+               $(use_enable doc gtk-doc)
+               $(usex introspection --enable-introspection={,} yes no)
+               $(use_with gpg gpgme)
+               $(use_enable http2)
+               $(use_enable httpd trivial-httpd-cmdline)
+               $(use_with selinux )
+               $(use_with soup)
+               $(use_with libmount)
+               $(use ssl && { use gnutls && echo --with-crypto=gnutls || echo 
--with-crypto=openssl; })
+               $(use_with sodium ed25519-libsodium)
+               $(use_with systemd libsystemd)
+               $(use_with zeroconf avahi)
+       )
+
+       if use systemd; then
+               
econfargs+=(--with-systemdsystemunitdir="$(systemd_get_systemunitdir)")
+       fi
+
+       unset ${!XDG_*} #657346 g-ir-scanner sandbox violation
+       econf "${econfargs[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to