From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1011133-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C02A61382C5
	for <garchives@archives.gentoo.org>; Tue, 20 Mar 2018 13:50:35 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C90FBE0999;
	Tue, 20 Mar 2018 13:50:34 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9F6B8E0999
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Mar 2018 13:50:34 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4DFC5335C30
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Mar 2018 13:50:33 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 63E0B1BC
	for <gentoo-commits@lists.gentoo.org>; Tue, 20 Mar 2018 13:50:31 +0000 (UTC)
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" <fordfrog@gentoo.org>
Message-ID: <1521553822.70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6.fordfrog@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/recordmydesktop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-video/recordmydesktop/recordmydesktop-0.3.8.1-r5.ebuild
X-VCS-Directories: media-video/recordmydesktop/
X-VCS-Committer: fordfrog
X-VCS-Committer-Name: Miroslav Šulc
X-VCS-Revision: 70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6
X-VCS-Branch: master
Date: Tue, 20 Mar 2018 13:50:31 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 4b5b1df4-4003-4f14-bdaf-ea1c818c11fc
X-Archives-Hash: 43ae5a5cb829d1932e5ba7eb7bcd6560

commit:     70bcae93bcfab3d841d6a9b05a146a2fd1e3ffb6
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 20 13:49:41 2018 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Mar 20 13:50:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bcae93

media-video/recordmydesktop: switched dependency to virtual/jack and updated to eapi 6

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../recordmydesktop-0.3.8.1-r5.ebuild              | 59 ++++++++++++++++++++++
 1 file changed, 59 insertions(+)

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 00000000000..8fd17ae7e35
--- /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
+}