summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mkvtoolnix/README13
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild7
2 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/mkvtoolnix/README b/multimedia/mkvtoolnix/README
index 2e040fb2a3..f09c60bcf3 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 b562bf202f..05b885583f 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}