# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka setglobal pkgname = 'mediainfo' setglobal pkgver = '0.7.99' setglobal pkgrel = '0' setglobal pkgdesc = '"Supplies technical and tag information about a video or audio file (CLI)'" setglobal url = '"https://mediaarea.net/en/MediaInfo'" setglobal arch = '"all'" setglobal license = '"BSD'" setglobal makedepends = ""automake autoconf cmake libmediainfo-dev>=$pkgver libtool libzen-dev"" setglobal source = ""https://mediaarea.net/download/source/$pkgname/$pkgver/$(pkgname)_$pkgver.tar.bz2"" setglobal builddir = ""$srcdir/MediaInfo"" setglobal _clidir = ""$builddir/Project/GNU/CLI"" proc prepare { default_prepare rm -Rf "$builddir"/Project/MS* cd $_clidir ./autogen.sh } proc build { cd $_clidir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libdir=/usr/lib \ --sysconfdir=/etc \ --enable-static=no make } proc check { cd $_clidir ./mediainfo --version } proc package { cd $_clidir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"88f3b897e36bf5d9a28f96537da93a7c1e01828b014c0e07c41ae646f3a2c6a9cae187c5a77e529e8b7246cd04665eb3c9a0b8e9bbd3eb365f083f3696258cab mediainfo_0.7.99.tar.bz2'"