wok-current rev 21612

ffmpegthumbnailer: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 17:32:52 2019 +0200 (2019-05-23)
parents c72a5be583f4
children 3493dc1a3b96
files ffmpegthumbnailer/receipt
line diff
     1.1 --- a/ffmpegthumbnailer/receipt	Thu May 23 17:17:24 2019 +0200
     1.2 +++ b/ffmpegthumbnailer/receipt	Thu May 23 17:32:52 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  }