mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sys-apps/osinfo-db-tools: Add patch to force libsoup:2.4
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 1cc5ff5..72b18a8 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -58,11 +58,7 @@ gobject_dep = dependency('gobject-2.0', version: glib_version_info)
|
||||
# everything else
|
||||
json_glib_dep = dependency('json-glib-1.0')
|
||||
libarchive_dep = dependency('libarchive', version: '>= 3.0.0')
|
||||
-libsoup_dep = dependency('libsoup-3.0', required: false)
|
||||
-# fallback to libsoup2
|
||||
-if not libsoup_dep.found()
|
||||
libsoup_dep = dependency('libsoup-2.4')
|
||||
-endif
|
||||
libxml_dep = dependency('libxml-2.0', version: '>= 2.6.0')
|
||||
|
||||
# common dependencies
|
||||
@@ -39,6 +39,10 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-use-libsoup-2.4.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
use test && \
|
||||
has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \
|
||||
|
||||
Reference in New Issue
Block a user