* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsolv/
@ 2024-07-28 15:24 Lucio Sauer
0 siblings, 0 replies; only message in thread
From: Lucio Sauer @ 2024-07-28 15:24 UTC (permalink / raw
To: gentoo-commits
commit: 67a0ece520f3ad244c438e7e6f20c8031b20b867
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Jul 28 12:19:26 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jul 28 12:21:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67a0ece5
dev-libs/libsolv: new package, add 0.7.30
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-libs/libsolv/Manifest | 1 +
dev-libs/libsolv/libsolv-0.7.30.ebuild | 45 ++++++++++++++++++++++++++++++++++
dev-libs/libsolv/metadata.xml | 14 +++++++++++
3 files changed, 60 insertions(+)
diff --git a/dev-libs/libsolv/Manifest b/dev-libs/libsolv/Manifest
new file mode 100644
index 000000000..f17add83c
--- /dev/null
+++ b/dev-libs/libsolv/Manifest
@@ -0,0 +1 @@
+DIST libsolv-0.7.30.tar.gz 762322 BLAKE2B 2d731d87fa71693d1af98f6290536d73bc398a319c63fd5444e5861a5eede58a5b966faa73af99f09d2c623314bd9fbca74700ba4827bb6f749ff0a450d133bc SHA512 65b385b6a303f40aeb49a67185469c9d554669a08e3c9529e5487fd31c7f4b25565899b2c20bbab69a44cfd7cc746b88d2b05c49d02c94a3cfa81f9142274f4e
diff --git a/dev-libs/libsolv/libsolv-0.7.30.ebuild b/dev-libs/libsolv/libsolv-0.7.30.ebuild
new file mode 100644
index 000000000..7011d3964
--- /dev/null
+++ b/dev-libs/libsolv/libsolv-0.7.30.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library for solving packages and reading repositories"
+HOMEPAGE="https://github.com/openSUSE/libsolv"
+SRC_URI="https://github.com/openSUSE/libsolv/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="expat test zchunk"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-arch/bzip2
+ app-arch/rpm
+ app-arch/xz-utils
+ app-arch/zstd:=
+ sys-libs/zlib
+ expat? ( dev-libs/expat )
+ !expat? ( dev-libs/libxml2 )
+ zchunk? ( app-arch/zchunk )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_COMPLEX_DEPS=ON
+ -DENABLE_COMPS=ON
+ -DENABLE_RPMDB=ON
+ -DENABLE_RPMMD=ON
+ -DENABLE_RPMPKG_LIBRPM=ON
+ -DENABLE_BZIP2_COMPRESSION=ON
+ -DENABLE_LZMA_COMPRESSION=ON
+ -DENABLE_ZSTD_COMPRESSION=ON
+ -DWITH_LIBXML2=$(usex !expat)
+ -DWITH_SYSTEM_ZCHUNK=$(usex zchunk)
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/libsolv/metadata.xml b/dev-libs/libsolv/metadata.xml
new file mode 100644
index 000000000..185024fdc
--- /dev/null
+++ b/dev-libs/libsolv/metadata.xml
@@ -0,0 +1,14 @@
+<?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">openSUSE/libsolv</remote-id>
+ </upstream>
+ <use>
+ <flag name="zchunk">Build with zchunk support</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-28 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-28 15:24 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsolv/ Lucio Sauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox