aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-09-30 22:29:44 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-09-30 22:30:10 +0200
commitac4fcfa93aa61223280d205b452abc950b40209b (patch)
tree2d31282fa8f372ed7ed77801533d857d2b543436 /testing
parent82823b5509415ab8685f27a1f97562f286e4e8be (diff)
downloadaports-ac4fcfa93aa61223280d205b452abc950b40209b.tar.bz2
aports-ac4fcfa93aa61223280d205b452abc950b40209b.tar.xz
testing/mediainfo: new aport
https://mediaarea.net/en/MediaInfo Supplies technical and tag information about a video or audio file (CLI)
Diffstat (limited to 'testing')
-rw-r--r--testing/mediainfo/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/mediainfo/APKBUILD b/testing/mediainfo/APKBUILD
new file mode 100644
index 0000000000..2370b75533
--- /dev/null
+++ b/testing/mediainfo/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=mediainfo
+pkgver=0.7.99
+pkgrel=0
+pkgdesc="Supplies technical and tag information about a video or audio file (CLI)"
+url="https://mediaarea.net/en/MediaInfo"
+arch="all"
+license="BSD"
+makedepends="automake autoconf cmake libmediainfo-dev>=$pkgver libtool libzen-dev"
+source="https://mediaarea.net/download/source/$pkgname/$pkgver/${pkgname}_$pkgver.tar.bz2"
+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="88f3b897e36bf5d9a28f96537da93a7c1e01828b014c0e07c41ae646f3a2c6a9cae187c5a77e529e8b7246cd04665eb3c9a0b8e9bbd3eb365f083f3696258cab mediainfo_0.7.99.tar.bz2"