Date: Sunday, September 27, 2020 @ 15:43:54 Author: heftig Revision: 396718
3.38.0-1 Added: baobab/trunk/no-mimetype.diff Modified: baobab/trunk/PKGBUILD ------------------+ PKGBUILD | 22 ++++++++++++++-------- no-mimetype.diff | 12 ++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-27 15:42:55 UTC (rev 396717) +++ PKGBUILD 2020-09-27 15:43:54 UTC (rev 396718) @@ -1,8 +1,8 @@ -# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> # Contributor: Ionut Biru <[email protected]> pkgname=baobab -pkgver=3.34.1 +pkgver=3.38.0 pkgrel=1 pkgdesc="A graphical directory tree analyzer" url="https://wiki.gnome.org/Apps/DiskUsageAnalyzer" @@ -11,9 +11,11 @@ depends=(dconf gtk3 gsettings-desktop-schemas librsvg) makedepends=(vala gobject-introspection yelp-tools appstream-glib git meson) groups=(gnome) -_commit=be3b5b6e32ce1d61929c7f26990a40f818effee1 # tags/3.34.1^0 -source=("git+https://gitlab.gnome.org/GNOME/baobab.git#commit=$_commit") -sha256sums=('SKIP') +_commit=cd95138b379e217bad6eb0ecf9e98ae3e5c223ed # tags/3.38.0^0 +source=("git+https://gitlab.gnome.org/GNOME/baobab.git#commit=$_commit" + no-mimetype.diff) +sha256sums=('SKIP' + '958a85fe3a2001d16ebcf71b51888f260508af87224a0de3410a6bbe685e59d0') pkgver() { cd $pkgname @@ -20,6 +22,13 @@ git describe --tags | sed 's/-/+/g' } +prepare() { + cd $pkgname + + # https://bugs.archlinux.org/task/31861 + git apply -3 ../no-mimetype.diff +} + build() { arch-meson $pkgname build meson compile -C build @@ -31,7 +40,4 @@ package() { DESTDIR="$pkgdir" meson install -C build - - # https://bugs.archlinux.org/task/31861 - sed -i '/^MimeType=/d' "$pkgdir/usr/share/applications/org.gnome.baobab.desktop" } Added: no-mimetype.diff =================================================================== --- no-mimetype.diff (rev 0) +++ no-mimetype.diff 2020-09-27 15:43:54 UTC (rev 396718) @@ -0,0 +1,12 @@ +diff --git i/data/org.gnome.baobab.desktop.in w/data/org.gnome.baobab.desktop.in +index b5e2a05..219eb2e 100644 +--- i/data/org.gnome.baobab.desktop.in ++++ w/data/org.gnome.baobab.desktop.in +@@ -10,7 +10,6 @@ Icon=org.gnome.baobab + Terminal=false + Type=Application + StartupNotify=true +-MimeType=inode/directory; + Categories=GTK;GNOME;System;Filesystem;X-GNOME-Utilities; + DBusActivatable=true + X-GNOME-UsesNotifications=true
