[arch-commits] Commit in mat2/repos/community-any (3 files)

Kpcyrd kpcyrd at archlinux.org
Wed Jan 29 01:36:24 UTC 2020


    Date: Wednesday, January 29, 2020 @ 01:36:24
  Author: kpcyrd
Revision: 558377

archrelease: copy trunk to community-any

Added:
  mat2/repos/community-any/PKGBUILD
    (from rev 558376, mat2/trunk/PKGBUILD)
  mat2/repos/community-any/fix-test-perl-exiftool.patch
    (from rev 558376, mat2/trunk/fix-test-perl-exiftool.patch)
Deleted:
  mat2/repos/community-any/PKGBUILD

------------------------------+
 PKGBUILD                     |   88 ++++++++++++++++++++++++-----------------
 fix-test-perl-exiftool.patch |   14 ++++++
 2 files changed, 67 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-29 01:36:06 UTC (rev 558376)
+++ PKGBUILD	2020-01-29 01:36:24 UTC (rev 558377)
@@ -1,35 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=mat2
-pkgver=0.10.0
-pkgrel=2
-pkgdesc='Metadata removal tool, supporting a wide range of commonly used file formats'
-url='https://0xacab.org/jvoisin/mat2'
-arch=('any')
-license=('LGPL3')
-depends=('python' 'python-setuptools' 'python-mutagen' 'python-cairo' 'python-gobject' 'gdk-pixbuf2' 'poppler-glib' 'librsvg' 'perl-image-exiftool' 'mailcap')
-optdepends=(
-  'ffmpeg: video support'
-  'bubblewrap: sandboxing support'
-)
-checkdepends=('ffmpeg')
-source=('https://0xacab.org/jvoisin/mat2/-/archive/0.10.0/mat2-0.10.0.tar.bz2')
-sha512sums=('ae09d2fd2c53cdf7f4c8011c01b469ffdc01c586177c2b2a3e1bfb6d8be5f1a8832e1c0094eea66390941011fc45b57876fa26761cbc08f56d015c0dfac34b7b')
-b2sums=('72806939fde41e9195b85d2e8c714efb4fe975212a972f5a22b783c29367c188b246cd57ffbe9b2a233c49f423c540c28a17bf412e4e7b7f704ce94d3fb9eaea')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  python -m unittest discover -v
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install --skip-build -O1 --root="${pkgdir}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: mat2/repos/community-any/PKGBUILD (from rev 558376, mat2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-29 01:36:24 UTC (rev 558377)
@@ -0,0 +1,53 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Francois Boulogne <devel at sciunto dot org>
+
+pkgname=mat2
+pkgver=0.10.0
+pkgrel=3
+pkgdesc='Metadata removal tool, supporting a wide range of commonly used file formats'
+url='https://0xacab.org/jvoisin/mat2'
+arch=('any')
+license=('LGPL3')
+depends=('python' 'python-mutagen' 'python-cairo' 'python-gobject' 'gdk-pixbuf2' 'poppler-glib' 'librsvg' 'perl-image-exiftool' 'mailcap')
+makedepends=('python-setuptools')
+optdepends=(
+  'ffmpeg: video support'
+  'bubblewrap: sandboxing support'
+)
+checkdepends=('ffmpeg')
+source=(https://0xacab.org/jvoisin/mat2/-/archive/${pkgver}/mat2-${pkgver}.tar.gz
+        https://0xacab.org/jvoisin/mat2/uploads/8c62aff50acf08820d5e2bbc30aca64e/mat2-${pkgver}.tar.gz.asc
+        fix-test-perl-exiftool.patch)
+sha512sums=('7434365766f5ba893b5b51e852d73af6b1dd562f3804e46b2aa5bf2097694d5465f0ddb5e401b157ed899a86caca2dd405424c5a7c86d66190cefd30eee3ba65'
+            'SKIP'
+            '7d6419815e8801df2b153d0d5711f74329e0cf1717be4c1f83d1a63e450680d2f41329611f6c6b3aae28c2df529cdd16a502ccd6b8634a7ea4a3ef14369a45c9')
+b2sums=('3aeb1b5fb1e5b39d5a59e84de48a1fefed8afff31d7ae2827324b9d54eab8a95f28f0e1de94d6c96ba250249531782f4a2cff4a82fdccc85da7382d00294fdaf'
+        'SKIP'
+        '35f48327677b4f9dbbc55aa84ff10743b8ca5cffe1f8ce7a193bb20658673cf7c25d0bc47963854a7e42fce14715a36ca22dcbf302302367308b196409bed7b1')
+
+validpgpkeys=('9FCDEE9E1A381F311EA62A7404D041E8171901CC') # Julien (jvoisin) Voisin
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch --forward --strip=1 --input="${srcdir}/fix-test-perl-exiftool.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  python -m unittest discover -v
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+  install -Dm 644 dolphin/mat2.desktop -t "${pkgdir}/usr/share/kservices5/ServiceMenus"
+  install -Dm 644 doc/mat2.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 doc/*.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Copied: mat2/repos/community-any/fix-test-perl-exiftool.patch (from rev 558376, mat2/trunk/fix-test-perl-exiftool.patch)
===================================================================
--- fix-test-perl-exiftool.patch	                        (rev 0)
+++ fix-test-perl-exiftool.patch	2020-01-29 01:36:24 UTC (rev 558377)
@@ -0,0 +1,14 @@
+--- a/tests/test_libmat2.py
++++ b/tests/test_libmat2.py
+@@ -449,9 +449,10 @@ class TestCleaning(unittest.TestCase):
+                 'HandlerType': 'Metadata',
+                 'HandlerVendorID': 'Apple',
+                 'MajorBrand': 'MP4  Base Media v1 [IS0 14496-12:2003]',
++                'MediaDataOffset': 48,
++                'MediaDataSize': 379872,
+                 'MediaHeaderVersion': 0,
+                 'MinorVersion': '0.2.0',
+-                'MovieDataOffset': 48,
+                 'MovieHeaderVersion': 0,
+                 'NextTrackID': 3,
+                 'PreferredRate': 1,



More information about the arch-commits mailing list