Diff zvbi-0.2.35-r2 with a zvbi-0.2.44

/usr/portage/media-libs/zvbi/zvbi-0.2.44.ebuild 2025-07-29 16:22:14.892457651 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit libtool multilib-minimal
6
inherit autotools multilib-minimal
7 7

  
8 8
DESCRIPTION="VBI Decoding Library for Zapping"
9
HOMEPAGE="https://zapping.sourceforge.net"
10
SRC_URI="https://downloads.sourceforge.net/project/zapping/${PN}/${PV}/${P}.tar.bz2"
9
HOMEPAGE="https://github.com/zapping-vbi/zvbi/"
10
SRC_URI="https://github.com/zapping-vbi/zvbi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12
LICENSE="GPL-2+ LGPL-2+"
12
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ MIT"
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86"
15
IUSE="doc dvb nls v4l X"
15
IUSE="doc dvb nls proxy test v4l X"
16
RESTRICT="!test? ( test )"
16 17

  
17
RDEPEND=">=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}]
18
	>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
19
	nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
20
	X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )"
18
RDEPEND="
19
	media-libs/libpng:=[${MULTILIB_USEDEP}]
20
	nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
21
	X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
22
"
21 23
DEPEND="${RDEPEND}
22 24
	virtual/os-headers
23
	X? ( x11-libs/libXt )"
24
BDEPEND="doc? ( app-text/doxygen )
25
	nls? ( sys-devel/gettext )"
26

  
27
PATCHES=(
28
	"${FILESDIR}"/tests-gcc7.patch
29
)
25
	X? ( x11-libs/libXt )
26
"
27
BDEPEND="
28
	doc? ( app-text/doxygen )
29
	nls? ( sys-devel/gettext )
30
"
30 31

  
31 32
src_prepare() {
32 33
	default
33
	elibtoolize
34
	eautoreconf
34 35
}
35 36

  
36 37
multilib_src_configure() {
37 38
	ECONF_SOURCE="${S}" econf \
38
		$(use_enable v4l) \
39 39
		$(use_enable dvb) \
40 40
		$(use_enable nls) \
41
		$(use_enable proxy) \
42
		$(use_enable test tests) \
43
		$(use_enable v4l) \
41 44
		$(use_with X x) \
42 45
		$(multilib_native_use_with doc doxygen)
43 46
}
......
47 50

  
48 51
	if multilib_is_native_abi; then
49 52
		if use doc; then
50
			docinto html
51
			dodoc doc/html/*.{png,gif,html,css}
53
			local HTML_DOCS=( doc/html/*.{css,gif,html,js,png,svg} )
54
			einstalldocs
52 55
		fi
53 56
	fi
54 57
}
55 58

  
56 59
multilib_src_install_all() {
57
	# This may have been left pointing to "html"
58
	docinto
59
	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
60
	# examples are not built but used as doc
61
	local DOCS=( AUTHORS BUGS ChangeLog NEWS README.md TODO examples )
62
	docompress -x /usr/share/doc/${PF}/examples
63
	einstalldocs
60 64

  
61 65
	find "${ED}" -name '*.la' -delete
62 66
}
Thank you!