[arch-commits] Commit in mediainfo/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon May 21 07:31:54 UTC 2018
Date: Monday, May 21, 2018 @ 07:31:53
Author: bgyorgy
Revision: 325826
upgpkg: mediainfo 18.05-1
Update to new version, provide both CLI and GUI packages
Modified:
mediainfo/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 07:31:37 UTC (rev 325825)
+++ PKGBUILD 2018-05-21 07:31:53 UTC (rev 325826)
@@ -3,32 +3,46 @@
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: hydro <hydro at freenet.de>
-pkgname=mediainfo
-pkgver=18.03.1
+pkgbase=mediainfo
+pkgname=(mediainfo mediainfo-gui)
+pkgver=18.05
pkgrel=1
-pkgdesc="supplies technical and tag information about a video or audio file"
-url="http://mediaarea.net"
+pkgdesc="Supplies technical and tag information about a video or audio file"
+url="https://mediaarea.net/"
arch=('x86_64')
license=('GPL')
-depends=('libmediainfo')
-makedepends=('libtool' 'automake' 'autoconf')
+depends=('libmediainfo' 'wxgtk3')
source=(https://mediaarea.net/download/source/mediainfo/$pkgver/mediainfo_$pkgver.tar.xz)
-sha256sums=('79664c356d4f09dc32105810aacf60923f6edcc6bec4836589962bc3375efcd6')
+sha256sums=('d94093aaf910759f302fb6b5ac23540a217eb940cfbb21834de2381de975fa65')
build() {
cd MediaInfo/Project/GNU/CLI
-
- sh ./autogen.sh
+ ./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() {
+package_mediainfo() {
+ pkgdesc+=" (CLI interface)"
+ depends=('libmediainfo')
+
cd MediaInfo/Project/GNU/CLI
make DESTDIR="$pkgdir" install
}
+
+package_mediainfo-gui() {
+ pkgdesc+=" (GUI interface)"
+ depends=('libmediainfo' 'wxgtk3')
+
+ cd MediaInfo/Project/GNU/GUI
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list