ports/contrib (3.7): libmediainfo: 22.12 -> 23.03
commit 46ad528e41511970d35d212475ba555dcc061893 Author: Tim Biermann <tbier@posteo.de> Date: Fri Mar 31 16:54:38 2023 +0200 libmediainfo: 22.12 -> 23.03 diff --git a/libmediainfo/.signature b/libmediainfo/.signature index 1ea54d279..0a5b9c524 100644 --- a/libmediainfo/.signature +++ b/libmediainfo/.signature @@ -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 diff --git a/libmediainfo/Pkgfile b/libmediainfo/Pkgfile index 9af2061f2..6c22415c2 100644 --- a/libmediainfo/Pkgfile +++ b/libmediainfo/Pkgfile @@ -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_$ve...) 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 }
participants (1)
-
crux@crux.nu