summaryrefslogtreecommitdiff
path: root/libmediainfo/Pkgfile
blob: 9af2061f22d692383737521aac0baf38e34ab507 (plain)
    1 # Description: MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files
    2 # URL: https://mediaarea.net/en/MediaInfo
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: libmms libzen tinyxml
    5 
    6 name=libmediainfo
    7 version=22.12
    8 release=1
    9 source=(https://mediaarea.net/download/source/libmediainfo/$version/libmediainfo_$version.tar.xz)
   10 
   11 build() {
   12   cd MediaInfoLib/Project/GNU/Library
   13 
   14   export CFLAGS="$CFLAGS -I/usr/include/libmms"
   15   export CPPFLAGS="$CFLAGS"
   16   export CXXFLAGS="$CFLAGS"
   17 
   18   ./autogen.sh
   19   ./configure --prefix=/usr \
   20     --enable-shared \
   21     --disable-static \
   22     --with-libcurl \
   23     --with-libmms
   24   make
   25   make DESTDIR=$PKG install
   26 }

Generated by cgit