diff options
Diffstat (limited to 'multimedia/mjpegtools/mjpegtools.SlackBuild')
-rw-r--r-- | multimedia/mjpegtools/mjpegtools.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index e2566c373a..fce2888da8 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mjpegtools -VERSION=1.9.0 -BUILD=${BUILD:-3} +VERSION=2.0.0 +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -69,8 +69,9 @@ chmod -R a-s,u+w,go+r-w . # Fix for x86_64 sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure -patch -p1 < $CWD/mjpegtools-1.9.0-glibc-2.10.patch -patch -p0 < $CWD/mjpegtools-1.9.0-jpeg-7.patch + +# Fix for gcc-4.7.x +sed -i 's/\tDeleteRegion/\tthis->DeleteRegion/' y4mdenoise/MotionSearcher.hh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -91,10 +92,8 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* |