[arch-commits] Commit in recordmydesktop/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:19:11 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:19:11
  Author: felixonmars
Revision: 658893

archrelease: copy trunk to community-staging-x86_64

Added:
  recordmydesktop/repos/community-staging-x86_64/
  recordmydesktop/repos/community-staging-x86_64/PKGBUILD
    (from rev 658891, recordmydesktop/trunk/PKGBUILD)
  recordmydesktop/repos/community-staging-x86_64/recordmydesktop-bitrate.patch
    (from rev 658891, recordmydesktop/trunk/recordmydesktop-bitrate.patch)
  recordmydesktop/repos/community-staging-x86_64/shmstr-to-shmproto.patch
    (from rev 658892, recordmydesktop/trunk/shmstr-to-shmproto.patch)

-------------------------------+
 PKGBUILD                      |   32 +++++++++++++++++++++++++
 recordmydesktop-bitrate.patch |   50 ++++++++++++++++++++++++++++++++++++++++
 shmstr-to-shmproto.patch      |   20 ++++++++++++++++
 3 files changed, 102 insertions(+)

Copied: recordmydesktop/repos/community-staging-x86_64/PKGBUILD (from rev 658891, recordmydesktop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:19:11 UTC (rev 658893)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
+
+pkgname=recordmydesktop
+pkgver=0.3.8.1
+pkgrel=9
+pkgdesc="Produces a OGG encapsulated Theora/Vorbis recording of your desktop"
+arch=('x86_64')
+url="http://recordmydesktop.sourceforge.net"
+license=('GPL')
+depends=('alsa-lib' 'zlib' 'libvorbis' 'libxdamage' 'libxext' 'libtheora' 'libsm' 'jack')
+makedepends=('jack')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+	shmstr-to-shmproto.patch
+	recordmydesktop-bitrate.patch)
+sha512sums=('a32df1257d7d8928123437b38abcbdf623a9a65d313df5bec9bc06ef7229ebe4664a3cbea1fe5f6f1f9b89efb939873adc020f4ac072477f6df9481a37e7c350'
+            '22cc2cb91013466908858e0246643b80822e3935265e9d3d1653626bfadfdd798f78aa482addd7db1afd6c4d7f19e1f9917eed3096981cf994879027a2ff61cf'
+            '0e26f5170c39b74c345a35d6c64a6745261a2457cd340d62c1181c90ead8d6a41ebdbbee9f115d8bfc1dea2cce021a6aadd3abf9df3b7ebcff9e59774204f560')
+
+build() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  patch -p0 < "$srcdir"/shmstr-to-shmproto.patch
+  patch -p1 < "$srcdir"/recordmydesktop-bitrate.patch
+  ./configure --prefix=/usr --enable-jack=yes LIBS="`pkg-config --libs jack`" \
+	CFLAGS="`pkg-config --cflags jack` -DHAVE_LIBJACK"
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  make DESTDIR="$pkgdir" install
+}

Copied: recordmydesktop/repos/community-staging-x86_64/recordmydesktop-bitrate.patch (from rev 658891, recordmydesktop/trunk/recordmydesktop-bitrate.patch)
===================================================================
--- community-staging-x86_64/recordmydesktop-bitrate.patch	                        (rev 0)
+++ community-staging-x86_64/recordmydesktop-bitrate.patch	2020-07-07 15:19:11 UTC (rev 658893)
@@ -0,0 +1,50 @@
+diff -ru recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c recordmydesktop-0.3.8.1/src/rmd_initialize_data.c
+--- recordmydesktop-0.3.8.1.old/src/rmd_initialize_data.c	2009-11-25 10:05:58.708779029 -0500
++++ recordmydesktop-0.3.8.1/src/rmd_initialize_data.c	2009-11-25 09:28:07.629507987 -0500
+@@ -224,7 +224,7 @@
+     args->channels             = 1;
+     args->frequency            = 22050;
+     args->buffsize             = 4096;
+-    args->v_bitrate            = 45000;
++    args->v_bitrate            = 0;
+     args->v_quality            = 63;
+     args->s_quality            = 10;
+ 
+diff -ru recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c recordmydesktop-0.3.8.1/src/rmd_parseargs.c
+--- recordmydesktop-0.3.8.1.old/src/rmd_parseargs.c	2009-11-25 10:06:07.409777969 -0500
++++ recordmydesktop-0.3.8.1/src/rmd_parseargs.c	2009-11-25 09:39:32.786757292 -0500
+@@ -104,10 +104,10 @@
+     "Encoding Options\n"
+     "\t--on-the-fly-encoding\tEncode the audio-video data, while recording.\n"
+     "\t--v_quality n\t\tA number from 0 to 63 for"
+-    " desired encoded video quality(default 63).\n"
++    " desired encoded video quality(default 63).\n\t               (set quality to zero for bitrate controlled usage)\n"
+ 
+-    "\t--v_bitrate n\t\tA number from 45000 to 2000000"
+-    " for desired encoded video bitrate(default 45000).\n"
++    "\t--v_bitrate n\t\tA number from 0 to 200000000"
++    " for desired encoded video bitrate(default 0 = not rate controlled).\n"
+ 
+     "\t--s_quality n\t\tDesired audio quality(-1 to 10).\n\n"
+ 
+@@ -327,17 +327,17 @@
+                  strcmp(argv[i], "-v_bitrate")  == 0) {
+             if(i+1<argc){
+                 int num=atoi(argv[i+1]);
+-                if((num>=45000)&&(num<=2000000))
++                if((num>=0)&&(num<=200000000))
+                     arg_return->v_bitrate=num;
+                 else{
+                     fprintf(stderr,"Argument Usage:"
+-                                   " --v_bitrate n(number 45000-2000000)\n");
++                                   " --v_bitrate n(number 0-200000000)\n");
+                     return FALSE;
+                 }
+             }
+             else{
+                 fprintf(stderr,"Argument Usage:"
+-                               " --v_bitrate n(number 45000-2000000)\n");
++                               " --v_bitrate n(number 0-200000000)\n");
+                 return FALSE;
+             }
+             i++;

Copied: recordmydesktop/repos/community-staging-x86_64/shmstr-to-shmproto.patch (from rev 658892, recordmydesktop/trunk/shmstr-to-shmproto.patch)
===================================================================
--- community-staging-x86_64/shmstr-to-shmproto.patch	                        (rev 0)
+++ community-staging-x86_64/shmstr-to-shmproto.patch	2020-07-07 15:19:11 UTC (rev 658893)
@@ -0,0 +1,20 @@
+--- src/rmd_getzpixmap.c	2008-12-13 17:04:10.000000000 +0100
++++ src/rmd_getzpixmap.c	2009-11-11 11:30:18.000000000 +0100
+@@ -32,7 +32,7 @@
+ 
+ #include <X11/Xlib.h>
+ #include <X11/Xlibint.h>
+-#include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ #include <X11/extensions/XShm.h>
+ 
+ 
+--- src/rmd_update_image.c	2008-12-13 17:20:49.000000000 +0100
++++ src/rmd_update_image.c	2009-11-11 11:30:34.000000000 +0100
+@@ -32,7 +32,7 @@
+ #include "rmd_types.h"
+ 
+ #include <X11/Xlibint.h>
+-#include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ #include <X11/extensions/XShm.h>


More information about the arch-commits mailing list