You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.1 KiB
51 lines
1.1 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
6 years ago
|
inherit autotools
|
||
7 years ago
|
|
||
|
DESCRIPTION="A desktop session recorder producing Ogg video/audio files"
|
||
|
HOMEPAGE="http://recordmydesktop.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="amd64 ppc ppc64 x86"
|
||
7 years ago
|
IUSE="alsa jack"
|
||
|
|
||
6 years ago
|
RDEPEND="x11-libs/libXext
|
||
7 years ago
|
x11-libs/libXfixes
|
||
|
x11-libs/libXdamage
|
||
|
media-libs/libvorbis
|
||
|
media-libs/libogg
|
||
|
media-libs/libtheora[encode]
|
||
|
x11-libs/libICE
|
||
|
x11-libs/libSM
|
||
|
alsa? ( media-libs/alsa-lib )
|
||
|
jack? ( virtual/jack )"
|
||
|
DEPEND="${RDEPEND}
|
||
7 years ago
|
x11-base/xorg-proto"
|
||
7 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
7 years ago
|
sed -i \
|
||
|
-e 's:shmstr.h:shmproto.h:g' \
|
||
|
src/rmd_{getzpixmap.c,update_image.c} || die
|
||
7 years ago
|
|
||
|
# fix weird Framerates with new libtheora
|
||
6 years ago
|
eapply "${FILESDIR}/${PV}-fix_new_theora.patch"
|
||
7 years ago
|
|
||
|
# fix check for jack support
|
||
6 years ago
|
eapply "${FILESDIR}/${PV}-fix-libjack-check.patch"
|
||
7 years ago
|
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
--enable-dependency-tracking \
|
||
|
$(use_enable !alsa oss) \
|
||
|
$(use_enable jack)
|
||
|
}
|