1 |
commit: 536483377db440b5276dfd474a9528d539448c43 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 8 10:51:36 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 8 10:52:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53648337 |
7 |
|
8 |
media-video/recordmydesktop: rework ebuild a bit |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
.../recordmydesktop-0.3.8.1-r6.ebuild | 50 ++++++++++++++++++++++ |
14 |
1 file changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r6.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r6.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..940e02981cd |
19 |
--- /dev/null |
20 |
+++ b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r6.ebuild |
21 |
@@ -0,0 +1,50 @@ |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit autotools |
28 |
+ |
29 |
+DESCRIPTION="A desktop session recorder producing Ogg video/audio files" |
30 |
+HOMEPAGE="http://recordmydesktop.sourceforge.net/" |
31 |
+SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="amd64 ppc ppc64 x86" |
36 |
+IUSE="alsa jack" |
37 |
+ |
38 |
+RDEPEND="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-base/xorg-proto" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ sed -i \ |
54 |
+ -e 's:shmstr.h:shmproto.h:g' \ |
55 |
+ src/rmd_{getzpixmap.c,update_image.c} || die |
56 |
+ |
57 |
+ # fix weird Framerates with new libtheora |
58 |
+ eapply "${FILESDIR}/${PV}-fix_new_theora.patch" |
59 |
+ |
60 |
+ # fix check for jack support |
61 |
+ eapply "${FILESDIR}/${PV}-fix-libjack-check.patch" |
62 |
+ |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf \ |
68 |
+ --enable-dependency-tracking \ |
69 |
+ $(use_enable !alsa oss) \ |
70 |
+ $(use_enable jack) |
71 |
+} |