diff options
author | Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com> | 2022-02-10 09:14:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-10 09:14:13 +0700 |
commit | a298207a91cdf66ce057580e8cb2fd8d290148fc (patch) | |
tree | 0efa0383831f3e4a0591355b80379a59bc6ddf3d /libraries/libmatroska | |
parent | f07d81dd9b3499188ed284234da25cb8c982485b (diff) |
libraries/libmatroska: Updated for version 1.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmatroska')
-rw-r--r-- | libraries/libmatroska/README | 3 | ||||
-rw-r--r-- | libraries/libmatroska/libmatroska.SlackBuild | 23 | ||||
-rw-r--r-- | libraries/libmatroska/libmatroska.info | 6 |
3 files changed, 14 insertions, 18 deletions
diff --git a/libraries/libmatroska/README b/libraries/libmatroska/README index 86220bd123de7..d19cd3c6c9175 100644 --- a/libraries/libmatroska/README +++ b/libraries/libmatroska/README @@ -1,5 +1,2 @@ libmatroska is a C++ libary to parse Matroska files (.mkv and .mka). Matroska is an audio/video container based on EBML. - -Interested parties can build the library with staticlibs by passing -STATICLIB=yes to the script. diff --git a/libraries/libmatroska/libmatroska.SlackBuild b/libraries/libmatroska/libmatroska.SlackBuild index af6507323cde7..409a933396681 100644 --- a/libraries/libmatroska/libmatroska.SlackBuild +++ b/libraries/libmatroska/libmatroska.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmatroska -VERSION=${VERSION:-1.4.8} +VERSION=${VERSION:-1.6.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,21 +82,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - --enable-static=${STATICLIB} +mkdir -p build + +cd build +cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG +cd .. + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/libmatroska/libmatroska.info b/libraries/libmatroska/libmatroska.info index 1ab9dd3f9cce1..63d9d299d9696 100644 --- a/libraries/libmatroska/libmatroska.info +++ b/libraries/libmatroska/libmatroska.info @@ -1,8 +1,8 @@ PRGNAM="libmatroska" -VERSION="1.4.8" +VERSION="1.6.3" HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html" -DOWNLOAD="http://dl.matroska.org/downloads/libmatroska/libmatroska-1.4.8.tar.xz" -MD5SUM="45ffda84badb4e3da5d8f2535e54d511" +DOWNLOAD="http://dl.matroska.org/downloads/libmatroska/libmatroska-1.6.3.tar.xz" +MD5SUM="d3ac01c6b27d99e820351d07d29a089d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libebml" |