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

community/xfce4-timer-plugin: upgrade to 1.8.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 09:38:19 +02:00
parent 7b0434bc2d
commit 2afdb4d04a

View file

@ -1,31 +1,35 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-timer-plugin
pkgver=1.7.3
pkgver=1.8.0
pkgrel=0
pkgdesc="Timer plugin for Xfce"
url="https://docs.xfce.org/panel-plugins/xfce4-timer-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev"
options="!check" # no testsuite
makedepends="
gtk+3.0-dev
libxfce4ui-dev
meson
xfce4-panel-dev
"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/${pkgver%.*}/xfce4-timer-plugin-$pkgver.tar.bz2"
source="https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/${pkgver%.*}/xfce4-timer-plugin-$pkgver.tar.xz"
options="!check" # no tests
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
aad16bac1c43a9bed529884e23392153fdeec9e6793a9815f3307c7ec2cb33a1bce86127bc009f80ecdfb4a44edcdaf8f63f139a382bad0001a14b007d741a55 xfce4-timer-plugin-1.7.3.tar.bz2
9729181248ee3aa6e90be8a6975a76121ce89c26131fc4eadb6840eec7059afb45f06ff9bae5e202e39d081bd898ece2fd236c5d64e1ab07a8c8ecb2c18558f0 xfce4-timer-plugin-1.8.0.tar.xz
"