summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-08-09 17:28:20 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-08-09 17:28:20 +0000
commit3a1badd50ecf4d84041cd79e726c7fe04e9dac18 (patch)
treef1b2b7120101c3c5298906ce9936f881a0af8e5a /media-plugins/vdr-audiorecorder
parentstable amd64 (diff)
downloadhistorical-3a1badd50ecf4d84041cd79e726c7fe04e9dac18.tar.gz
historical-3a1badd50ecf4d84041cd79e726c7fe04e9dac18.tar.bz2
historical-3a1badd50ecf4d84041cd79e726c7fe04e9dac18.zip
Fixed check on free disk space.
Package-Manager: portage-2.1.1_pre4-r4
Diffstat (limited to 'media-plugins/vdr-audiorecorder')
-rw-r--r--media-plugins/vdr-audiorecorder/ChangeLog10
-rw-r--r--media-plugins/vdr-audiorecorder/files/digest-vdr-audiorecorder-0.1.0_pre4-r13
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre4-free_check.diff14
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre4-r1.ebuild44
4 files changed, 70 insertions, 1 deletions
diff --git a/media-plugins/vdr-audiorecorder/ChangeLog b/media-plugins/vdr-audiorecorder/ChangeLog
index 1e277ca17739..576a60531575 100644
--- a/media-plugins/vdr-audiorecorder/ChangeLog
+++ b/media-plugins/vdr-audiorecorder/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-plugins/vdr-audiorecorder
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/ChangeLog,v 1.2 2006/07/18 18:29:02 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/ChangeLog,v 1.3 2006/08/09 17:28:20 zzam Exp $
+
+*vdr-audiorecorder-0.1.0_pre4-r1 (09 Aug 2006)
+
+ 09 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-audiorecorder-0.1.0_pre4-free_check.diff,
+ -vdr-audiorecorder-0.1.0_pre4.ebuild,
+ +vdr-audiorecorder-0.1.0_pre4-r1.ebuild:
+ Fixed check on free disk space.
*vdr-audiorecorder-0.1.0_pre4 (18 Jul 2006)
diff --git a/media-plugins/vdr-audiorecorder/files/digest-vdr-audiorecorder-0.1.0_pre4-r1 b/media-plugins/vdr-audiorecorder/files/digest-vdr-audiorecorder-0.1.0_pre4-r1
new file mode 100644
index 000000000000..328e80a430a9
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/digest-vdr-audiorecorder-0.1.0_pre4-r1
@@ -0,0 +1,3 @@
+MD5 0079ab9020d4f0cadd8951ea07964410 vdr-audiorecorder-0.1.0-pre4.tgz 25060
+RMD160 cbdc4b0bc5a56b4e59abf05efeaca0b1a8acffc2 vdr-audiorecorder-0.1.0-pre4.tgz 25060
+SHA256 bffb75d82701cf8c9dffbda5a46761819d51fc8c70ed10f33e93426d25efd8cc vdr-audiorecorder-0.1.0-pre4.tgz 25060
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre4-free_check.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre4-free_check.diff
new file mode 100644
index 000000000000..398b46b6200a
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre4-free_check.diff
@@ -0,0 +1,14 @@
+diff -ru audiorecorder-0.1.0-pre4-orig/dispatcher.c audiorecorder-0.1.0-pre4/dispatcher.c
+--- audiorecorder-0.1.0-pre4-orig/dispatcher.c 2006-08-09 19:01:04.000000000 +0200
++++ audiorecorder-0.1.0-pre4/dispatcher.c 2006-08-09 19:25:13.000000000 +0200
+@@ -334,8 +334,8 @@
+
+ if (statfs(cPluginAudiorecorder::get_recdir(), &stat_fs) != 0)
+ return false;
+-
+- if (stat_fs.f_bavail * stat_fs.f_bsize < MIN_FREE_DISC_SPACE)
++
++ if (stat_fs.f_bavail < MIN_FREE_DISC_SPACE / stat_fs.f_bsize)
+ return false;
+
+ return true;
diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre4-r1.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre4-r1.ebuild
new file mode 100644
index 000000000000..790386ca5f94
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre4-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre4-r1.ebuild,v 1.1 2006/08/09 17:28:20 zzam Exp $
+
+inherit vdr-plugin
+
+MY_P=${P/_pre/-pre}
+
+DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info"
+HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=52366"
+SRC_URI="mirror://gentoo/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="taglib"
+
+S=${WORKDIR}/${MY_P#vdr-}
+
+DEPEND=">=media-video/vdr-1.3.31
+ taglib? ( media-libs/taglib )
+ >=media-video/ffmpeg-0.4.9
+ "
+
+RDEPEND="${DEPEND}"
+
+PATCHES="${FILESDIR}/${P}-gcc4.diff
+ ${FILESDIR}/${P}-free_check.diff"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ local TAGLIB=0
+ use taglib && TAGLIB=1
+ sed -i "${S}/Makefile" \
+ -e'/^TAGLIB/s#=.*$#= '"${TAGLIB}#"
+}
+
+src_install() {
+ vdr-plugin_src_install
+ keepdir /var/vdr/audiorecorder
+ chown -R vdr:vdr ${D}/var/vdr
+}
+