1
0
forked from ports/contrib

libmediainfo: 22.12 -> 23.03

This commit is contained in:
Tim Biermann 2023-03-31 16:54:38 +02:00
parent e7a859a1bb
commit 46ad528e41
2 changed files with 17 additions and 11 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30czFnfrbmaUWywVi57niEMRpuZ0m8+dFECA0lmtt8RpqFcuAA9Vzu7+HtTRk1SLFTm4r85TbDj4OKtplSkc7A8=
SHA256 (Pkgfile) = 43d3f7d05cf016d6b00efdaabd2f2047c618f2bab00e7437475ce881c4d5d949
RWSagIOpLGJF33xilJsHCC/Nvgm4k5KxyFHDEFu6Xuzvx6zza3gZYy7AkOmTc3AUhwhmTiHwaoH2WcKzCeEo2RLsTcMj2mahfww=
SHA256 (Pkgfile) = 479270f34bb2ba8807c16ae323458fc86f5e32bdcbc2e9544cd863861ef5938b
SHA256 (.footprint) = 73cdfd6e9d921638301ec8125028af8c82b07bea78298e90ecd66352b5f6c54d
SHA256 (libmediainfo_22.12.tar.xz) = 0fc6d32f06d6ce5e144074d2e57e0db8dfa4e38e752d3123ada27ccaf89634bc
SHA256 (libmediainfo_23.03.tar.xz) = f57afffd76c6f9569ceb1e778fce834508eb0289bdeb62181143804aa3a6c098

View File

@ -1,26 +1,32 @@
# Description: MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files
# URL: https://mediaarea.net/en/MediaInfo
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libmms libzen tinyxml
# Depends on: libzen
# Optional: libmms tinyxml
name=libmediainfo
version=22.12
version=23.03
release=1
source=(https://mediaarea.net/download/source/libmediainfo/$version/libmediainfo_$version.tar.xz)
build() {
cd MediaInfoLib/Project/GNU/Library
export CFLAGS="$CFLAGS -I/usr/include/libmms"
export CPPFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS"
prt-get isinst libmms && PKGMK_LIBMEDIAINFO+=' --with-libmms'
#prt-get isinst tinyxml && PKGMK_LIBMEDIAINFO+=' --with-libtinyxml2'
if prt-get isinst libmms; then
export CFLAGS="$CFLAGS -I/usr/include/libmms -I /usr/include/ti "
export CPPFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS"
fi
./autogen.sh
./configure --prefix=/usr \
./configure --prefix=/usr $PKGMK_LIBMEDIAINFO \
--enable-shared \
--disable-static \
--with-libcurl \
--with-libmms
--with-libcurl
make
make DESTDIR=$PKG install
}