multimedia/mkvtoolnix: Make use the examples and man pages.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ozan Turkyilmaz 2018-10-19 13:40:11 +05:00 committed by Willy Sudiarto Raharjo
parent 894d1e385a
commit 2952d214f2
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 14 additions and 6 deletions

View File

@ -1,14 +1,17 @@
MKVToolnix is a set of tools to create, alter and inspect Matroska
(and WebM) files. With these tools one can:
* Get information about Matroska files (mkvinfo) * Extract tracks/data
from Matroska files (mkvextract) * Create Matroska files from other
media files (mkvmerge) * Modify properties of existing Matroska files
(mkvpropedit)
* Get information about Matroska files (mkvinfo)
* Extract tracks/data from Matroska files (mkvextract)
* Create Matroska files from other media files (mkvmerge)
* Modify properties of existing Matroska files (mkvpropedit)
Note: this comes with internal versions of libembl and libmatroska.
Note: This comes with internal versions of libembl and libmatroska.
Configure will use the internal versions if it fails to find them or
they are unusable.
Interested parties can build QT version of GUI by passing QTGUI=yes.
This requires QT5, libinput, and libxkbcommon to be installed.
It is also possible to install translation of man pages. It requires
po4a to be installed. Configure catches it automatically.

View File

@ -24,7 +24,7 @@
PRGNAM=mkvtoolnix
VERSION=${VERSION:-27.0.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -79,6 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--localstatedir=/var \
--enable-qt=${QTGUI:-no} \
--docdir=/usr/$PRGNAM-$VERSION \
--htmldir=/usr/$PRGNAM-$VERSION \
--with-boost
rake pkgdatadir=/usr/doc/$PRGNAM-$VERSION
@ -98,5 +100,8 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
#move examples
mv $TMP/$PRGNAM-$VERSION/examples $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}