Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=e86001f493151ea3dcf77b668c94e591deb488df

commit e86001f493151ea3dcf77b668c94e591deb488df
Author: Devil505 <devil505li...@gmail.com>
Date:   Thu Feb 24 09:54:26 2011 +0100

libappindicator-0.2.95-2-i686
* initial import

diff --git a/source/ayatana-extra/libappindicator/FrugalBuild 
b/source/ayatana-extra/libappindicator/FrugalBuild
new file mode 100644
index 0000000..ef6b333
--- /dev/null
+++ b/source/ayatana-extra/libappindicator/FrugalBuild
@@ -0,0 +1,42 @@
+# Compiling Time: 0.05 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=libappindicator
+pkgver=0.2.95
+pkgrel=2
+pkgdesc="A library to allow applications to export a menu into the Unity Menu 
bar"
+url="https://launchpad.net/libappindicator";
+depends=('libindicator>=0.3.19-3' 'libdbusmenu-gtk>=0.3.98-3')
+makedepends=('gobject-introspection' 'vala' 'gtk2-sharp' 'pygtk' 'intltool' 
'perl-xml-libxml')
+groups=('ayatana-extra')
+archs=('i686' 'x86_64')
+up2date="Flasttar $url"
+source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+sha1sums=('33cc4b157ab060a5549811db1c28d71b749e3764')
+
+subpkgs=("${subpkgs[@]}" "python-appindicator")
+subdescs=("${subdescs[@]}" "Python bindings for libappindicator")
+subdepends=("${subdepends[@]}" "pygtk pygobject libindicator>=0.3.19-2 
libdbusmenu-gtk>=0.3.98-3")
+subrodepends=("${subrodepends[@]}" "libappindicator>=$pkgver")
+subgroups=("${subgroups[@]}" 'devel-extra')
+subarchs=("${subarchs[@]}" 'i686 x86_64')
+
+build() {
+  unset MAKEFLAGS
+  Fcd
+  sed -i 's/nunit >= 2\.4\.7/mono-nunit >= 2\.4\.7/' configure{,.ac}
+  sed -i 's/-lpyglib-2\.0-python2\.6/-lpyglib-2\.0-python/' 
bindings/python/Makefile{.am,.in}
+
+  #fix mono bindings location
+  sed -i 's|assemblydir = $(libdir)/cli/appindicator-sharp-0.1|assemblydir = 
$(libdir)/appindicator-sharp-0.1|' bindings/mono/Makefile{.am,.in}
+  sed -i 
's|assemblies_dir=${libdir}/cli/appindicator-sharp-0.1|assemblies_dir=${libdir}/appindicator-sharp-0.1|'
 bindings/mono/appindicator-sharp-0.1.pc.in
+
+  Fbuild
+
+  Fsplit python-appindicator usr/share/pygtk
+  Fsplit python-appindicator $_F_python_libdir
+
+  ## Think to split the mono bindings later
+}
+
+# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to