Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
mate-panel


Commits:
a02a333e by Robin Candau at 2024-09-09T21:34:59+02:00
upgpkg: 1.28.2-1: New upstream release, Update licenses + use SPDX identifiers, 
use more transparent source, add nvchecker integration
https://archlinux.org/todo/general-mate-packages-rework/

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,12 +1,14 @@
 pkgbase = mate-panel
        pkgdesc = The MATE Panel
-       pkgver = 1.28.0
-       pkgrel = 2
+       pkgver = 1.28.2
+       pkgrel = 1
        url = https://mate-desktop.org
        arch = x86_64
        groups = mate
-       license = GPL
+       license = GPL-2.0-or-later AND LGPL-2.0-or-later
        makedepends = itstool
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = gobject-introspection
        makedepends = mate-common
        makedepends = yelp-tools
@@ -23,7 +25,9 @@ pkgbase = mate-panel
        depends = dconf-editor
        conflicts = mate-panel-gtk3
        replaces = mate-panel-gtk3
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-panel-1.28.0.tar.xz
-       sha256sums = 
b3bd04a094d0eb5bd7dc3380ef6f0c49d9a9d5209733d7ccd7b46d066a208cba
+       source = git+https://github.com/mate-desktop/mate-panel.git#tag=v1.28.2
+       source = git+https://github.com/mate-desktop/mate-submodules.git
+       sha256sums = 
f6d1678c9a840061bb272f4f940f6bbe7249362ab03c043aa26ff33ed368a844
+       sha256sums = SKIP
 
 pkgname = mate-panel


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[mate-panel]
+source = "git"
+git = "https://github.com/mate-desktop/mate-panel.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -3,36 +3,41 @@
 # Contributor: Martin Wimpress <[email protected]>
 
 pkgname=mate-panel
-pkgver=1.28.0
-pkgrel=2
+pkgver=1.28.2
+pkgrel=1
 pkgdesc="The MATE Panel"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later AND LGPL-2.0-or-later')
 depends=('dbus-glib' 'libwnck3' 'libcanberra' 'libmateweather' 'libsm' 
'mate-menus' 'mate-desktop' 'gettext' 'gtk-layer-shell' 'dconf-editor')
-makedepends=('itstool' 'gobject-introspection' 'mate-common' 'yelp-tools' 
'autoconf-archive')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
+makedepends=('itstool' 'git' 'glib2-devel' 'gobject-introspection' 
'mate-common' 'yelp-tools' 'autoconf-archive')
 groups=('mate')
 conflicts=('mate-panel-gtk3')
 replaces=('mate-panel-gtk3')
-sha256sums=('b3bd04a094d0eb5bd7dc3380ef6f0c49d9a9d5209733d7ccd7b46d066a208cba')
+source=("git+https://github.com/mate-desktop/mate-panel.git#tag=v${pkgver}";
+        git+https://github.com/mate-desktop/mate-submodules.git)
+sha256sums=('f6d1678c9a840061bb272f4f940f6bbe7249362ab03c043aa26ff33ed368a844'
+            'SKIP')
+prepare() {
+    cd "${pkgname}"
+    git submodule init
+    git config submodule.mate-submodules.url "${srcdir}/mate-submodules"
+    git -c protocol.file.allow=always submodule update
+    ./autogen.sh
+}
 
 build() {
-    cd "${pkgname}-${pkgver}" 
+    cd "${pkgname}" 
     ./configure \
                 --prefix=/usr \
-                --libexecdir=/usr/lib/${pkgname} \
+                --libexecdir="/usr/lib/${pkgname}" \
                 --sysconfdir=/etc \
                 --localstatedir=/var \
                 --enable-introspection
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
     make
 }
 
 package() {
-    cd "${pkgname}-${pkgver}"
+    cd "${pkgname}"
     make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-panel/-/commit/a02a333e9abbdcf4f956ede2dad52641a464b6bc

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-panel/-/commit/a02a333e9abbdcf4f956ede2dad52641a464b6bc
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to