Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zvbi/
Date: Thu, 25 Nov 2021 14:45:22
Message-Id: 1637851511.1124a8ddffa62062f9398114a619f312999c4f1b.marecki@gentoo
1 commit: 1124a8ddffa62062f9398114a619f312999c4f1b
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 14:40:06 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 14:45:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1124a8dd
7
8 media-libs/zvbi: update EAPI 5 -> 8
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 media-libs/zvbi/zvbi-0.2.35-r2.ebuild | 62 +++++++++++++++++++++++++++++++++++
13 1 file changed, 62 insertions(+)
14
15 diff --git a/media-libs/zvbi/zvbi-0.2.35-r2.ebuild b/media-libs/zvbi/zvbi-0.2.35-r2.ebuild
16 new file mode 100644
17 index 000000000000..7e283497ec0b
18 --- /dev/null
19 +++ b/media-libs/zvbi/zvbi-0.2.35-r2.ebuild
20 @@ -0,0 +1,62 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +inherit libtool multilib-minimal
27 +
28 +DESCRIPTION="VBI Decoding Library for Zapping"
29 +HOMEPAGE="http://zapping.sourceforge.net"
30 +SRC_URI="mirror://sourceforge/project/zapping/${PN}/${PV}/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2 LGPL-2"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
35 +IUSE="doc dvb nls v4l X"
36 +
37 +RDEPEND=">=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}]
38 + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
39 + nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
40 + X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] )"
41 +DEPEND="${RDEPEND}
42 + virtual/os-headers
43 + X? ( x11-libs/libXt )"
44 +BDEPEND="doc? ( app-doc/doxygen )
45 + nls? ( sys-devel/gettext )"
46 +
47 +PATCHES=(
48 + "${FILESDIR}"/tests-gcc7.patch
49 +)
50 +
51 +src_prepare() {
52 + default
53 + elibtoolize
54 +}
55 +
56 +multilib_src_configure() {
57 + ECONF_SOURCE="${S}" econf \
58 + $(use_enable v4l) \
59 + $(use_enable dvb) \
60 + $(use_enable nls) \
61 + $(use_with X x) \
62 + $(multilib_native_use_with doc doxygen)
63 +}
64 +
65 +multilib_src_install() {
66 + emake DESTDIR="${D}" install
67 +
68 + if multilib_is_native_abi; then
69 + if use doc; then
70 + docinto html
71 + dodoc doc/html/*.{png,gif,html,css}
72 + fi
73 + fi
74 +}
75 +
76 +multilib_src_install_all() {
77 + # This may have been left pointing to "html"
78 + docinto
79 + dodoc AUTHORS BUGS ChangeLog NEWS README TODO
80 +
81 + find "${ED}" -name '*.la' -delete
82 +}