Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/recordmydesktop/
Date: Tue, 20 Mar 2018 13:50:35
Message-Id: 1521553822.70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6.fordfrog@gentoo
1 commit: 70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 20 13:49:41 2018 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 20 13:50:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bcae93
7
8 media-video/recordmydesktop: switched dependency to virtual/jack and updated to eapi 6
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 .../recordmydesktop-0.3.8.1-r5.ebuild | 59 ++++++++++++++++++++++
13 1 file changed, 59 insertions(+)
14
15 diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild
16 new file mode 100644
17 index 00000000000..8fd17ae7e35
18 --- /dev/null
19 +++ b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild
20 @@ -0,0 +1,59 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit eutils autotools
27 +
28 +DESCRIPTION="A desktop session recorder producing Ogg video/audio files"
29 +HOMEPAGE="http://recordmydesktop.sourceforge.net/"
30 +SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
35 +IUSE="alsa jack"
36 +
37 +RDEPEND="sys-libs/zlib
38 + x11-libs/libXext
39 + x11-libs/libXfixes
40 + x11-libs/libXdamage
41 + media-libs/libvorbis
42 + media-libs/libogg
43 + media-libs/libtheora[encode]
44 + x11-libs/libICE
45 + x11-libs/libSM
46 + alsa? ( media-libs/alsa-lib )
47 + jack? ( virtual/jack )"
48 +DEPEND="${RDEPEND}
49 + x11-proto/xextproto"
50 +
51 +src_prepare() {
52 + if has_version ">=x11-proto/xextproto-7.1.1"; then
53 + sed -i \
54 + -e 's:shmstr.h:shmproto.h:g' \
55 + src/rmd_{getzpixmap.c,update_image.c} || die
56 + fi
57 +
58 + # fix weird Framerates with new libtheora
59 + epatch "${FILESDIR}/${PV}-fix_new_theora.patch"
60 +
61 + # fix check for jack support
62 + epatch "${FILESDIR}/${PV}-fix-libjack-check.patch"
63 +
64 + eapply_user
65 +
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf \
71 + --enable-dependency-tracking \
72 + $(use_enable !alsa oss) \
73 + $(use_enable jack)
74 +}
75 +
76 +src_install() {
77 + emake DESTDIR="${D}" install || die
78 + dodoc AUTHORS ChangeLog README || die
79 +}