Browse Source

l/libmatroska: Upgraded to libmatroska-1.5.2.

current-20191101
parent
commit
84b8770f6c
3 changed files with 11 additions and 12 deletions
  1. +0
    -1
      l/libmatroska/libmatroska-1.4.7.tar.bz2.sha256
  2. +1
    -0
      l/libmatroska/libmatroska-1.5.2.tar.xz.sha256
  3. +10
    -11
      l/libmatroska/libmatroska.SlackBuild

+ 0
- 1
l/libmatroska/libmatroska-1.4.7.tar.bz2.sha256 View File

@ -1 +0,0 @@
46441eb3bae9f970f68affaa211dd74302a7072dcd2becfb1114da11b66525fa libmatroska-1.4.7.tar.bz2

+ 1
- 0
l/libmatroska/libmatroska-1.5.2.tar.xz.sha256 View File

@ -0,0 +1 @@
0ac6debfbf781d47f001b830aaf9be9dfbcefd13bcfb80ca5efc1c04b4a3c962 libmatroska-1.5.2.tar.xz

+ 10
- 11
l/libmatroska/libmatroska.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2013,2015-2017 Damien Goutte-Gattat
# Copyright (C) 2008-2013,2015-2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,8 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-libmatroska}
VERSION=${VERSION:-1.4.7}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
VERSION=${VERSION:-1.5.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://dl.matroska.org/downloads/libmatroska/$ARCHIVE}
# Built package infos
@ -86,20 +86,19 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
mkdir build && cd build
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=YES \
..
make -j $JOBS
make install-strip DESTDIR=$PKG
make install/strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 ChangeLog LICENSE.LGPL $PKG/usr/doc/$NAME
install -m 644 ../ChangeLog ../LICENSE.LGPL ../README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc


Loading…
Cancel
Save