aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-07-28 21:19:26 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-07-28 21:21:42 +0900
commit67a0ece520f3ad244c438e7e6f20c8031b20b867 (patch)
treeb7caff568a4bcc012391111d2f5d4d698c20bf06 /dev-libs
parentdev-python/hijridate: drop 2.4.1 (diff)
downloadguru-67a0ece520f3ad244c438e7e6f20c8031b20b867.tar.gz
guru-67a0ece520f3ad244c438e7e6f20c8031b20b867.tar.bz2
guru-67a0ece520f3ad244c438e7e6f20c8031b20b867.zip
dev-libs/libsolv: new package, add 0.7.30
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libsolv/Manifest1
-rw-r--r--dev-libs/libsolv/libsolv-0.7.30.ebuild45
-rw-r--r--dev-libs/libsolv/metadata.xml14
3 files changed, 60 insertions, 0 deletions
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>