Browse Source

ap/mkvtoolnix: Upgraded to mkvtoolnix-9.9.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
dba1c147e8
  1. 1
      ap/mkvtoolnix/mkvtoolnix-9.2.0.tar.xz.sha1
  2. 1
      ap/mkvtoolnix/mkvtoolnix-9.9.0.tar.xz.sha256
  3. 20
      ap/mkvtoolnix/mkvtoolnix.SlackBuild

1
ap/mkvtoolnix/mkvtoolnix-9.2.0.tar.xz.sha1

@ -1 +0,0 @@
eea8473d59b5d97c134d8e32b8022b8cda7f1779 mkvtoolnix-9.2.0.tar.xz

1
ap/mkvtoolnix/mkvtoolnix-9.9.0.tar.xz.sha256

@ -0,0 +1 @@
f06c9359bd197b5de6556a05506f0ea9ddab72045b72f1ed04b1807e4e042043 mkvtoolnix-9.9.0.tar.xz

20
ap/mkvtoolnix/mkvtoolnix.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010-2013,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2010-2013,2015-2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-mkvtoolnix}
VERSION=${VERSION:-9.2.0}
VERSION=${VERSION:-9.9.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://www.bunkus.org/videotools/mkvtoolnix/sources/$ARCHIVE}
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -90,9 +90,10 @@ CXXFLAGS=$CPUOPT \
--prefix=/usr \
--mandir=/usr/man \
--disable-static \
--disable-qt
./drake -j $JOBS
./drake install DESTDIR=$PKG
--disable-qt \
--build=$ARCH-slackware-linux
rake -j $JOBS
rake install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
@ -103,11 +104,16 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog NEWS.md README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
libmatroska
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save