diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-03-31 18:50:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 15:36:49 -0500 |
commit | fca081d062b457421853f495d9042465ce7d60f3 (patch) | |
tree | d64972b2d9448582f1b2b2534bcddd84f7acdbc9 /multimedia/mjpegtools/mjpegtools.SlackBuild | |
parent | da3feaef8ced2fa59d0ed10623afbe323b675e68 (diff) | |
download | slackbuilds-fca081d062b457421853f495d9042465ce7d60f3.tar.gz |
multimedia/mjpegtools: Updated for version 2.0.0.
This fixes build with kernel headers > 2.6.37 and gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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/* |