mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-libs/librepo: new package, add 1.17.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
1
dev-libs/librepo/Manifest
Normal file
1
dev-libs/librepo/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST librepo-1.17.0.tar.gz 840253 BLAKE2B 4c764a350546166077b2a6bd1f761bf0ad68e5deccda4ab263f2ce9d3c7b2eaa1c792014d077f13d729a1995ffc8ac2335f9c9e87779db1f3962b40de2d20b59 SHA512 f14446774349545c1122c7d6b9e33a51f38b15a2071543d5e8562975cc7ef1d04b6ddebcf4acdb88ada843e4f9854e0ef792a4b65a4ace4d3d125532c5b92427
|
||||
44
dev-libs/librepo/librepo-1.17.0.ebuild
Normal file
44
dev-libs/librepo/librepo-1.17.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
15
dev-libs/librepo/metadata.xml
Normal file
15
dev-libs/librepo/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pastalian46@gmail.com</email>
|
||||
<name>Takuya Wakazono</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">rpm-software-management/librepo</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="gpgme">Use GPGME instead of rpm library for OpenPGP key support</flag>
|
||||
<flag name="zchunk">Build with zchunk support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user