libmediainfo: update to 20.09.
This commit is contained in:
parent
50f7d64f73
commit
e8f188e6a3
|
@ -0,0 +1,29 @@
|
|||
--- Project/GNU/Library/test/utils.sh 2020-10-17 17:36:11.648662226 +0200
|
||||
+++ - 2020-10-17 17:38:40.423209231 +0200
|
||||
@@ -1,26 +1,6 @@
|
||||
#!/bin/sh
|
||||
UTILS_PATH=$(dirname "$0")
|
||||
|
||||
-if [ ! -f "$UTILS_PATH/mediatrace.xsd" ]
|
||||
-then
|
||||
- wget https://github.com/MediaArea/MediaAreaXml/raw/master/mediatrace.xsd -O "$UTILS_PATH/mediatrace.xsd"
|
||||
-fi
|
||||
-
|
||||
-if [ ! -f "$UTILS_PATH/micromediatrace.xsd" ]
|
||||
-then
|
||||
- wget https://github.com/MediaArea/MediaAreaXml/raw/master/micromediatrace.xsd -O "$UTILS_PATH/micromediatrace.xsd"
|
||||
-fi
|
||||
-
|
||||
-if [ ! -f "$UTILS_PATH/mediainfo_2_0.xsd" ]
|
||||
-then
|
||||
- wget https://mediaarea.net/mediainfo/mediainfo_2_0.xsd -O "$UTILS_PATH/mediainfo.xsd"
|
||||
-fi
|
||||
-
|
||||
-if [ ! -f "$UTILS_PATH/mediaarea.xsd" ]
|
||||
-then
|
||||
- wget https://github.com/MediaArea/MediaAreaXml/raw/master/mediaarea.xsd -O "$UTILS_PATH/mediaarea.xsd"
|
||||
-fi
|
||||
-
|
||||
enabled()
|
||||
{
|
||||
if test -z "${RUN_TESTS+x}" ; then
|
|
@ -1,19 +1,53 @@
|
|||
# Template file for 'libmediainfo'
|
||||
pkgname=libmediainfo
|
||||
version=20.08
|
||||
version=20.09
|
||||
revision=1
|
||||
_tests_commit=983666091bee260198d8426e2045f1aca85e5e2f
|
||||
wrksrc=MediaInfoLib
|
||||
build_wrksrc=Project/GNU/Library
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-shared --disable-static --with-libcurl --with-libmms"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="libcurl-devel libmms-devel libzen-devel"
|
||||
checkdepends="git libxml2 nodejs libxml2"
|
||||
short_desc="Shared library for mediainfo"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="BSD-2-Clause"
|
||||
homepage="https://mediaarea.net/MediaInfo"
|
||||
distfiles="https://mediaarea.net/download/source/libmediainfo/${version}/${pkgname}_${version}.tar.xz"
|
||||
checksum=12d346b10d6cbb83b81926de5fbfe6dee9e9f877e73cb5dac86609826582c8a6
|
||||
checksum="d07ce857330a9f9eedc4e5748f8022af1e9540e88a732d4e45c818c8ec4dd196
|
||||
a11b37a3c421da4b876f3d9394e9b4c5893115e5431774c2f34225753c01a399
|
||||
40ff46f5475cd20e110b92b312ec30196ffe691b84f355e6a8923a038df4ed39
|
||||
adb4bdb1b354299b95c8484a6ffeafe06614de29a0fd070caff3d7b059f89b4b
|
||||
14faa6e04046c49952c9405266a21bf6fb0e4ad56a13232a5bfe3c9dbdfe9a8f
|
||||
ba4ab436ce514d99e9c7cbfc46d844c597bfec0a986d49b441d62385561c0e0d"
|
||||
skip_extraction="mediatrace.xsd
|
||||
micromediatrace.xsd
|
||||
mediainfo.xsd
|
||||
mediaarea.xsd"
|
||||
|
||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||
distfiles+="
|
||||
https://github.com/MediaArea/MediaAreaXml/raw/master/mediatrace.xsd
|
||||
https://github.com/MediaArea/MediaAreaXml/raw/master/micromediatrace.xsd
|
||||
https://mediaarea.net/mediainfo/mediainfo_2_0.xsd>mediainfo.xsd
|
||||
https://github.com/MediaArea/MediaAreaXml/raw/master/mediaarea.xsd
|
||||
https://github.com/MediaArea/MediaArea-RegressionTestingFiles/archive/${_tests_commit}.tar.gz"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||
mv ../MediaArea-RegressionTestingFiles-${_tests_commit} "${wrksrc}/${build_wrksrc}/test/Files"
|
||||
for f in mediatrace.xsd micromediatrace.xsd mediainfo.xsd mediaarea.xsd; do
|
||||
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/$f" "${wrksrc}/${build_wrksrc}/test/$f"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pre_check() {
|
||||
npm install jsonlint
|
||||
export PATH="$PATH:${wrksrc}/${build_wrksrc}/node_modules/.bin/"
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
|
Loading…
Reference in New Issue