# Maintainer: goodguy <lists.cinelerra-gg.org>
pkgname=cin
pkgver=5.1
-pkgrel=20190131
+pkgrel=20190228
pkgdesc="Cinelerra git://git.cinelerra-gg.org/goodguy/cinelerra.git ($pkgrel)"
arch=('x86_64')
url="https://www.cinelerra-gg.org"
-%define ver 20190131
+%define ver 20190228
%define cin cinelerra
Summary: Multimedia Editing and construction
-cin (1:5.1.20190131) unstable; urgency=low
+cin (1:5.1.20190228) unstable; urgency=low
[ guy goode ]
Source: cin
Section: video
Priority: optional
-Standards-Version: 5.1.20190131
+Standards-Version: 5.1.20190228
Homepage: https://www.cinelerra-gg.org/
Build-Depends: nasm, yasm, g++, gdb, build-essential, e2fsprogs,
if( height ) asset->height = height;
asset->layers = 1;
if( !asset->frame_rate )
- asset->frame_rate = 1;
+ asset->frame_rate = 10;
asset->video_data = 1;
row_size = gif_file->SWidth * sizeof(GifPixelType);
bg = (GifRowType)malloc(row_size);
result = scan_gif();
asset->video_length = file_pos.size();
}
- if( !result ) {
- asset->video_data = 1;
- if( !asset->frame_rate )
- asset->frame_rate = 10;
- }
return result;
}
if( height ) asset->height = height;
asset->layers = 1;
if( !asset->frame_rate )
- asset->frame_rate = 1;
+ asset->frame_rate = 10;
}
}
else
char string[BCTEXTLEN];
asset->width = w;
asset->height = h;
+ fwindow->lock_window("ResizeAssetThread::update");
sprintf(string, "%d", asset->width);
fwindow->win_width->update(string);
sprintf(string, "%d", asset->height);
fwindow->win_height->update(string);
+ fwindow->unlock_window();
}
ResizeAssetButton::ResizeAssetButton(AssetEditWindow *fwindow, int x, int y)
])
## arch dep tests
-ARCH=`uname -m`
-I86=`expr "x$ARCH" : 'xi[346]86.*'`
-X86=`expr "x$ARCH" : 'x..._64*'`
+ARCH=[`uname -m`]
+I86=[`expr "x$ARCH" : 'xi[346]86.*'`]
+X86=[`expr "x$ARCH" : 'x..._64*'`]
if test "x$I86$X86" != "x00" ; then
# Checks for ix86 programs.
libaom.cfg_params?= -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$(call bld_path,libaom)/usr/local
libaom.mak_params?= ; $(MAKE) -C libaom* install
-libwebp.cfg_vars?= ./autogen.sh ;
-libwebp.cfg_params?=--enable-shared=no
-libwebp.mak_params?=; $(MAKE) -C libwebp* install DESTDIR=$(call bld_path,libwebp)
+libwebp.cfg_vars?= mkdir build && cd build && $(call cmake_config,..)
+libwebp.mak_params?= -C build all install DESTDIR=$(call bld_path,libwebp)
mjpegtools.cflags?="$(call inc_path,libjpeg) $(call ld_path,libjpeg,.libs)"
mjpegtools.mak_params?=; ln -s . $(call bld_path,mjpegtools,utils)/mjpegtools
mjpegtools.cfg_params?= --enable-shared=no --without-libsdl --without-v4l