diff options
author | Ozan Turkyilmaz <ozan.turkyilmaz@gmail.com> | 2018-10-19 13:40:11 +0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-20 21:09:10 +0700 |
commit | 2952d214f2d3384add7a5f36751cc233716ad7f5 (patch) | |
tree | 7165a2b69745b181733287a57ccaf8af3ae25b81 /multimedia | |
parent | 894d1e385ad028fef7a96846bb2745065f824480 (diff) |
multimedia/mkvtoolnix: Make use the examples and man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mkvtoolnix/README | 13 | ||||
-rw-r--r-- | multimedia/mkvtoolnix/mkvtoolnix.SlackBuild | 7 |
2 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/mkvtoolnix/README b/multimedia/mkvtoolnix/README index 2e040fb2a3de6..f09c60bcf3f9d 100644 --- a/multimedia/mkvtoolnix/README +++ b/multimedia/mkvtoolnix/README @@ -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. diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild index b562bf202fe82..05b885583f5c3 100644 --- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild +++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild @@ -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} |