37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'libpanel'
|
|
pkgname=libpanel
|
|
version=1.0.2
|
|
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="Michal Vasilek <michal@vasilek.cz>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/libpanel"
|
|
#changelog="https://gitlab.gnome.org/GNOME/libpanel/-/raw/main/NEWS"
|
|
changelog="https://gitlab.gnome.org/GNOME/libpanel/-/raw/libpanel-1.0/NEWS"
|
|
distfiles="${GNOME_SITE}/libpanel/${version%.*}/libpanel-${version}.tar.xz"
|
|
checksum=a672043a48ae20050097c9a9f9d98f2a73a1ec8547822ae7bba54d3cc88d7fe2
|
|
|
|
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
|
|
}
|
|
}
|