Initial import of ebuild, based on one from Hydonsingore Cia <hydonsingore@educities...
authorMatthias Schwarzott <zzam@gentoo.org>
Wed, 29 Nov 2006 13:27:05 +0000 (13:27 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Wed, 29 Nov 2006 13:27:05 +0000 (13:27 +0000)
Package-Manager: portage-2.1.2_rc2-r3

media-video/recordmydesktop/ChangeLog [new file with mode: 0644]
media-video/recordmydesktop/Manifest [new file with mode: 0644]
media-video/recordmydesktop/files/digest-recordmydesktop-0.2.5 [new file with mode: 0644]
media-video/recordmydesktop/files/recordmydesktop-0.2.5-nosound.patch [new file with mode: 0644]
media-video/recordmydesktop/metadata.xml [new file with mode: 0644]
media-video/recordmydesktop/recordmydesktop-0.2.5.ebuild [new file with mode: 0644]

diff --git a/media-video/recordmydesktop/ChangeLog b/media-video/recordmydesktop/ChangeLog
new file mode 100644 (file)
index 0000000..989acb9
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for media-video/recordmydesktop
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.1 2006/11/29 13:27:05 zzam Exp $
+
+*recordmydesktop-0.2.5 (29 Nov 2006)
+
+  29 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
+  +files/recordmydesktop-0.2.5-nosound.patch, +metadata.xml,
+  +recordmydesktop-0.2.5.ebuild:
+  Initial import of ebuild, based on one from Hydonsingore Cia
+  <hydonsingore@educities.edu.tw>, Bug #148771.
+
diff --git a/media-video/recordmydesktop/Manifest b/media-video/recordmydesktop/Manifest
new file mode 100644 (file)
index 0000000..97f0564
--- /dev/null
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX recordmydesktop-0.2.5-nosound.patch 1207 RMD160 b6f2bdc41ccab4761038c64caa375d0f3d678b40 SHA1 ca621e7d85102b4fa03837c5000958ce2d037cd9 SHA256 8d676633c0efa7315152855583d426dc2d9dc12fa388a1f8930cbb6637567376
+MD5 be5620b02182c74b2c1a5ba5297dc8d6 files/recordmydesktop-0.2.5-nosound.patch 1207
+RMD160 b6f2bdc41ccab4761038c64caa375d0f3d678b40 files/recordmydesktop-0.2.5-nosound.patch 1207
+SHA256 8d676633c0efa7315152855583d426dc2d9dc12fa388a1f8930cbb6637567376 files/recordmydesktop-0.2.5-nosound.patch 1207
+DIST recordmydesktop-0.2.5.tar.gz 118097 RMD160 1ba0bd327836b5b80dd654509e9f19de6ef406a8 SHA1 62232d2540a5f7231f9d55cde42ffc2eaa754e1f SHA256 6745cfd8774ed0728261134939a6dde390d1588071053df4d4722b7f27bd7da4
+EBUILD recordmydesktop-0.2.5.ebuild 861 RMD160 62be61a55adb9ee6855eb2de55550ba1cf5ef182 SHA1 209b81c557341170cebaf9076c8a013b960df817 SHA256 f4e4a6c09e1770baed60a897290e837544f08eaefcb04f1a2df298c991ddda6f
+MD5 2ac31357b36ba411a7956199fd49124b recordmydesktop-0.2.5.ebuild 861
+RMD160 62be61a55adb9ee6855eb2de55550ba1cf5ef182 recordmydesktop-0.2.5.ebuild 861
+SHA256 f4e4a6c09e1770baed60a897290e837544f08eaefcb04f1a2df298c991ddda6f recordmydesktop-0.2.5.ebuild 861
+MISC ChangeLog 522 RMD160 c598b8eb275ba65f440bce41a454a022a9194168 SHA1 a713c179a6c453cf4624db298e86fabe127dd94a SHA256 1b0bcadc85a85c8c64177509bb9d210199217e7562447563e8d88cc64bc06eb4
+MD5 c1edb638b7fcc99dd23b308a76fa5501 ChangeLog 522
+RMD160 c598b8eb275ba65f440bce41a454a022a9194168 ChangeLog 522
+SHA256 1b0bcadc85a85c8c64177509bb9d210199217e7562447563e8d88cc64bc06eb4 ChangeLog 522
+MISC metadata.xml 159 RMD160 b9decd768167ec0ed480f59c688f5134a3f49224 SHA1 379b6baddb33ec462e76cea084aa990b2fa9c4b8 SHA256 9e151e582f202c4f1a8cccb57f5078ac593e663a20f3b7cd454d3831e8fe09c4
+MD5 25473b6655fde2985f9e373862873020 metadata.xml 159
+RMD160 b9decd768167ec0ed480f59c688f5134a3f49224 metadata.xml 159
+SHA256 9e151e582f202c4f1a8cccb57f5078ac593e663a20f3b7cd454d3831e8fe09c4 metadata.xml 159
+MD5 a409cb82d1693409d2e787406751e3f3 files/digest-recordmydesktop-0.2.5 265
+RMD160 60b8be84b2135eba8be069b52f5069182589d2e8 files/digest-recordmydesktop-0.2.5 265
+SHA256 2d5fbac61ba93e0ed2b6dc6ddfac4ea8d24e5e7727ca8a10da4168618cf93bbb files/digest-recordmydesktop-0.2.5 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFbYqvt2vP6XvVdOcRAjb5AJ0UBs9QIltWDFpT+Vgb8B57DG+dAQCg4sma
+3KZ0hevK5AIkmfYreRMim5Q=
+=lHCQ
+-----END PGP SIGNATURE-----
diff --git a/media-video/recordmydesktop/files/digest-recordmydesktop-0.2.5 b/media-video/recordmydesktop/files/digest-recordmydesktop-0.2.5
new file mode 100644 (file)
index 0000000..448cbac
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d0b02099c7787fcc6afbc85c96f99dc3 recordmydesktop-0.2.5.tar.gz 118097
+RMD160 1ba0bd327836b5b80dd654509e9f19de6ef406a8 recordmydesktop-0.2.5.tar.gz 118097
+SHA256 6745cfd8774ed0728261134939a6dde390d1588071053df4d4722b7f27bd7da4 recordmydesktop-0.2.5.tar.gz 118097
diff --git a/media-video/recordmydesktop/files/recordmydesktop-0.2.5-nosound.patch b/media-video/recordmydesktop/files/recordmydesktop-0.2.5-nosound.patch
new file mode 100644 (file)
index 0000000..9a17d15
--- /dev/null
@@ -0,0 +1,20 @@
+diff -ru recordmydesktop-0.2.5-orig/src/recordmydesktop.c recordmydesktop-0.2.5/src/recordmydesktop.c
+--- recordmydesktop-0.2.5-orig/src/recordmydesktop.c   2006-11-29 14:03:44.773603411 +0100
++++ recordmydesktop-0.2.5/src/recordmydesktop.c        2006-11-29 14:04:15.833150819 +0100
+@@ -136,11 +136,12 @@
+             fprintf(stderr,"done!\n");
+             exit(0);
+         }
+-        if(!pdata.args.nosound)
++        if(!pdata.args.nosound) {
+             pdata.sound_handle=OpenDev(pdata.args.device,&pdata.args.channels,&pdata.args.frequency,&pdata.periodsize,            &pdata.periodtime,&pdata.hard_pause);
+-        if(pdata.sound_handle==NULL){
+-            fprintf(stderr,"Error while opening/configuring soundcard %s\nTry running with the --no-sound or specify a correct device.\n",pdata.args.device);
+-            exit(3);
++            if(pdata.sound_handle==NULL){
++                fprintf(stderr,"Error while opening/configuring soundcard %s\nTry running with the --nosound or specify a correct device.\n",pdata.args.device);
++                exit(3);
++            }
+         }
+         InitEncoder(&pdata,&enc_data);
+         for(i=0;i<(pdata.enc_data->yuv.y_width*pdata.enc_data->yuv.y_height);i++)
diff --git a/media-video/recordmydesktop/metadata.xml b/media-video/recordmydesktop/metadata.xml
new file mode 100644 (file)
index 0000000..d9f2dad
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+</pkgmetadata>
+
diff --git a/media-video/recordmydesktop/recordmydesktop-0.2.5.ebuild b/media-video/recordmydesktop/recordmydesktop-0.2.5.ebuild
new file mode 100644 (file)
index 0000000..10b8a4b
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.2.5.ebuild,v 1.1 2006/11/29 13:27:05 zzam Exp $
+
+inherit eutils
+
+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="~x86"
+IUSE=""
+
+RDEPEND="media-libs/alsa-lib
+               x11-libs/libXext
+               x11-libs/libXdamage
+               x11-libs/libXfixes
+               media-libs/libogg
+               media-libs/libvorbis
+               media-libs/libtheora"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       epatch "${FILESDIR}/${P}-nosound.patch"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || die "make install failed"
+       dodoc NEWS README AUTHORS ChangeLog
+}