diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-util/ostree/ostree-2020.6.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-util/ostree/ostree-2020.6.ebuild')
-rw-r--r-- | dev-util/ostree/ostree-2020.6.ebuild | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/dev-util/ostree/ostree-2020.6.ebuild b/dev-util/ostree/ostree-2020.6.ebuild new file mode 100644 index 000000000000..9e56361e7f19 --- /dev/null +++ b/dev-util/ostree/ostree-2020.6.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2020 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://ostree.readthedocs.io/en/latest/" +SRC_URI="https://github.com/ostreedev/ostree/releases/download/v${PV}/lib${P}.tar.xz -> ${P}.tar.xz" + +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2+" +SLOT="0" + +IUSE="archive curl doc dracut gnutls grub http2 httpd introspection libmount selinux ssl soup systemd zeroconf" +RESTRICT="test" +REQUIRED_USE="httpd? ( || ( curl soup ) )" + +COMMON_DEPEND=" + archive? ( app-arch/libarchive ) + app-crypt/gpgme + app-arch/xz-utils + curl? ( net-misc/curl ) + soup? ( net-libs/libsoup ) + dev-libs/libassuan + dev-libs/libgpg-error + dev-libs/glib:2 + dracut? ( sys-kernel/dracut ) + grub? ( sys-boot/grub:2= ) + introspection? ( dev-libs/gobject-introspection ) + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl:0= ) ) + >=sys-fs/fuse-2.9.2:0 + sys-libs/zlib + libmount? ( sys-apps/util-linux ) + selinux? ( sys-libs/libselinux ) + 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 + $(use_with archive libarchive) + $(use_with curl) + $(use_with dracut) + $(use_enable doc gtk-doc) + $(usex introspection --enable-introspection={,} yes no) + $(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 systemd libsystemd) + $(use_with zeroconf avahi) + ) + + unset ${!XDG_*} #657346 g-ir-scanner sandbox violation + econf ${econfargs[*]} +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |