libmatroska: Update to 1.6.2

This commit is contained in:
Alexey Pavlov
2020-10-13 23:37:10 +03:00
parent 1ea534d839
commit 2f0ab71908
2 changed files with 15 additions and 15 deletions

View File

@@ -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
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>

View File

@@ -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}