Browse Source

ap/mkvtoolnix: Upgraded to mkvtoolnix-4.7.0.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
d3b2f20497
  1. 1
      ap/mkvtoolnix/mkvtoolnix-4.3.0.tar.bz2.sha1
  2. 1
      ap/mkvtoolnix/mkvtoolnix-4.7.0.tar.bz2.sha1
  3. 19
      ap/mkvtoolnix/mkvtoolnix.SlackBuild

1
ap/mkvtoolnix/mkvtoolnix-4.3.0.tar.bz2.sha1

@ -1 +0,0 @@
70ae0d5769d65b032c15eedc01e914be3245779e mkvtoolnix-4.3.0.tar.bz2

1
ap/mkvtoolnix/mkvtoolnix-4.7.0.tar.bz2.sha1

@ -0,0 +1 @@
eaa688dde0e3218f2f1e7caf7d0d0f94181328c0 mkvtoolnix-4.7.0.tar.bz2

19
ap/mkvtoolnix/mkvtoolnix.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010 Damien Goutte-Gattat
# Copyright (C) 2010,2011 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,11 +26,11 @@
# <http://www.bunkus.org/videotools/mkvtoolnix/index.html>.
#
# Depends: l/libmatroska
# Recommends: l/wxwidgets-gtk
# Optional: l/wxwidgets-gtk
# Source package infos
NAMESRC=${NAMESRC:-mkvtoolnix}
VERSION=${VERSION:-4.3.0}
VERSION=${VERSION:-4.7.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://www.bunkus.org/videotools/mkvtoolnix/sources/$ARCHIVE}
@ -89,20 +89,23 @@ CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--mandir=/usr/man
./rake.d/vendor/drake-0.8.7.0.2.4/bin/drake -j $JOBS
./rake.d/vendor/drake-0.8.7.0.2.4/bin/drake install DESTDIR=$PKG
--mandir=/usr/man \
--disable-wxwidgets \
--enable-qt
./drake -j $JOBS
./drake install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/mkvtoolnix $PKG/usr/doc/$NAME
mv $PKG/usr/share/doc/mkvtoolnix $PKG/usr/doc/$NAME
rmdir $PKG/usr/share/doc
install -m 644 AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$NAME
# Copy slack-desc file

Loading…
Cancel
Save