diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-03-20 14:49:41 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-03-20 14:50:22 +0100 |
commit | 70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6 (patch) | |
tree | 824f20a2b5bf03e94029bf23a9ecb6dec0cfcf5b /media-video | |
parent | profiles: package.mask - Add next round of obsolete PEAR packages (diff) | |
download | gentoo-70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6.tar.gz gentoo-70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6.tar.bz2 gentoo-70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6.zip |
media-video/recordmydesktop: switched dependency to virtual/jack and updated to eapi 6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild new file mode 100644 index 000000000000..8fd17ae7e35f --- /dev/null +++ b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils autotools + +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" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="alsa jack" + +RDEPEND="sys-libs/zlib + x11-libs/libXext + 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} + x11-proto/xextproto" + +src_prepare() { + if has_version ">=x11-proto/xextproto-7.1.1"; then + sed -i \ + -e 's:shmstr.h:shmproto.h:g' \ + src/rmd_{getzpixmap.c,update_image.c} || die + fi + + # fix weird Framerates with new libtheora + epatch "${FILESDIR}/${PV}-fix_new_theora.patch" + + # fix check for jack support + epatch "${FILESDIR}/${PV}-fix-libjack-check.patch" + + eapply_user + + eautoreconf +} + +src_configure() { + econf \ + --enable-dependency-tracking \ + $(use_enable !alsa oss) \ + $(use_enable jack) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README || die +} |