Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tracker: ChangeLog tracker-9999.ebuild
Date: Wed, 30 Jul 2008 21:40:30
Message-Id: E1KOJPH-0007jy-CV@stork.gentoo.org
1 eva 08/07/30 21:40:27
2
3 Modified: ChangeLog
4 Added: tracker-9999.ebuild
5 Log:
6 add a live ebuild.
7 (Portage version: 2.2_rc3/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.45 app-misc/tracker/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 24 Apr 2008 18:02:14 -0000 1.44
23 +++ ChangeLog 30 Jul 2008 21:40:26 -0000 1.45
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-misc/tracker
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.44 2008/04/24 18:02:14 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.45 2008/07/30 21:40:26 eva Exp $
29 +
30 +*tracker-9999 (30 Jul 2008)
31 +
32 + 30 Jul 2008; Gilles Dartiguelongue <eva@g.o> +tracker-9999.ebuild:
33 + add a live ebuild.
34
35 24 Apr 2008; Markus Rothe <corsair@g.o> tracker-0.6.6-r1.ebuild:
36 Added ~ppc64; bug #218794
37
38
39
40 1.1 app-misc/tracker/tracker-9999.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/tracker-9999.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/tracker-9999.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tracker-9999.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-9999.ebuild,v 1.1 2008/07/30 21:40:26 eva Exp $
50
51 inherit autotools eutils flag-o-matic linux-info subversion
52
53 DESCRIPTION="A tagging metadata database, search tool and indexer"
54 HOMEPAGE="http://www.tracker-project.org/"
55 ESVN_REPO_URI="http://svn.gnome.org/svn/${PN}/trunk"
56 #SRC_URI="http://www.gnome.org/~jamiemcc/${PN}/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS=""
61 IUSE="applet debug deskbar gnome gsf gstreamer gtk hal jpeg pdf xine kernel_linux"
62
63 RDEPEND=">=dev-libs/glib-2.14.0
64 >=x11-libs/pango-1.0.0
65 >=dev-libs/gmime-2.1.0
66 >=dev-libs/dbus-glib-0.71
67 >=media-libs/libpng-1.2
68 >=dev-libs/libxml2-2.6
69 >=dev-db/sqlite-3.4
70 >=media-gfx/imagemagick-5.2.1
71 applet? ( >=x11-libs/libnotify-0.4.3 )
72 deskbar? ( >=gnome-extra/deskbar-applet-2.19 )
73 gnome? (
74 >=x11-libs/gtk+-2.8
75 >=gnome-base/libgnome-2.14
76 >=gnome-base/libgnomeui-2.14
77 >=gnome-base/gnome-vfs-2.10
78 >=gnome-base/gnome-desktop-2.14
79 >=gnome-base/libglade-2.5
80 )
81 gsf? ( >=gnome-extra/libgsf-1.13 )
82 gstreamer? ( >=media-libs/gstreamer-0.10 )
83 !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
84 gtk? ( >=x11-libs/gtk+-2.8.20 )
85 hal? ( >=sys-apps/hal-0.5 )
86 jpeg? ( >=media-gfx/exif-0.6 )
87 !kernel_linux? ( >=app-admin/gamin-0.1.7 )
88 pdf? (
89 >=x11-libs/cairo-1.0
90 >=app-text/poppler-bindings-0.5.0
91 )
92 xine? ( >=media-libs/xine-lib-1.0 )"
93 DEPEND="${RDEPEND}
94 >=dev-util/intltool-0.35
95 >=sys-devel/gettext-0.14
96 >=dev-util/pkgconfig-0.20"
97
98 function notify_inotify() {
99 ewarn
100 ewarn "You should enable the INOTIFY support in your kernel."
101 ewarn "Check the 'Inotify file change notification support' under the"
102 ewarn "'File systems' option. It is marked as CONFIG_INOTIFY in the config"
103 ewarn "Also enable 'Inotify support for userland' in under the previous"
104 ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config."
105 ewarn
106 die 'missing CONFIG_INOTIFY'
107 }
108
109 function inotify_enabled() {
110 linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
111 }
112
113 pkg_setup() {
114 linux-info_pkg_setup
115
116 if built_with_use --missing false 'dev-db/sqlite' 'nothreadsafe' ||
117 ! built_with_use --missing true 'dev-db/sqlite' 'threadsafe' ; then
118 eerror "You must build sqlite with threading support"
119 die "dev-db/sqlite built without thread safety"
120 fi
121
122 if ! built_with_use 'media-gfx/imagemagick' 'png' ; then
123 ewarn "You must build imagemagick with png"
124 die "imagemagick needs png support"
125 fi
126
127 if use pdf && ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
128 ewarn "You must build poppler-bindings with gtk to get support for PDFs"
129 die "poppler-bindings needs gtk support"
130 fi
131
132 if use jpeg && ! built_with_use 'media-gfx/imagemagick' 'jpeg' ; then
133 ewarn "You must build imagemagick with jpeg to get support for JPEG"
134 die "imagemagick needs jpeg support"
135 fi
136
137 if use kernel_linux ; then
138 inotify_enabled || notify_inotify
139 fi
140 }
141
142 src_unpack() {
143 subversion_src_unpack
144
145 intltoolize --force || die "intltoolize failed"
146 eautoreconf
147 }
148
149 src_compile() {
150 local myconf=
151
152 if use gstreamer ; then
153 myconf="${myconf} --enable-video-extractor=gstreamer"
154 elif use xine ; then
155 myconf="${myconf} --enable-video-extractor=xine"
156 else
157 myconf="${myconf} --enable-video-extractor=external"
158 fi
159
160 if use kernel_linux ; then
161 myconf="${myconf} --enable-file-monitoring=inotify"
162 else
163 myconf="${myconf} --enable-file-monitoring=fam"
164 fi
165
166 econf ${myconf} \
167 --disable-xmp --disable-unac \
168 --enable-preferences --disable-external-qdbm \
169 $(use_enable applet trackerapplet) \
170 $(use_enable deskbar deskbar-applet auto) \
171 $(use_enable debug debug-code) \
172 $(use_enable gnome gui) \
173 $(use_enable gsf) \
174 $(use_enable gtk libtrackergtk) \
175 $(use_enable hal) \
176 $(use_enable jpeg exif) \
177 $(use_enable pdf) \
178 || die "configure failed"
179
180 emake || die "build failed"
181 }
182
183 src_install() {
184 emake DESTDIR="${D}" install || die "install failed"
185 dodoc AUTHORS ChangeLog NEWS README
186 }