summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD35
2 files changed, 48 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58bf3e0ed77..2666d55419c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Apr 7 22:32:41 UTC 2017
+# Sun Apr 9 20:51:44 UTC 2017
pkgbase = vala-panel-appmenu-xfce-git
pkgdesc = AppMenu (Global Menu) plugin
- pkgver = 0.4.2
+ pkgver = 0.4.4
pkgrel = 1
url = https://github.com/rilian-la-te/vala-panel-appmenu
arch = i686
@@ -17,6 +17,7 @@ pkgbase = vala-panel-appmenu-xfce-git
makedepends = xfce4-panel>=4.11.2
makedepends = xfconf
makedepends = vala-panel-git
+ makedepends = budgie-desktop
makedepends = gtk2
source = git://github.com/rilian-la-te/vala-panel-appmenu.git
source = git://github.com/rilian-la-te/cmake-vala.git
@@ -33,6 +34,7 @@ pkgname = vala-panel-appmenu-translations-git
optdepends = vala-panel-appmenu-xfce-git
optdepends = vala-panel-appmenu-valapanel-git
optdepends = vala-panel-appmenu-mate-git
+ optdepends = vala-panel-appmenu-budgie-git
pkgname = vala-panel-appmenu-mate-git
pkgdesc = AppMenu (Global Menu) plugin for mate-panel
@@ -68,6 +70,17 @@ pkgname = vala-panel-appmenu-valapanel-git
optdepends = appmenu-qt: for qt4 menus
optdepends = appmenu-qt5: for qt5 menus
+pkgname = vala-panel-appmenu-budgie-git
+ pkgdesc = AppMenu (Global Menu) plugin for budgie-panel
+ depends = gtk3
+ depends = bamf>=0.5.0
+ depends = budgie-desktop
+ depends = libwnck3
+ optdepends = gtk2-ubuntu: for hiding gtk2 menus
+ optdepends = unity-gtk-module: for gtk2/gtk3 menus
+ optdepends = appmenu-qt: for qt4 menus
+ optdepends = appmenu-qt5: for qt5 menus
+
pkgname = appmenu-gtk-module-git
pkgdesc = Gtk module for exporting menus
depends = gtk3
diff --git a/PKGBUILD b/PKGBUILD
index 2154f0a4ba1..0abace1d860 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,6 +3,7 @@
_disable_mate=0
_disable_xfce=0
_disable_vala=0
+_disable_budgie=0
_disable_unity_gtk_module=o
_opts=(
@@ -43,6 +44,15 @@ else
_opts+=(-DENABLE_VALAPANEL=OFF)
fi
+if (("${_disable_budgie}" == 0));then
+ _opts+=(-DENABLE_BUDGIE=ON)
+ pkgname+=('vala-panel-appmenu-budgie-git')
+ makedepends+=('budgie-desktop')
+ msg "Budgie applet enabled"
+else
+ _opts+=(-DENABLE_BUDGIE=OFF)
+fi
+
if (("${_disable_unity_gtk_module}" == 0));then
_opts+=(-DENABLE_UNITY_GTK_MODULE=ON)
pkgname+=('appmenu-gtk-module-git')
@@ -57,7 +67,7 @@ _pkgbase=vala-panel-appmenu
pkgbase=${_pkgbase}-xfce-git
_cmakename=cmake-vala
_dbusmenuname=vala-dbusmenu
-pkgver=0.4.2
+pkgver=0.4.4.r0.ga36f49d
pkgrel=1
pkgdesc="AppMenu (Global Menu) plugin"
url="https://github.com/rilian-la-te/vala-panel-appmenu"
@@ -108,6 +118,7 @@ package_vala-panel-appmenu-xfce-git() {
rm -rf "${pkgdir}/usr/lib/mate-panel"
rm -rf "${pkgdir}/usr/share/mate-panel"
rm -rf "${pkgdir}/usr/share/dbus-1"
+ rm -rf "${pkgdir}/usr/lib/budgie-desktop"
}
package_vala-panel-appmenu-valapanel-git() {
@@ -124,6 +135,7 @@ package_vala-panel-appmenu-valapanel-git() {
rm -rf "${pkgdir}/usr/share"
rm -rf "${pkgdir}/usr/lib/mate-panel"
rm -rf "${pkgdir}/usr/share/dbus-1"
+ rm -rf "${pkgdir}/usr/lib/budgie-desktop"
}
package_vala-panel-appmenu-mate-git() {
@@ -139,13 +151,32 @@ package_vala-panel-appmenu-mate-git() {
rm -rf "${pkgdir}/usr/lib/vala-panel"
rm -rf "${pkgdir}/usr/lib/xfce4"
rm -rf "${pkgdir}/usr/share/xfce4"
+ rm -rf "${pkgdir}/usr/lib/budgie-desktop"
+}
+
+package_vala-panel-appmenu-budgie-git() {
+ pkgdesc="AppMenu (Global Menu) plugin for budgie-panel"
+ depends=('gtk3' 'bamf>=0.5.0' 'budgie-desktop' 'libwnck3')
+ optdepends=('gtk2-ubuntu: for hiding gtk2 menus'
+ 'unity-gtk-module: for gtk2/gtk3 menus'
+ 'appmenu-qt: for qt4 menus'
+ 'appmenu-qt5: for qt5 menus')
+ cd "${srcdir}/${_pkgbase}"
+ make -C "lib" DESTDIR="${pkgdir}" install
+ make -C "data" DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}/usr/lib/xfce4"
+ rm -rf "${pkgdir}/usr/share"
+ rm -rf "${pkgdir}/usr/lib/vala-panel"
+ rm -rf "${pkgdir}/usr/lib/mate-panel"
+ rm -rf "${pkgdir}/usr/share/dbus-1"
}
package_vala-panel-appmenu-translations-git() {
pkgdesc="Translations for Global Menu"
optdepends=('vala-panel-appmenu-xfce-git'
'vala-panel-appmenu-valapanel-git'
- 'vala-panel-appmenu-mate-git')
+ 'vala-panel-appmenu-mate-git'
+ 'vala-panel-appmenu-budgie-git')
arch=('any')
cd "${srcdir}/${_pkgbase}"
make -C "po" DESTDIR="${pkgdir}" install