Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=212323486b4989a12962f5a31667682941a12b5a

commit 212323486b4989a12962f5a31667682941a12b5a
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Sep 5 14:39:24 2012 +0200

gwoffice-20120904-1-i686
* new package

diff --git a/source/gnome-extra/gwoffice/FrugalBuild 
b/source/gnome-extra/gwoffice/FrugalBuild
new file mode 100644
index 0000000..f17be4a
--- /dev/null
+++ b/source/gnome-extra/gwoffice/FrugalBuild
@@ -0,0 +1,45 @@
+# Compiling Time: 0.08 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=gwoffice
+pkgver=20120904
+pkgrel=1
+pkgdesc="Google Web Office - GWoffice - brings your google drive to your 
dektop"
+url="https://launchpad.net/gwoffice";
+depends=('granite' 'webkit-gtk3' 'gnome-online-accounts' 'libgdata')
+makedepends=('vala')
+groups=('gnome-extra')
+_F_gnome_iconcache="y"
+_F_gnome_desktop="y"
+_F_gnome_glib="y"
+Finclude cmake gnome-scriptlet
+archs=('i686' 'x86_64')
+up2date="Flasttar 
http://ftp.frugalware.org/pub/other/people/devil505/snapshots/$pkgname";
+source=(http://ftp.frugalware.org/pub/other/people/devil505/snapshots/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha1sums=('cf15a36723895e9b5277bb1846b4ca42d5a7ba6f')
+
+build()        {
+       Fcd
+
+       # Strip out unity support
+       sed -i 's/unity//' CMakeLists.txt || Fdie
+       sed -i 's/public Unity.LauncherEntry launcher;//' 
src/Widgets/WebView.vala || Fdie
+       sed -i 's/Unity.LauncherEntry _launcher,//' src/Widgets/WebView.vala || 
Fdie
+       sed -i 's/^\s*launcher.*$//' src/Widgets/WebView.vala || Fdie
+       sed -i 's/public Dbusmenu.Menuitem menuitem;//' 
src/Widgets/WebView.vala || Fdie
+       sed -i '/^\s*menuitem/,/});/d' src/Widgets/WebView.vala || Fdie
+       sed -i 's/public Unity.LauncherEntry launcher;//' src/GWoffice.vala || 
Fdie
+       sed -i 's/, launcher//' src/GWoffice.vala || Fdie
+       sed -i 's/^\s*launcher.*$//' src/GWoffice.vala || Fdie
+       sed -i 's/.*launcher.*//' src/Services/Sync.vala || Fdie
+
+       CMake_build -DCMAKE_EXE_LINKER_FLAGS=-loauth
+       Fbuild_gnome_scriptlet
+       Fmkdir /usr/bin
+       Fmv opt/extras.ubuntu.com/gwoffice/bin/gwoffice usr/bin/gwoffice
+       Frm /opt
+       Fsed "Exec=/opt/extras.ubuntu.com/gwoffice" "Exec=/usr" 
$Fdestdir/usr/share/applications/gwoffice.desktop
+}
+
+# optimization OK
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to