[arch-commits] Commit in mediainfo/repos (2 files)

Johannes Löthberg demize at archlinux.org
Sat Aug 22 19:28:12 UTC 2020


    Date: Saturday, August 22, 2020 @ 19:28:12
  Author: demize
Revision: 686769

archrelease: copy trunk to community-testing-x86_64

Added:
  mediainfo/repos/community-testing-x86_64/
  mediainfo/repos/community-testing-x86_64/PKGBUILD
    (from rev 686768, mediainfo/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: mediainfo/repos/community-testing-x86_64/PKGBUILD (from rev 686768, mediainfo/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-08-22 19:28:12 UTC (rev 686769)
@@ -0,0 +1,51 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: hydro <hydro at freenet.de>
+
+pkgbase=mediainfo
+pkgname=(mediainfo mediainfo-gui)
+pkgver=20.08
+pkgrel=1
+
+pkgdesc="Supplies technical and tag information about a video or audio file"
+url="https://mediaarea.net/"
+arch=('x86_64')
+license=('BSD')
+
+depends=('libmediainfo' 'wxgtk3')
+
+source=(https://mediaarea.net/download/source/mediainfo/$pkgver/mediainfo_$pkgver.tar.xz)
+
+sha256sums=('3484dda3ab36326cc6853f812ac8f47a0011b2582152ac35e9e10d5d64134ead')
+
+build() {
+  cd MediaInfo/Project/GNU/CLI
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+
+  cd "$srcdir/MediaInfo/Project/GNU/GUI"
+  ./autogen.sh
+  ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config-gtk3
+  make
+}
+
+package_mediainfo() {
+  pkgdesc+=" (CLI interface)"
+  depends=('libmediainfo')
+
+  cd MediaInfo/Project/GNU/CLI
+  make DESTDIR="$pkgdir" install
+
+  install -D -m 644 "$srcdir"/MediaInfo/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mediainfo-gui() {
+  pkgdesc+=" (GUI interface)"
+  depends=('libmediainfo' 'wxgtk3')
+
+  cd MediaInfo/Project/GNU/GUI
+  make DESTDIR="$pkgdir" install
+
+  install -D -m 644 "$srcdir"/MediaInfo/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list