[arch-commits] Commit in shared-mime-info/repos/extra-x86_64 (6 files)

Andreas Radke andyrtr at archlinux.org
Thu May 7 05:12:22 UTC 2020


    Date: Thursday, May 7, 2020 @ 05:12:22
  Author: andyrtr
Revision: 382563

archrelease: copy trunk to extra-x86_64

Added:
  shared-mime-info/repos/extra-x86_64/PKGBUILD
    (from rev 382562, shared-mime-info/trunk/PKGBUILD)
  shared-mime-info/repos/extra-x86_64/shared-mime-info.install
    (from rev 382562, shared-mime-info/trunk/shared-mime-info.install)
  shared-mime-info/repos/extra-x86_64/update-mime-database.hook
    (from rev 382562, shared-mime-info/trunk/update-mime-database.hook)
Deleted:
  shared-mime-info/repos/extra-x86_64/PKGBUILD
  shared-mime-info/repos/extra-x86_64/shared-mime-info.install
  shared-mime-info/repos/extra-x86_64/update-mime-database.hook

---------------------------+
 PKGBUILD                  |  118 ++++++++++++++++++++++----------------------
 shared-mime-info.install  |   14 ++---
 update-mime-database.hook |   22 ++++----
 3 files changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-07 05:12:11 UTC (rev 382562)
+++ PKGBUILD	2020-05-07 05:12:22 UTC (rev 382563)
@@ -1,59 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=shared-mime-info
-_commit=d23e9fa537b84950cdb518f87e3bf1f3f2577523 # master
-pkgver=1.15+43+gd23e9fa
-pkgrel=2
-pkgdesc="Freedesktop.org Shared MIME Info"
-arch=('x86_64')
-license=('GPL2')
-depends=('libxml2' 'glib2')
-#makedepends=('itstool' 'gettext')
-makedepends=('itstool' 'gettext' 'xmlto' 'docbook-xsl' 'git' 'meson')
-install=shared-mime-info.install
-# https://gitlab.freedesktop.org/xdg/shared-mime-info
-url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
-#source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/b27eb88e4155d8fccb8bb3cd12025d5b/$pkgname-$pkgver.tar.xz
-source=("git+https://gitlab.freedesktop.org/xdg/shared-mime-info.git#commit=$_commit"
-        # tu run the testsuite
-        "git+https://gitlab.freedesktop.org/xdg/xdgmime.git#commit=6663a2288d11b37bc07f5a01b4b85dcd377787e1" # master 2019-06-03
-        update-mime-database.hook)
-sha256sums=('SKIP'
-            'SKIP'
-            '58ed2c38bf2c78276a309d2e24040ed159868b0f04e72a6b039ea803e45ff6f0')
-options=(!makeflags)
-
-pkgver() {
-  cd $pkgname
-  git describe --long | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;s/+/./'
-}
-
-prepare() {
-  # build xdgmime from source to run the testsuite - check HACKING.md
-  CFLAGS= make -C xdgmime
-}
-
-build() {
-  # https://bugs.archlinux.org/task/38836
-  # https://bugs.freedesktop.org/show_bug.cgi?id=70366
-  export ac_cv_func_fdatasync=no
-
-  arch-meson ${pkgname} build \
-    -D update-mimedb=false \
-    -D xdgmime-path=${srcdir}/xdgmime
-
-  # Print config
-  meson configure build
-  # compile it
-  ninja -C build 
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-  install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
-}

Copied: shared-mime-info/repos/extra-x86_64/PKGBUILD (from rev 382562, shared-mime-info/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-07 05:12:22 UTC (rev 382563)
@@ -0,0 +1,59 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=shared-mime-info
+_commit=6bf9e4ff0fb7eff11a02bd937045bf5dc291841a # master 2020-05-06
+pkgver=2.0+1+g6bf9e4f
+pkgrel=1
+pkgdesc="Freedesktop.org Shared MIME Info"
+arch=('x86_64')
+license=('GPL2')
+depends=('libxml2' 'glib2')
+#makedepends=('itstool' 'gettext')
+makedepends=('itstool' 'gettext' 'xmlto' 'docbook-xsl' 'git' 'meson')
+install=shared-mime-info.install
+# https://gitlab.freedesktop.org/xdg/shared-mime-info
+url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
+#source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/b27eb88e4155d8fccb8bb3cd12025d5b/$pkgname-$pkgver.tar.xz
+source=("git+https://gitlab.freedesktop.org/xdg/shared-mime-info.git#commit=$_commit"
+        # tu run the testsuite
+        "git+https://gitlab.freedesktop.org/xdg/xdgmime.git#commit=6663a2288d11b37bc07f5a01b4b85dcd377787e1" # master 2019-06-03
+        update-mime-database.hook)
+sha256sums=('SKIP'
+            'SKIP'
+            '58ed2c38bf2c78276a309d2e24040ed159868b0f04e72a6b039ea803e45ff6f0')
+options=(!makeflags)
+
+pkgver() {
+  cd $pkgname
+  git describe --long | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;'
+}
+
+prepare() {
+  # build xdgmime from source to run the testsuite - check HACKING.md
+  CFLAGS= make -C xdgmime
+}
+
+build() {
+  # https://bugs.archlinux.org/task/38836
+  # https://bugs.freedesktop.org/show_bug.cgi?id=70366
+  export ac_cv_func_fdatasync=no
+
+  arch-meson ${pkgname} build \
+    -D update-mimedb=false \
+    -D xdgmime-path=${srcdir}/xdgmime
+
+  # Print config
+  meson configure build
+  # compile it
+  ninja -C build 
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
+}

Deleted: shared-mime-info.install
===================================================================
--- shared-mime-info.install	2020-05-07 05:12:11 UTC (rev 382562)
+++ shared-mime-info.install	2020-05-07 05:12:22 UTC (rev 382563)
@@ -1,7 +0,0 @@
-post_remove() {
-  if [ -d usr/share/mime ]; then
-    rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
-    rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
-    rmdir --ignore-fail-on-non-empty usr/share/mime
-  fi
-}

Copied: shared-mime-info/repos/extra-x86_64/shared-mime-info.install (from rev 382562, shared-mime-info/trunk/shared-mime-info.install)
===================================================================
--- shared-mime-info.install	                        (rev 0)
+++ shared-mime-info.install	2020-05-07 05:12:22 UTC (rev 382563)
@@ -0,0 +1,7 @@
+post_remove() {
+  if [ -d usr/share/mime ]; then
+    rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
+    rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
+    rmdir --ignore-fail-on-non-empty usr/share/mime
+  fi
+}

Deleted: update-mime-database.hook
===================================================================
--- update-mime-database.hook	2020-05-07 05:12:11 UTC (rev 382562)
+++ update-mime-database.hook	2020-05-07 05:12:22 UTC (rev 382563)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = Path
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/mime/packages/*.xml
-
-[Action]
-Description = Updating the MIME type database...
-When = PostTransaction
-Exec = /usr/bin/update-mime-database /usr/share/mime

Copied: shared-mime-info/repos/extra-x86_64/update-mime-database.hook (from rev 382562, shared-mime-info/trunk/update-mime-database.hook)
===================================================================
--- update-mime-database.hook	                        (rev 0)
+++ update-mime-database.hook	2020-05-07 05:12:22 UTC (rev 382563)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/mime/packages/*.xml
+
+[Action]
+Description = Updating the MIME type database...
+When = PostTransaction
+Exec = /usr/bin/update-mime-database /usr/share/mime


More information about the arch-commits mailing list