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

community/xfce4-notes-plugin: upgrade to 1.12.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 10:28:00 +02:00
parent 7817930ca8
commit 579d1c6a8d

View file

@ -1,31 +1,36 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notes-plugin
pkgver=1.11.0
pkgrel=1
pkgver=1.12.0
pkgrel=0
pkgdesc="Notes plugin for the Xfce4 desktop"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev xfce4-dev-tools vala"
makedepends="
gtksourceview4-dev
libxfce4ui-dev
meson
vala
xfce4-dev-tools
xfce4-panel-dev
"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/${pkgver%.*}/xfce4-notes-plugin-$pkgver.tar.bz2"
source="https://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/${pkgver%.*}/xfce4-notes-plugin-$pkgver.tar.xz"
build() {
# use -fpermissive due to vala
CFLAGS="$CFLAGS -fpermissive" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
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="
3644049bb2aa77bbed5b391f47d67dbf6528cb535448287a28a011d78a6fb31971a3556fe37ad380858d2b561ef67fee2bc93c4ed0c19c75c564d832cd4d47f1 xfce4-notes-plugin-1.11.0.tar.bz2
f91ed786b35c26c36576be46c1c5d546a93d74479fe28971191eaabe66a066193b7a3779fabcb16aee5db35ac15f158f7420a54ce34cdb9f1f8979c295c73b97 xfce4-notes-plugin-1.12.0.tar.xz
"