[arch-commits] Commit in mediainfo/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Mon Mar 25 22:22:50 UTC 2019
Date: Monday, March 25, 2019 @ 22:22:48
Author: arojas
Revision: 443520
archrelease: copy trunk to community-staging-x86_64
Added:
mediainfo/repos/community-staging-x86_64/
mediainfo/repos/community-staging-x86_64/PKGBUILD
(from rev 443519, mediainfo/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: mediainfo/repos/community-staging-x86_64/PKGBUILD (from rev 443519, mediainfo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-03-25 22:22:48 UTC (rev 443520)
@@ -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=18.12
+pkgrel=2
+
+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=('6d3c10859d0dd021851d20a01c73f1fe41565d5d198a37aa8bf424e1dc29f306')
+
+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