Alexander Epaneshnikov pushed to branch main at Arch Linux / Packaging /
Packages / libmateweather
Commits:
fba83a6a by loqs at 2025-09-24T16:02:37+00:00
Use transparent source
- - - - -
408754bb by loqs at 2025-09-30T21:50:50+00:00
Switch to libsoup3
libsoup is end of life.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -5,12 +5,15 @@ pkgbase = libmateweather
url = https://mate-desktop.org
arch = x86_64
license = LGPL
+ makedepends = git
+ makedepends = glib2-devel
+ makedepends = gtk-doc
depends = gtk3
- depends = libsoup
+ depends = libsoup3
depends = gettext
conflicts = libmateweather-gtk3
replaces = libmateweather-gtk3
- source =
https://pub.mate-desktop.org/releases/1.28/libmateweather-1.28.0.tar.xz
- sha256sums =
554373deb5b393b9d84b275dd2ca66c9a4a2d0e6ec92044fab8aa53e3032d2b5
+ source = git+https://github.com/mate-desktop/libmateweather#tag=v1.28.0
+ sha256sums =
5914bbaf84fcb578933cf48772c9cf0d0009ff75bb3c38448036ba591548b021
pkgname = libmateweather
=====================================
PKGBUILD
=====================================
@@ -9,14 +9,24 @@ pkgdesc="Provides access to weather information from the
Internet."
url="https://mate-desktop.org"
arch=('x86_64')
license=('LGPL')
-depends=('gtk3' 'libsoup' 'gettext')
+depends=('gtk3' 'libsoup3' 'gettext')
+makedepends=('git' 'glib2-devel' 'gtk-doc')
conflicts=('libmateweather-gtk3')
replaces=('libmateweather-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('554373deb5b393b9d84b275dd2ca66c9a4a2d0e6ec92044fab8aa53e3032d2b5')
+source=(git+https://github.com/mate-desktop/libmateweather#tag=v$pkgver)
+sha256sums=('5914bbaf84fcb578933cf48772c9cf0d0009ff75bb3c38448036ba591548b021')
+
+prepare() {
+ cd "${pkgname}"
+
+ # Port to libsoup-3.0
+ git cherry-pick -n c1c54a15545f13f3dabd2bcd303533d818905c7b
+
+ autoreconf -fiv
+}
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -30,6 +40,6 @@ build() {
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
make DESTDIR="${pkgdir}" install
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libmateweather/-/compare/1c7ed056d6ce3ffc85af08938d7594c0da4a95c5...408754bb06fe4c6ccfd99770a1df9f010989e753
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libmateweather/-/compare/1c7ed056d6ce3ffc85af08938d7594c0da4a95c5...408754bb06fe4c6ccfd99770a1df9f010989e753
You're receiving this email because of your account on gitlab.archlinux.org.