From 2f0ab71908372355a45fea8b1da6bdb8d8dfea73 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Tue, 13 Oct 2020 23:37:10 +0300 Subject: [PATCH] libmatroska: Update to 1.6.2 --- .../002-mingw-versioned-dll.patch | 22 +++++++++---------- mingw-w64-libmatroska/PKGBUILD | 8 +++---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/mingw-w64-libmatroska/002-mingw-versioned-dll.patch b/mingw-w64-libmatroska/002-mingw-versioned-dll.patch index 6481292c24..926a72603c 100644 --- a/mingw-w64-libmatroska/002-mingw-versioned-dll.patch +++ b/mingw-w64-libmatroska/002-mingw-versioned-dll.patch @@ -1,14 +1,14 @@ --- libmatroska-1.5.1.orig/CMakeLists.txt 2019-05-26 12:33:37.374638000 -0400 +++ libmatroska-1.5.1/CMakeLists.txt 2019-05-26 12:35:29.399371900 -0400 @@ -72,6 +72,11 @@ - endif() - if(BUILD_SHARED_LIBS) - target_compile_definitions(matroska PUBLIC MATROSKA_DLL) -+ if(MINGW) -+ set_target_properties(matroska -+ PROPERTIES -+ RUNTIME_OUTPUT_NAME matroska-6) -+ endif() - set_target_properties(matroska PROPERTIES - DEFINE_SYMBOL "MATROSKA_DLL_EXPORT" - CXX_VISIBILITY_PRESET hidden + CXX_VISIBILITY_PRESET hidden + VISIBILITY_INLINES_HIDDEN ON + ) ++if(MINGW) ++ set_target_properties(matroska ++ PROPERTIES ++ RUNTIME_OUTPUT_NAME matroska-7) ++endif() + target_include_directories(matroska + PRIVATE + $ diff --git a/mingw-w64-libmatroska/PKGBUILD b/mingw-w64-libmatroska/PKGBUILD index 065010b478..06d546ead0 100644 --- a/mingw-w64-libmatroska/PKGBUILD +++ b/mingw-w64-libmatroska/PKGBUILD @@ -3,8 +3,8 @@ _realname=libmatroska pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") -pkgver=1.5.2 -pkgrel=2 +pkgver=1.6.2 +pkgrel=1 pkgdesc="Matroska library (mingw-w64)" arch=('any') license=('LGPL') @@ -16,8 +16,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" options=('staticlibs') source=("https://dl.matroska.org/downloads/${_realname}/${_realname}-${pkgver}.tar.xz" 002-mingw-versioned-dll.patch) -sha256sums=('0ac6debfbf781d47f001b830aaf9be9dfbcefd13bcfb80ca5efc1c04b4a3c962' - '7e3d0c737360f92522e7876e08cea4e77b09329fa510f63d43d958f26627fe2e') +sha256sums=('bc4479aa8422ab07643df6a1fa5a19e4bed4badfd41ca77e081628620d1e1990' + '982c95e45e4b4b4b6dbf7ab447893a14e8f473e6475dd306442f030fbf3376ff') prepare() { cd ${srcdir}/${_realname}-${pkgver}