diff --git a/dev-libs/librepo/Manifest b/dev-libs/librepo/Manifest new file mode 100644 index 0000000000..9545653c80 --- /dev/null +++ b/dev-libs/librepo/Manifest @@ -0,0 +1 @@ +DIST librepo-1.17.0.tar.gz 840253 BLAKE2B 4c764a350546166077b2a6bd1f761bf0ad68e5deccda4ab263f2ce9d3c7b2eaa1c792014d077f13d729a1995ffc8ac2335f9c9e87779db1f3962b40de2d20b59 SHA512 f14446774349545c1122c7d6b9e33a51f38b15a2071543d5e8562975cc7ef1d04b6ddebcf4acdb88ada843e4f9854e0ef792a4b65a4ace4d3d125532c5b92427 diff --git a/dev-libs/librepo/librepo-1.17.0.ebuild b/dev-libs/librepo/librepo-1.17.0.ebuild new file mode 100644 index 0000000000..6aea04b61a --- /dev/null +++ b/dev-libs/librepo/librepo-1.17.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Repodata downloading library" +HOMEPAGE="https://github.com/rpm-software-management/librepo" +SRC_URI="https://github.com/rpm-software-management/librepo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc gpgme test +zchunk" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.66:2 + dev-libs/libxml2 + dev-libs/openssl:= + >=net-misc/curl-7.52.0 + gpgme? ( app-crypt/gpgme:1= ) + !gpgme? ( >=app-arch/rpm-4.18.0 ) + zchunk? ( >=app-arch/zchunk-0.9.11 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) + test? ( dev-libs/check ) +" + +src_configure() { + local mycmakeargs=( + -DENABLE_PYTHON=OFF + -DENABLE_SELINUX=OFF + -DUSE_GPGME=$(usex gpgme) + -DENABLE_DOCS=$(usex doc) + -DENABLE_TESTS=$(usex test) + -DWITH_ZCHUNK=$(usex zchunk) + ) + cmake_src_configure +} diff --git a/dev-libs/librepo/metadata.xml b/dev-libs/librepo/metadata.xml new file mode 100644 index 0000000000..774b5b735a --- /dev/null +++ b/dev-libs/librepo/metadata.xml @@ -0,0 +1,15 @@ + + + + + pastalian46@gmail.com + Takuya Wakazono + + + rpm-software-management/librepo + + + Use GPGME instead of rpm library for OpenPGP key support + Build with zchunk support + +