void-packages/srcpkgs/vala-panel-appmenu/template

74 lines
2.1 KiB
Bash

# Template file for 'vala-panel-appmenu'
pkgname=vala-panel-appmenu
_glhash=18896e602f40b03fcb0a8437a2e197d4
version=0.7.6
revision=4
build_style=meson
hostmakedepends="pkg-config vala bamf glib-devel gettext"
makedepends="vala-devel bamf-devel gtk+3-devel
libxkbcommon-devel libpeas-devel libdbusmenu-glib-devel
xfce4-panel-devel xfconf-devel libmate-panel-devel libXt-devel
vala-panel-devel"
depends="vala-panel-appmenu-data-${version}_${revision}"
short_desc="Global Menu for Vala Panel"
maintainer="John Eira <john.eira@web.de>"
license="LGPL-3.0-or-later"
homepage="https://gitlab.com/vala-panel-project/vala-panel-appmenu"
distfiles="https://gitlab.com/vala-panel-project/vala-panel-appmenu/uploads/$_glhash/vala-panel-appmenu-${version}.tar.xz"
checksum=2856added014bb6e5238aacda1016e2520d9a58d4ba6d7b33b2707ea48e1c592
appmenu-gtk-module-devel_package() {
short_desc="GTK module for exposing menus - development files"
depends="appmenu-gtk3-module-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/libappmenu-gtk3*.so"
}
}
appmenu-gtk3-module_package() {
short_desc="GTK module for exposing menus"
depends="${sourcepkg}-data-${version}_${revision}"
pkg_install() {
vmove usr/lib/gtk-3.0
vmove "usr/lib/libappmenu-gtk3*.so.*"
}
}
appmenu-registrar_package() {
short_desc="Appmenu registrar that allows to access a window's menu tree"
pkg_install() {
vmove usr/libexec/vala-panel
vmove usr/share/dbus-1
}
}
xfce4-panel-appmenu_package() {
short_desc="XFCE Panel applet for appmenu module"
depends="xfce4-panel appmenu-registrar
${sourcepkg}-data-${version}_${revision}"
pkg_install() {
vmove usr/lib/xfce4
vmove usr/share/xfce4
}
}
mate-panel-appmenu_package() {
short_desc="Mate Panel applet for appmenu module"
depends="mate-panel appmenu-registrar
${sourcepkg}-data-${version}_${revision}"
pkg_install() {
vmove usr/lib/mate-panel
vmove usr/share/mate-panel
}
}
vala-panel-appmenu-data_package() {
short_desc+=" - common files"
pkg_install() {
vmove usr/share/locale
vmove usr/share/glib-2.0
}
}