1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

community/xfce4-weather-plugin: upgrade to 0.12.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 09:35:20 +02:00
parent 77088d4147
commit f59d7da34f

View file

@ -1,38 +1,40 @@
# Contributor: knuxify <knuxify@gmail.com>
# Maintainer:
pkgname=xfce4-weather-plugin
pkgver=0.11.3
pkgver=0.12.0
pkgrel=0
pkgdesc="Weather plugin for the Xfce desktop environment"
url="https://docs.xfce.org/panel-plugins/xfce4-weather-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev libsoup-dev libxml2-dev json-c-dev upower-dev"
makedepends="
json-c-dev
libsoup-dev
libxfce4ui-dev
libxml2-dev
meson
upower-dev
xfce4-panel-dev
"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/${pkgver%.*}/xfce4-weather-plugin-$pkgver.tar.bz2"
source="https://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/${pkgver%.*}/xfce4-weather-plugin-$pkgver.tar.xz"
options="!check" # no tests
build() {
export GEONAMES_USERNAME=rzjRsXj7it8epAV
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static
make
abuild-meson \
output .
meson compile -C output
}
check() {
make check
meson test --print-errorlogs -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
48d0fc1d96848f21196e86678e4aa78360a76ad79d0046b68713a79c9d8746ccffc02d1f6828ff9b14a39ec8b3251db179b02f9e4e77874d4ac8238cbc2353e3 xfce4-weather-plugin-0.11.3.tar.bz2
ea09332974b1bffc66e964f9f7c0584e80cd54371d38c8407f7435bf33590727c2d0b62dd8b6b4deced14dc9e4fdf2e15d7faefbda64cbd48787a08db28756cf xfce4-weather-plugin-0.12.0.tar.xz
"