[arch-commits] Commit in recorditnow/repos (10 files)
Felix Yan
fyan at archlinux.org
Sun Sep 28 04:33:12 UTC 2014
Date: Sunday, September 28, 2014 @ 06:33:12
Author: fyan
Revision: 119673
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
recorditnow/repos/community-staging-i686/
recorditnow/repos/community-staging-i686/PKGBUILD
(from rev 119672, recorditnow/trunk/PKGBUILD)
recorditnow/repos/community-staging-i686/cmake.patch
(from rev 119672, recorditnow/trunk/cmake.patch)
recorditnow/repos/community-staging-i686/ffmpeg.patch
(from rev 119672, recorditnow/trunk/ffmpeg.patch)
recorditnow/repos/community-staging-i686/recorditnow.install
(from rev 119672, recorditnow/trunk/recorditnow.install)
recorditnow/repos/community-staging-x86_64/
recorditnow/repos/community-staging-x86_64/PKGBUILD
(from rev 119672, recorditnow/trunk/PKGBUILD)
recorditnow/repos/community-staging-x86_64/cmake.patch
(from rev 119672, recorditnow/trunk/cmake.patch)
recorditnow/repos/community-staging-x86_64/ffmpeg.patch
(from rev 119672, recorditnow/trunk/ffmpeg.patch)
recorditnow/repos/community-staging-x86_64/recorditnow.install
(from rev 119672, recorditnow/trunk/recorditnow.install)
----------------------------------------------+
community-staging-i686/PKGBUILD | 53 +++++++++++++++++++++++++
community-staging-i686/cmake.patch | 13 ++++++
community-staging-i686/ffmpeg.patch | 16 +++++++
community-staging-i686/recorditnow.install | 11 +++++
community-staging-x86_64/PKGBUILD | 53 +++++++++++++++++++++++++
community-staging-x86_64/cmake.patch | 13 ++++++
community-staging-x86_64/ffmpeg.patch | 16 +++++++
community-staging-x86_64/recorditnow.install | 11 +++++
8 files changed, 186 insertions(+)
Copied: recorditnow/repos/community-staging-i686/PKGBUILD (from rev 119672, recorditnow/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yichao Yu <yyc1992 at gmail.com>
+# Contributor: Weng Xuetian <wengxt at gmail.com>
+# Contributor: AdriĆ Arrufat <swiftscythe at gmail.com>
+# Contributor: Callea Gaetano Andrea <callea:gaetano:andrea/gmail:com>
+
+pkgname=recorditnow
+pkgver=0.8.1
+pkgrel=8
+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"
+license=('GPL')
+depends=('kdebase-runtime' 'ffmpeg' 'xdg-utils')
+makedepends=('cmake' 'automoc4' 'recordmydesktop' 'mencoder')
+optdepends=('mencoder: for mencoder encoder plugin'
+ 'recordmydesktop')
+provides=('joschy')
+install=recorditnow.install
+source=("http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2"
+ "cmake.patch"
+ "ffmpeg.patch")
+md5sums=('6619b4048545adbab1d13a790189e80f'
+ '74ea0ababc2291e2a62e5d045c62616a'
+ '867f30a0cba692c7dad56195fd64b092')
+
+prepare() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p0 -i "${srcdir}/cmake.patch"
+ patch -p0 -i "${srcdir}/ffmpeg.patch"
+}
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
+ -DLINGUAS="de hu cs pt_BR fr it" ..
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver/build"
+ make DESTDIR="${pkgdir}" install
+
+ if [[ "$CARCH" == "x86_64" ]]; then
+ cd "$pkgdir/usr"
+ mv lib64/* lib
+ rmdir lib64
+ fi
+}
Copied: recorditnow/repos/community-staging-i686/cmake.patch (from rev 119672, recorditnow/trunk/cmake.patch)
===================================================================
--- community-staging-i686/cmake.patch (rev 0)
+++ community-staging-i686/cmake.patch 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,13 @@
+--- src/CMakeLists.txt.orig 2012-03-17 19:36:44.834973898 +0800
++++ src/CMakeLists.txt 2012-03-17 19:40:00.894972395 +0800
+@@ -121,6 +121,10 @@
+ recorditnow_recorder
+ recorditnow_encoder
+ recorditnow_keymon
++ recorditnow_plugin
++ ${X11_X11_LIB}
++ ${X11_Xext_LIB}
++ ${X11_Xfixes_LIB}
+ ${X11_Xcursor_LIB})
+
+ if (BUILD_WITH_JOSCHY)
Copied: recorditnow/repos/community-staging-i686/ffmpeg.patch (from rev 119672, recorditnow/trunk/ffmpeg.patch)
===================================================================
--- community-staging-i686/ffmpeg.patch (rev 0)
+++ community-staging-i686/ffmpeg.patch 2014-09-28 04:33:12 UTC (rev 119673)
@@ -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 {
+
Copied: recorditnow/repos/community-staging-i686/recorditnow.install (from rev 119672, recorditnow/trunk/recorditnow.install)
===================================================================
--- community-staging-i686/recorditnow.install (rev 0)
+++ community-staging-i686/recorditnow.install 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: recorditnow/repos/community-staging-x86_64/PKGBUILD (from rev 119672, recorditnow/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yichao Yu <yyc1992 at gmail.com>
+# Contributor: Weng Xuetian <wengxt at gmail.com>
+# Contributor: AdriĆ Arrufat <swiftscythe at gmail.com>
+# Contributor: Callea Gaetano Andrea <callea:gaetano:andrea/gmail:com>
+
+pkgname=recorditnow
+pkgver=0.8.1
+pkgrel=8
+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"
+license=('GPL')
+depends=('kdebase-runtime' 'ffmpeg' 'xdg-utils')
+makedepends=('cmake' 'automoc4' 'recordmydesktop' 'mencoder')
+optdepends=('mencoder: for mencoder encoder plugin'
+ 'recordmydesktop')
+provides=('joschy')
+install=recorditnow.install
+source=("http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2"
+ "cmake.patch"
+ "ffmpeg.patch")
+md5sums=('6619b4048545adbab1d13a790189e80f'
+ '74ea0ababc2291e2a62e5d045c62616a'
+ '867f30a0cba692c7dad56195fd64b092')
+
+prepare() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ patch -p0 -i "${srcdir}/cmake.patch"
+ patch -p0 -i "${srcdir}/ffmpeg.patch"
+}
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
+ -DLINGUAS="de hu cs pt_BR fr it" ..
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver/build"
+ make DESTDIR="${pkgdir}" install
+
+ if [[ "$CARCH" == "x86_64" ]]; then
+ cd "$pkgdir/usr"
+ mv lib64/* lib
+ rmdir lib64
+ fi
+}
Copied: recorditnow/repos/community-staging-x86_64/cmake.patch (from rev 119672, recorditnow/trunk/cmake.patch)
===================================================================
--- community-staging-x86_64/cmake.patch (rev 0)
+++ community-staging-x86_64/cmake.patch 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,13 @@
+--- src/CMakeLists.txt.orig 2012-03-17 19:36:44.834973898 +0800
++++ src/CMakeLists.txt 2012-03-17 19:40:00.894972395 +0800
+@@ -121,6 +121,10 @@
+ recorditnow_recorder
+ recorditnow_encoder
+ recorditnow_keymon
++ recorditnow_plugin
++ ${X11_X11_LIB}
++ ${X11_Xext_LIB}
++ ${X11_Xfixes_LIB}
+ ${X11_Xcursor_LIB})
+
+ if (BUILD_WITH_JOSCHY)
Copied: recorditnow/repos/community-staging-x86_64/ffmpeg.patch (from rev 119672, recorditnow/trunk/ffmpeg.patch)
===================================================================
--- community-staging-x86_64/ffmpeg.patch (rev 0)
+++ community-staging-x86_64/ffmpeg.patch 2014-09-28 04:33:12 UTC (rev 119673)
@@ -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 {
+
Copied: recorditnow/repos/community-staging-x86_64/recorditnow.install (from rev 119672, recorditnow/trunk/recorditnow.install)
===================================================================
--- community-staging-x86_64/recorditnow.install (rev 0)
+++ community-staging-x86_64/recorditnow.install 2014-09-28 04:33:12 UTC (rev 119673)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list