mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libmediainfo: Updated for version 22.06.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3c121cdc1a
commit
0d7226aa42
3 changed files with 4 additions and 41 deletions
|
@ -27,7 +27,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=libmediainfo
|
||||
VERSION=${VERSION:-21.09}
|
||||
VERSION=${VERSION:-22.06}
|
||||
SRCNAM=MediaInfoLib
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -85,10 +85,6 @@ find -L . \
|
|||
# We do not want to use the builtin libzen
|
||||
patch -p1 < $CWD/remove-internal-libzen-support.patch
|
||||
|
||||
# Fix tfsxml issue
|
||||
# Already fixed upstream, will be in next release
|
||||
patch -p1 < $CWD/tfsxml.patch
|
||||
|
||||
# Autodetect graphviz, libmms, and tinyxml2
|
||||
if pkg-config --exists libgvc ; then graphviz="--with-graphviz" ; else graphviz="--without-grapviz" ; fi
|
||||
if pkg-config --exists libmms ; then libmms="--with-libmms" ; else libmms="--without-libmms" ; fi
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libmediainfo"
|
||||
VERSION="21.09"
|
||||
VERSION="22.06"
|
||||
HOMEPAGE="https://mediaarea.net/MediaInfo"
|
||||
DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v21.09/MediaInfoLib-21.09.tar.gz"
|
||||
MD5SUM="6ef1978110a1bbca86aff7b9e2d2d3d6"
|
||||
DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v22.06/MediaInfoLib-22.06.tar.gz"
|
||||
MD5SUM="03ac4b2f1c39d3ce62b048cb0d26b2ae"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libzen"
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
From 038dff8433053aada3e8bf34655e2cec67305c5c Mon Sep 17 00:00:00 2001
|
||||
From: Jan Palus <jpalus@fastmail.com>
|
||||
Date: Wed, 22 Sep 2021 12:10:41 +0200
|
||||
Subject: [PATCH] ADM: compile-in tfsxml unconditionally (unrelated to
|
||||
tinyxml2)
|
||||
|
||||
Fixes unresolved symbols when compiling with system tinyxml2.
|
||||
---
|
||||
Project/GNU/Library/Makefile.am | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Project/GNU/Library/Makefile.am b/Project/GNU/Library/Makefile.am
|
||||
index ffa05219e..7cf200670 100644
|
||||
--- a/Project/GNU/Library/Makefile.am
|
||||
+++ b/Project/GNU/Library/Makefile.am
|
||||
@@ -230,7 +230,8 @@ lib@MediaInfoLib_LibName@_la_SOURCES = \
|
||||
../../../Source/MediaInfo/Video/File_Vp8.cpp \
|
||||
../../../Source/MediaInfo/Video/File_Y4m.cpp \
|
||||
../../../Source/MediaInfo/XmlUtils.cpp \
|
||||
- ../../../Source/MediaInfo/OutputHelpers.cpp
|
||||
+ ../../../Source/MediaInfo/OutputHelpers.cpp \
|
||||
+ ../../../Source/ThirdParty/tfsxml/tfsxml.c
|
||||
|
||||
@MediaInfoLib_LibName@includedir = $(includedir)/MediaInfo
|
||||
@MediaInfoLib_LibName@include_HEADERS = \
|
||||
@@ -280,7 +281,6 @@ endif
|
||||
|
||||
if COMPILE_TINYXML2
|
||||
lib@MediaInfoLib_LibName@_la_SOURCES += \
|
||||
- ../../../Source/ThirdParty/tfsxml/tfsxml.c \
|
||||
../../../Source/ThirdParty/tinyxml2/tinyxml2.cpp
|
||||
endif
|
||||
|
Loading…
Reference in a new issue