summaryrefslogtreecommitdiff
path: root/community/recorditnow
diff options
context:
space:
mode:
Diffstat (limited to 'community/recorditnow')
-rw-r--r--community/recorditnow/PKGBUILD18
-rw-r--r--community/recorditnow/ffmpeg.patch16
2 files changed, 28 insertions, 6 deletions
diff --git a/community/recorditnow/PKGBUILD b/community/recorditnow/PKGBUILD
index f19f62ea1..d22a145d8 100644
--- a/community/recorditnow/PKGBUILD
+++ b/community/recorditnow/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 97050 2013-09-11 14:06:02Z fyan $
+# $Id: PKGBUILD 97147 2013-09-14 07:29:00Z bpiotrowski $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Yichao Yu <yyc1992@gmail.com>
# Contributor: Weng Xuetian <wengxt@gmail.com>
@@ -7,7 +7,7 @@
pkgname=recorditnow
pkgver=0.8.1
-pkgrel=6
+pkgrel=7
pkgdesc="A plugin based desktop recorder for KDE SC 4"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/RecordItNow?content=114610"
@@ -17,16 +17,22 @@ makedepends=('cmake' 'automoc4' 'recordmydesktop' 'mencoder')
optdepends=('mencoder: for mencoder encoder plugin'
'recordmydesktop')
provides=('joschy')
-conflicts=('joschy-git')
install=recorditnow.install
source=("http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2"
- "cmake.patch")
+ "cmake.patch"
+ "ffmpeg.patch")
md5sums=('6619b4048545adbab1d13a790189e80f'
- '74ea0ababc2291e2a62e5d045c62616a')
+ '74ea0ababc2291e2a62e5d045c62616a'
+ '867f30a0cba692c7dad56195fd64b092')
+
+prepare() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p0 -i "${srcdir}/cmake.patch"
+ patch -p0 -i "${srcdir}/ffmpeg.patch"
+}
build() {
cd "${srcdir}/$pkgname-$pkgver"
- patch -i "${srcdir}/cmake.patch" -p0
mkdir -p build
cd build
diff --git a/community/recorditnow/ffmpeg.patch b/community/recorditnow/ffmpeg.patch
new file mode 100644
index 000000000..6247cbafe
--- /dev/null
+++ b/community/recorditnow/ffmpeg.patch
@@ -0,0 +1,16 @@
+--- src/plugins/recorder/ffmpegrecorder/ffmpegrecorder.cpp.orig 2010-03-04 17:39:20.000000000 +0100
++++ src/plugins/recorder/ffmpegrecorder/ffmpegrecorder.cpp 2013-09-10 18:17:26.193834681 +0200
+@@ -120,11 +120,10 @@
+ videoQuality = 2;
+ }
+
+- args << "-f" << "x11grab" << "-qscale" << QString::number(videoQuality) << "-r" << QString::number(d.fps);
++ args << "-f" << "x11grab" << "-r" << QString::number(d.fps);
+ args << "-s" << QString("%1x%2").arg(geometry.width()).arg(geometry.height());
+ args << "-i" << DisplayString(QX11Info::display())+QString("+%1,%2").arg(geometry.x()).arg(geometry.y());
+- args << "-s" << QString("%1x%2").arg(geometry.width()).arg(geometry.height());
+- args << m_tmpFile;
++ args << "-qscale" << QString::number(videoQuality) << m_tmpFile;
+ //ffmpeg -f x11grab -qscale 2 -r 20 -s 1440x900 -i :0.0 -s 1440x900 x11grab.avi
+ } else {
+