2019-06-11 23:45:46 +02:00
|
|
|
# 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
|
2023-03-31 16:54:38 +02:00
|
|
|
# Depends on: libzen
|
|
|
|
# Optional: libmms tinyxml
|
2019-06-11 23:45:46 +02:00
|
|
|
|
|
|
|
name=libmediainfo
|
2024-04-18 17:27:07 +02:00
|
|
|
version=24.04
|
2019-06-11 23:45:46 +02:00
|
|
|
release=1
|
|
|
|
source=(https://mediaarea.net/download/source/libmediainfo/$version/libmediainfo_$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2020-04-29 18:21:22 +02:00
|
|
|
cd MediaInfoLib/Project/GNU/Library
|
2022-12-24 20:31:24 +01:00
|
|
|
|
2023-03-31 16:54:38 +02:00
|
|
|
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
|
2022-12-24 20:31:24 +01:00
|
|
|
|
2020-04-29 18:21:22 +02:00
|
|
|
./autogen.sh
|
2023-03-31 16:54:38 +02:00
|
|
|
./configure --prefix=/usr $PKGMK_LIBMEDIAINFO \
|
2020-04-29 18:21:22 +02:00
|
|
|
--enable-shared \
|
|
|
|
--disable-static \
|
2023-03-31 16:54:38 +02:00
|
|
|
--with-libcurl
|
|
|
|
|
2020-04-29 18:21:22 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-06-11 23:45:46 +02:00
|
|
|
}
|