gentoo/net-im/telepathy-logger/telepathy-logger-0.8.2-r2.ebuild
Alfred Wingate d83e25b6a5
*/*: depend on newer gobject-introspection as a workaround
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i

+ manually going over to undo the false positives or if the version
  requirement was higher.

Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389808700bd0f4343ee04888f0ef179d2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-26 03:26:28 +00:00

56 lines
1.4 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="xml(+)"
inherit gnome2 python-any-r1 virtualx
DESCRIPTION="Daemon that centralizes the communication logging within the Telepathy framework"
HOMEPAGE="https://telepathy.freedesktop.org/wiki/Logger"
SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.bz2
https://gitlab.freedesktop.org/telepathy/telepathy-logger/-/merge_requests/1.patch
-> ${P}-py3.patch"
LICENSE="LGPL-2.1+"
SLOT="0/3"
KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x86-linux"
IUSE="+introspection"
RDEPEND="
>=dev-libs/glib-2.28:2
>=sys-apps/dbus-1.1
>=dev-libs/dbus-glib-0.82
>=net-libs/telepathy-glib-0.19.2[introspection?]
dev-libs/libxml2:=
dev-libs/libxslt
dev-db/sqlite:3
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
dev-util/glib-utils
>=dev-build/gtk-doc-am-1.10
>=dev-util/intltool-0.35
virtual/pkgconfig
"
PATCHES=( "${DISTDIR}"/${P}-py3.patch )
src_configure() {
# --enable-debug needed due to https://bugs.freedesktop.org/show_bug.cgi?id=83390
gnome2_src_configure \
$(use_enable introspection) \
--enable-debug \
--enable-public-extensions \
--disable-coding-style-checks \
--disable-Werror \
--disable-static
}
src_test() {
virtx emake -j1 check
}