vala-panel-appmenu: update to 0.7.6.

This commit is contained in:
Đoàn Trần Công Danh 2020-11-24 00:00:56 +07:00
parent 41d8b7aef3
commit 7739f17bb4
1 changed files with 14 additions and 17 deletions

View File

@ -1,13 +1,12 @@
# Template file for 'vala-panel-appmenu'
pkgname=vala-panel-appmenu
version=0.7.2
revision=2
build_style=cmake
configure_args="-DENABLE_XFCE=ON -DENABLE_VALAPANEL=ON
-DENABLE_MATE=ON -DENABLE_JAYATANA=OFF -DENABLE_APPMENU_GTK_MODULE=ON"
hostmakedepends="pkg-config vala bamf glib-devel"
_glhash=18896e602f40b03fcb0a8437a2e197d4
version=0.7.6
revision=1
build_style=meson
hostmakedepends="pkg-config vala bamf glib-devel gettext"
makedepends="vala-devel bamf-devel gtk+-devel gtk+3-devel
libxkbcommon-devel libpeas-devel libdbusmenu-glib-devel cmake-vala
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}"
@ -15,16 +14,15 @@ 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/57fe7a74b38180002154fbd6028075db/vala-panel-appmenu-${version}.tar.xz"
checksum=80884ebd71b665da7a1eac67752596ecbb29d3a8dd9eee9a2e3212dfc0aab6ae
distfiles="https://gitlab.com/vala-panel-project/vala-panel-appmenu/uploads/$_glhash/vala-panel-appmenu-${version}.tar.xz"
checksum=2856added014bb6e5238aacda1016e2520d9a58d4ba6d7b33b2707ea48e1c592
post_install() {
if [ "$CROSS_BUILD" ]; then
mv ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/lib/gtk-2.0 \
${DESTDIR}/usr/lib
mv ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/lib/gtk-3.0 \
${DESTDIR}/usr/lib
pre_build() {
# vala-panel-appmenu depends on its own libxfconf-0.vapi
# prepends to override system vapi
if [ -f "$XBPS_WRAPPERDIR/valac" ]; then
sed -i -e "s,/bin/valac,& --vapidir=$wrksrc/vapi," \
"$XBPS_WRAPPERDIR/valac"
fi
}
@ -86,7 +84,6 @@ mate-panel-appmenu_package() {
vala-panel-appmenu-data_package() {
short_desc+=" - common files"
archs=noarch
pkg_install() {
vmove usr/share/locale
vmove usr/share/glib-2.0/schemas/org.valapanel.appmenu.gschema.xml