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/libmatroska.SlackBuild | |
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/libmatroska.SlackBuild')
-rw-r--r-- | libraries/libmatroska/libmatroska.SlackBuild | 23 |
1 files changed, 11 insertions, 12 deletions
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 |