Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
shared-mime-info


Commits:
be89ac03 by Andreas Radke at 2026-06-29T17:26:57+02:00
upgpkg: 2.5.1-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = shared-mime-info
        pkgdesc = Freedesktop.org Shared MIME Info
-       pkgver = 2.4
-       pkgrel = 3
+       pkgver = 2.5.1
+       pkgrel = 1
        url = 
https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/
        install = shared-mime-info.install
        arch = x86_64
@@ -9,7 +9,6 @@ pkgbase = shared-mime-info
        makedepends = gettext
        makedepends = xmlto
        makedepends = docbook-xsl
-       makedepends = git
        makedepends = meson
        depends = libxml2
        depends = glib2
@@ -17,11 +16,9 @@ pkgbase = shared-mime-info
        depends = libstdc++
        depends = libgcc
        options = !makeflags
-       source = 
git+https://gitlab.freedesktop.org/xdg/shared-mime-info.git#commit=9a6d6b8e963935f145f3a1ef446552de6996dada
-       source = 
git+https://gitlab.freedesktop.org/xdg/xdgmime.git#commit=92f6a09fda2b23c2ab95cede8eb0612ca96bd0f7
+       source = 
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.5.1/shared-mime-info-2.5.1.tar.bz2
        source = update-mime-database.hook
-       sha256sums = SKIP
-       sha256sums = SKIP
+       sha256sums = 
b75b420da9b0be9a3d99b1bee6ed87957b56ab54583ac1a97fbd0dc98ddddb25
        sha256sums = 
f08efbcbac9d2bd18a805b8dcf3ed06d7763b97eca5935aa64d65593774b6501
 
 pkgname = shared-mime-info


=====================================
PKGBUILD
=====================================
@@ -1,41 +1,26 @@
 # Maintainer: AndyRTR <[email protected]>
-# Maintainer: Jan de Groot <[email protected]>
 
 pkgname=shared-mime-info
-_commit=9a6d6b8e963935f145f3a1ef446552de6996dada # = master 2023-11-12 = v2.4
-pkgver=2.4
-pkgrel=3
+pkgver=2.5.1
+pkgrel=1
 pkgdesc="Freedesktop.org Shared MIME Info"
 arch=('x86_64')
 license=('GPL-2.0-or-later')
 depends=('libxml2' 'glib2' 'glibc' 'libstdc++' 'libgcc')
-makedepends=('gettext' 'xmlto' 'docbook-xsl' 'git' 'meson')
+makedepends=('gettext' 'xmlto' 'docbook-xsl' '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=("git+https://gitlab.freedesktop.org/xdg/shared-mime-info.git#commit=$_commit";
-        # to run the testsuite
-        
"git+https://gitlab.freedesktop.org/xdg/xdgmime.git#commit=92f6a09fda2b23c2ab95cede8eb0612ca96bd0f7";
 # master 2022-01-19
+source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$pkgver/shared-mime-info-$pkgver.tar.bz2
         update-mime-database.hook)
-sha256sums=('SKIP'
-            'SKIP'
+sha256sums=('b75b420da9b0be9a3d99b1bee6ed87957b56ab54583ac1a97fbd0dc98ddddb25'
             'f08efbcbac9d2bd18a805b8dcf3ed06d7763b97eca5935aa64d65593774b6501')
 options=(!makeflags)
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | 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() {
-  arch-meson ${pkgname} build \
+  arch-meson ${pkgname}-${pkgver} build \
     -D update-mimedb=false \
-    -D xdgmime-path=${srcdir}/xdgmime
+    -D build-tests=false
 
   # Print config
   meson configure build
@@ -44,6 +29,7 @@ build() {
 }
 
 check() {
+  # only test tranlations, avoid hacks for submodule - see AUR -git pkg
   meson test -C build --print-errorlogs
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shared-mime-info/-/commit/be89ac035d60d1d1447b70c491eb54cd8160f638

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shared-mime-info/-/commit/be89ac035d60d1d1447b70c491eb54cd8160f638
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to