[Frugalware-git] bouleetbiltesting: beagle-0.3.8-2-i686

bouleetbil bouleetbil at frogdev.info
Sun Oct 19 23:50:30 CEST 2008


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

commit bc208aa4350d6d6851d2b1f996de585af6d4357d
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Sun Oct 19 23:46:03 2008 +0200

beagle-0.3.8-2-i686
*rewrite FB
*change m8r

diff --git a/source/gnome-extra/beagle/FrugalBuild b/source/gnome-extra/beagle/FrugalBuild
index 8283fa0..c83a57c 100644
--- a/source/gnome-extra/beagle/FrugalBuild
+++ b/source/gnome-extra/beagle/FrugalBuild
@@ -1,37 +1,47 @@
-# Compiling time: 1.24 SBU
-# Maintainer: AlexExtreme <alex at alex-smith.me.uk>
+# Compiling time: 0.17 SBU
+# Maintainer: bouleetbil <bouleetbil at frogdev.info>
+# Contributor: AlexExtreme <alex at alex-smith.me.uk>

pkgname=beagle
+
pkgver=0.3.8
-pkgrel=1
+pkgrel=2
pkgdesc="Search tool that ransacks your personal information space"
url="http://beagle-project.org"
depends=('gecko-sharp' 'gmime>=2.2.3-1' 'libexif' 'sqlite3' 'libxscrnsaver' 'perl-xml-parser' \
-	'wv' 'gnome-sharp' 'gsf-sharp' 'galago-sharp' 'gmime-sharp' 'ndesk-dbus-glib' 'taglib-sharp')
-makedepends=('intltool' 'pygtk' 'zip' 'unzip' 'evolution-sharp>=0.18.0' 'python>=2.5' 'thunderbird' \
-	'monodoc' 'scrnsaverproto')
-backup=('etc/beagle/crawl-applications' 'etc/beagle/crawl-documentation' 'etc/beagle/crawl-windows')
+	'wv' 'gnome-sharp' 'gsf-sharp' 'galago-sharp' 'gmime-sharp' 'ndesk-dbus-glib' \
+	'taglib-sharp' 'avahi-sharp')
+makedepends=('intltool' 'pygtk' 'evolution-sharp>=0.18.0' 'thunderbird' \
+	'monodoc' 'scrnsaverproto' 'zip')
+backup=('etc/beagle/crawl-rules/crawl-applications' 'etc/beagle/crawl-rules/crawl-documentation' \
+	'etc/beagle/crawl-rules/crawl-executables' 'etc/beagle/crawl-rules/crawl-monodoc' \
+	'etc/beagle/crawl-rules/crawl-windows')
groups=('gnome-extra')
archs=('i686' 'x86_64')
_F_gnome_devel="y"
+_F_gnome_desktop="y"

-Finclude gnome mono python
+Finclude gnome mono gnome-scriptlet
+install=$pkgname.install
source=($source Fix_gvfs.diff)
sha1sums=('ee8538d89ff053b05eec34ae0330a9c48d91868a' \
'e7e910d1992e8ada161c8c36af75d2f69e431100')

-subpkgs=("$pkgname-evolution" "lib$pkgname" "$pkgname-gui" "$pkgname-thunderbird" "$pkgname-mozilla")
-subdescs=('Beagle evolution bindings.' 'Beagle client library.' 'Desktop Search Application.' 'Beagle backend for thunderbird' 'Beagle extension for Mozilla')
-subdepends=("$pkgname=$pkgver evolution-sharp>=0.13.3" 'libxml2 glib2 glibc python>=2.5' "$pkgname=$pkgver" "$pkgname=$pkgver thunderbird" "$pkgname=$pkgver")
-subgroups=('gnome-extra' 'lib-extra' 'gnome-extra' 'gnome-extra' 'gnome-extra')
-suboptions=('scriptlet' 'scriptlet' 'scriptlet' 'scriptlet' 'scriptlet')
-subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
+subpkgs=("$pkgname-evolution" "$pkgname-thunderbird" "$pkgname-mozilla" "$pkgname-gui")
+subdescs=('Beagle evolution bindings.' 'Beagle backend for thunderbird' 'Beagle extension for Mozilla' 'Desktop Search Application.')
+subdepends=("$pkgname=$pkgver evolution-sharp>=0.18.0" "$pkgname=$pkgver thunderbird" "$pkgname=$pkgver" "$pkgname=$pkgver")
+subgroups=('gnome-extra' 'gnome-extra' 'gnome-extra' 'gnome-extra')
+suboptions=('scriptlet' 'scriptlet' 'scriptlet' 'scriptlet')
+subarchs=('i686 x86_64' 'i686 x86_64' 'i686 x86_64' 'i686 x86_64')
+subinstall=("" "" "" "$_F_gnome_scriptlet")
+
+#TODO this version doesn't support epiphany-2.24 when we bump it verifiy if that work and split it

build()
{
Fmonoexport

-	Fbuild --enable-inotify --disable-schemas-install --enable-python --enable-thunderbird
+	Fbuild

# OnlyShowIn values so we don't get the Gnome GUI's showing in KDE
echo 'OnlyShowIn=GNOME;' >> $Fdestdir/usr/share/applications/beagle-search.desktop
@@ -47,18 +57,29 @@ build()
Fmkdir /usr/share/doc/$pkgname-$pkgver/mozilla-extension
cp firefox-extension/beagle.xpi $Fdestdir/usr/share/doc/$pkgname-$pkgver/mozilla-extension/ || Fdie
cp firefox-extension/README $Fdestdir/usr/share/doc/$pkgname-$pkgver/mozilla-extension/ || Fdie
+	# "Install" the Thunderbird extension
+	Fmkdir /usr/share/doc/$pkgname-$pkgver/thunderbird-extension
+	cp thunderbird-extension/beagle.xpi $Fdestdir/usr/share/doc/$pkgname-$pkgver/thunderbird-extension/ || Fdie

# Split out the packages
Fsplit $pkgname-evolution usr/lib/beagle/Backends/EvolutionBackends.*
+
Fsplit $pkgname-thunderbird usr/lib/beagle/Backends/ThunderbirdBackends.*
-	Fsplit lib$pkgname usr/lib/beagle/libbeagle*
-	Fsplit $pkgname-gui usr/bin/beagle-{imlogviewer,search,settings}
-	Fsplit $pkgname-gui usr/lib/beagle/{*.dll*,*.exe*}
-	Fsplit $pkgname-gui usr/share/applications/*.desktop
-	Fsplit $pkgname-gui usr/share/beagle/
-	Fsplit $pkgname-gui usr/share/gnome/autostart/beagle-search-autostart.desktop
+	Fsplit $pkgname-thunderbird usr/share/doc/$pkgname-$pkgver/thunderbird-extension
+
Fsplit $pkgname-mozilla usr/share/doc/$pkgname-$pkgver/mozilla-extension

+	Fsplit $pkgname-gui usr/bin/beagle-imlogviewer
+	Fsplit $pkgname-gui usr/bin/beagle-settings
+	Fsplit $pkgname-gui usr/bin/beagle-search
+	Fsplit $pkgname-gui usr/lib/pkgconfig/beagle-ui-0.0.pc
+	Fsplit $pkgname-gui usr/lib/beagle/ImLogViewer*
+	Fsplit $pkgname-gui usr/lib/beagle/Beagle.Search*
+	Fsplit $pkgname-gui usr/lib/beagle/Settings*
+	Fsplit $pkgname-gui usr/share/applications
+
+	Fbuild_gnome_scriptlet
+
Fmonocleanup
}


More information about the Frugalware-git mailing list