wok diff ffmpegthumbnailer/receipt @ rev 21869

busybox/command_not_found: use $PATH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 10:59:33 2019 +0200 (2019-09-25)
parents 25a18b94dcb7
children 919d2a3148b6
line diff
     1.1 --- a/ffmpegthumbnailer/receipt	Thu May 23 17:49:04 2019 +0300
     1.2 +++ b/ffmpegthumbnailer/receipt	Wed Sep 25 10:59:33 2019 +0200
     1.3 @@ -12,18 +12,13 @@
     1.4  
     1.5  
     1.6  DEPENDS="ffmpeg gcc-lib-base libjpeg libpng"
     1.7 -BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls"
     1.8 +BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls gcc83 cmake"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	sed -i 's|return true|return boolean(true)|' \
    1.14 -		libffmpegthumbnailer/jpegwriter.cpp
    1.15 -	./configure \
    1.16 -		--enable-png \
    1.17 -		--enable-jpeg \
    1.18 -		--enable-gio \
    1.19 -		$CONFIGURE_ARGS &&
    1.20 +	export CC=gcc-83 CXX=g++-83
    1.21 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .
    1.22  	make &&
    1.23  	make install
    1.24  }