wok-4.x diff avidemux/receipt @ rev 5842

xfmedia: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 12:24:19 2010 +0200 (2010-07-16)
parents f73c1b076929
children 77845403d35c
line diff
     1.1 --- a/avidemux/receipt	Wed May 05 10:58:19 2010 +0200
     1.2 +++ b/avidemux/receipt	Fri Jul 16 12:24:19 2010 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="avidemux"
     1.7 -VERSION="2.5.2"
     1.8 +VERSION="2.5.3"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="free video editor"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12 @@ -19,12 +19,15 @@
    1.13  	mkdir $WOK/$PACKAGE/avidemux-$VERSION
    1.14  	mv $WOK/$PACKAGE/avidemux_$VERSION $WOK/$PACKAGE/avidemux-$VERSION/src
    1.15  	cd $src
    1.16 +	grep -q ADM_CPU_X86_64 src/avidemux/ADM*/src/ADM_vidField[sA]*.cpp ||
    1.17 +	sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \
    1.18 +		src/avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp 
    1.19  	mkdir built
    1.20  	cd built
    1.21  	cmake -DCMAKE_INSTALL_PREFIX=/usr ../src
    1.22  	sed -i 's/\(find .*\) | xargs ln -sft/ln -sf $(\1)/' \
    1.23  		avidemux/CMakeFiles/ffmpeg.dir/build.make
    1.24 -	make && make DESTDIR=$PWD/../_pkg install
    1.25 +	make -j 4  && make DESTDIR=$PWD/../_pkg install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.