36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'libpanel'
|
|
pkgname=libpanel
|
|
version=1.6.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
hostmakedepends="pkg-config gi-docgen gettext glib-devel vala gtk-update-icon-cache"
|
|
makedepends="gtk4-devel libadwaita-devel"
|
|
short_desc="Dock/panel library for GTK 4"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/libpanel"
|
|
changelog="https://gitlab.gnome.org/GNOME/libpanel/-/raw/main/NEWS"
|
|
distfiles="${GNOME_SITE}/libpanel/${version%.*}/libpanel-${version}.tar.xz"
|
|
checksum=b773494a3c69300345cd8e27027448d1189183026cc137802f886417c6ea30b6
|
|
|
|
pre_build() {
|
|
# help gi-docgen find gi files on cross
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
export XDG_DATA_DIRS=/usr/$XBPS_CROSS_TRIPLET/usr/share/
|
|
fi
|
|
}
|
|
|
|
libpanel-devel_package() {
|
|
depends="gtk4-devel libadwaita-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
}
|
|
}
|