1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +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> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notes-plugin pkgname=xfce4-notes-plugin
pkgver=1.11.0 pkgver=1.12.0
pkgrel=1 pkgrel=0
pkgdesc="Notes plugin for the Xfce4 desktop" pkgdesc="Notes plugin for the Xfce4 desktop"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin" url="https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin"
arch="all" arch="all"
license="GPL-2.0-or-later" 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" 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() { build() {
# use -fpermissive due to vala abuild-meson \
CFLAGS="$CFLAGS -fpermissive" ./configure \ output .
--build=$CBUILD \ meson compile -C output
--host=$CHOST \ }
--prefix=/usr \
--sysconfdir=/etc \ check() {
--mandir=/usr/share/man \ meson test --print-errorlogs -C output
--infodir=/usr/share/info
make
} }
package() { package() {
make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" meson install --no-rebuild -C output
} }
sha512sums=" sha512sums="
3644049bb2aa77bbed5b391f47d67dbf6528cb535448287a28a011d78a6fb31971a3556fe37ad380858d2b561ef67fee2bc93c4ed0c19c75c564d832cd4d47f1 xfce4-notes-plugin-1.11.0.tar.bz2 f91ed786b35c26c36576be46c1c5d546a93d74479fe28971191eaabe66a066193b7a3779fabcb16aee5db35ac15f158f7420a54ce34cdb9f1f8979c295c73b97 xfce4-notes-plugin-1.12.0.tar.xz
" "