dev-libs/libmateweather: add 1.28.2

Bug: https://bugs.gentoo.org/968600
Closes: https://bugs.gentoo.org/968627
Signed-off-by: Thibaud CANALE <thican@thican.net>
Part-of: https://github.com/gentoo/gentoo/pull/45340
Closes: https://github.com/gentoo/gentoo/pull/45340
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Thibaud CANALE
2026-01-11 20:53:58 +01:00
committed by Sam James
parent 2f8092bcce
commit d0bfc1c49f
2 changed files with 62 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST libmateweather-1.28.0.tar.xz 2221808 BLAKE2B edd5a00e020a0dcb1edaee08720a70ac3d1c1e6e08d5a0fc8247f1cb3e44bc1c47b350a1bcaf23db23994ac9b0a077cc489b94f82c9922e407edea1fe7c2722c SHA512 ee89bd159beba2893b334fb603de2b852d97c382670628d8892eb2a74907950afe485455218ae4c6dc41338218b67dc78003da8ace61d1952451ae55e7e5e6d0
DIST libmateweather-1.28.1.gh.tar.gz 6965691 BLAKE2B a278e881b9dd2939d809bf03d239222b3df1fdab32aea1d27278151a999326e57be1e86ab5eff4cdf848c462b065aaf611015b40b2cd4993c2d6b38dcc8e4976 SHA512 d53f57e56945a51bf8bab2eb2e9caea5ea4cdfec95898267a56fc5935a3153e15865763ca1ae4abfb548af3eaa527675a0c2ac16a578bcc0df37254cec49abc9
DIST libmateweather-1.28.2.gh.tar.gz 7021330 BLAKE2B d03a1a3a47e0059df79ac29ac9f108f68a00642a01f687f9a94122473f863ae3a8e6a31d25d4e6e56089d7dd1d933557c39298325813d5f743d2cf46193bf82e SHA512 f8a9291ffa157ce1705228abdc2fb3e13e32bea2158aa469754a6e8cfd284d52cc13cdb259d5b1bc5e6cfb1729997f3bca2a7220dafbdd1a082882ba94113e3f

View File

@@ -0,0 +1,61 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MATE_LA_PUNT="yes"
inherit mate
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
# Release archive not pushed in main website (?)
SRC_URI="
https://github.com/mate-desktop/libmateweather/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
fi
DESCRIPTION="MATE library to access weather information from online services"
LICENSE="LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="debug"
COMMON_DEPEND=">=dev-libs/glib-2.56:2
>=dev-libs/libxml2-2.6:2=
net-libs/libsoup:3.0
>=sys-libs/timezone-data-2010k:0
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3.22:3
"
RDEPEND="${COMMON_DEPEND}
virtual/libintl
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/gtk-doc
dev-build/gtk-doc-am
>=sys-devel/gettext-0.19.8
>=dev-build/libtool-2.2.6:2
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.28.1-libsoup3.patch
"${FILESDIR}"/${PN}-1.28.1-SPECI_report_data.patch
)
src_configure() {
# --disable-locations-compression for https://github.com/mate-desktop/libmateweather/issues/144
# libxml2 dropped support for automatic decompression. If MATE
# switches to invoking zlib themselves, we can bring this back.
mate_src_configure \
--disable-locations-compression \
--disable-all-translations-in-one-xml \
--disable-icon-update
}