blob: 2f4299371c33514ca16c4db3cd0baa8b0c381f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=mediainfo
pkgver=19.04
pkgrel=0
pkgdesc="Supplies technical and tag information about media files (CLI)"
url="https://mediaarea.net/en/MediaInfo"
arch="all"
license="BSD-2-Clause"
makedepends="automake autoconf cmake libmediainfo-dev>=$pkgver libtool libzen-dev"
source="https://mediaarea.net/download/source/mediainfo/$pkgver/${pkgname}_$pkgver.tar.xz"
builddir="$srcdir/MediaInfo"
_clidir="$builddir/Project/GNU/CLI"
prepare() {
default_prepare
rm -Rf "$builddir"/Project/MS*
cd "$_clidir"
./autogen.sh
}
build() {
cd "$_clidir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
--enable-static=no
make
}
check() {
cd "$_clidir"
./mediainfo --version
}
package() {
cd "$_clidir"
make DESTDIR="$pkgdir" install
}
sha512sums="cb6cb3c4bc3a037267684bd850babe3ca5998954f93e86d5b25aad7c4641918546a012cf7c6df4ef8d6017c85ab159dc5ae0b18f166385f8c5cc940a6fb0b3ce mediainfo_19.04.tar.xz"
|