1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

community/xfce4-xkb-plugin: upgrade to 0.9.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 09:58:41 +02:00
parent ec1f4c8a5d
commit f7f3757b2e

View file

@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-xkb-plugin pkgname=xfce4-xkb-plugin
pkgver=0.8.3 pkgver=0.9.0
_maj=${pkgver%%.*} _maj=${pkgver%%.*}
_min=${pkgver#$_maj.} _min=${pkgver#$_maj.}
_min=${_min%%.*} _min=${_min%%.*}
_ver=$_maj.$_min _ver=$_maj.$_min
pkgrel=1 pkgrel=0
pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel" pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin" url="https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
arch="all" arch="all"
@ -23,29 +23,28 @@ makedepends="
libxi-dev libxi-dev
libxkbfile-dev libxkbfile-dev
libxklavier-dev libxklavier-dev
meson
xfce4-panel-dev xfce4-panel-dev
" "
subpackages="$pkgname-doc $pkgname-lang" subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/$_ver/xfce4-xkb-plugin-$pkgver.tar.bz2" source="https://archive.xfce.org/src/panel-plugins/xfce4-xkb-plugin/$_ver/xfce4-xkb-plugin-$pkgver.tar.xz"
options="!check" # No test suite options="!check" # No test suite
build() { build() {
./configure \ abuild-meson \
--build=$CBUILD \ output .
--host=$CHOST \ meson compile -C output
--prefix=/usr \ }
--sysconfdir=/etc \
--libexecdir=/usr/lib \ check() {
--localstatedir=/var \ meson test --print-errorlogs -C output
--disable-static
make
} }
package() { package() {
make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
} }
sha512sums=" sha512sums="
02ae82a1e01b7cc54154545c6ff42a450a81ba44697620ebb716a663300ea08fbf6ccafc5fd4d710791f142e1c249f17b613d90ffd99025ad97dfa0230ee55b2 xfce4-xkb-plugin-0.8.3.tar.bz2 60176643ec29c0fc035f6f5bc22e04b103acdea6868b222784e7189219d6fd90d75ab27f3c494822777ec4749a34d31bac199f688f75431202001738471aeb49 xfce4-xkb-plugin-0.9.0.tar.xz
" "