recordmydesktop: add more compatibility patches
Sound support is disabled by default since it unsupported anyway.
This commit is contained in:
parent
b4b6f8646d
commit
e0ac5f2503
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Produces a OGG encapsulated Theora/Vorbis recording of y
|
||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||||
TERMUX_PKG_VERSION=0.3.8.1
|
TERMUX_PKG_VERSION=0.3.8.1
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/recordmydesktop/recordmydesktop-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/recordmydesktop/recordmydesktop-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=33a2e208186ae78e2db2a27b0f5047b50fb7819c47fe15483b0765200b9d738c
|
TERMUX_PKG_SHA256=33a2e208186ae78e2db2a27b0f5047b50fb7819c47fe15483b0765200b9d738c
|
||||||
TERMUX_PKG_DEPENDS="libandroid-shmem, libsm, libtheora, libvorbis, libxdamage, libxext, zlib"
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libsm, libtheora, libvorbis, libxdamage, libxext, zlib"
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff -uNr recordmydesktop-0.3.8.1/src/rmd_initialize_data.c recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c
|
||||||
|
--- recordmydesktop-0.3.8.1/src/rmd_initialize_data.c 2008-12-13 17:49:09.000000000 +0200
|
||||||
|
+++ recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c 2020-02-11 15:00:47.318593830 +0200
|
||||||
|
@@ -240,7 +240,7 @@
|
||||||
|
strcpy(args->device, DEFAULT_AUDIO_DEVICE);
|
||||||
|
|
||||||
|
args->workdir = (char *) malloc(5);
|
||||||
|
- strcpy(args->workdir, "/tmp");
|
||||||
|
+ strcpy(args->workdir, "@TERMUX_PREFIX@/tmp");
|
||||||
|
|
||||||
|
args->pause_shortcut = (char *) malloc(15);
|
||||||
|
strcpy(args->pause_shortcut, "Control+Mod1+p");
|
|
@ -0,0 +1,14 @@
|
||||||
|
Sound is unsupported.
|
||||||
|
|
||||||
|
diff -uNr recordmydesktop-0.3.8.1/src/rmd_initialize_data.c recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c
|
||||||
|
--- recordmydesktop-0.3.8.1/src/rmd_initialize_data.c 2008-12-13 17:49:09.000000000 +0200
|
||||||
|
+++ recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c 2020-02-11 14:59:43.758378031 +0200
|
||||||
|
@@ -202,7 +202,7 @@
|
||||||
|
args->width = 0;
|
||||||
|
args->height = 0;
|
||||||
|
args->rescue_path = NULL;
|
||||||
|
- args->nosound = 0;
|
||||||
|
+ args->nosound = 1;
|
||||||
|
args->full_shots = 0;
|
||||||
|
args->follow_mouse = 0;
|
||||||
|
args->encOnTheFly = 0;
|
Loading…
Reference in New Issue