/[gentoo-x86]/gnome-extra/libgnomedb/libgnomedb-2.99.3.ebuild
Gentoo

Contents of /gnome-extra/libgnomedb/libgnomedb-2.99.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 13 22:13:30 2007 UTC (12 years, 8 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New release: 2.99.5
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgnomedb/libgnomedb-2.99.3.ebuild,v 1.1 2007/01/29 22:53:46 leonardop Exp $
4
5 WANT_AUTOCONF="2.5"
6 WANT_AUTOMAKE="1.9"
7
8 inherit autotools eutils mono gnome2
9
10 DESCRIPTION="Database widget library from the GNOME-DB project"
11 HOMEPAGE="http://www.gnome-db.org/"
12
13 LICENSE="GPL-2"
14 SLOT="3"
15 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
16
17 IUSE="doc mono"
18
19 # Dependencies here are set looking to obtain the most functionality, given that
20 # they are not unreasonable (e.g. gtk+'s version, gconf even if it's optional,
21 # etc.).
22 #
23 # There is no evolution-data-server support yet, only a check in configure.
24 RDEPEND=">=x11-libs/gtk+-2.10
25 >=gnome-base/gconf-2
26 >=gnome-extra/libgda-2.99.2
27 >=gnome-base/libgnomecanvas-2
28 >=gnome-base/libglade-2
29 >=x11-libs/gtksourceview-1
30 mono? (
31 >=dev-lang/mono-1
32 >=dev-dotnet/glade-sharp-2
33 >=dev-dotnet/gnome-sharp-2
34 >=dev-dotnet/gtk-sharp-2.3.90 )"
35
36 DEPEND="${RDEPEND}
37 >=dev-util/pkgconfig-0.9
38 >=dev-util/intltool-0.28
39 app-text/scrollkeeper
40 doc? ( >=dev-util/gtk-doc-1 )"
41
42 DOCS="AUTHORS ChangeLog NEWS"
43
44
45 pkg_setup() {
46 G2CONF="$(use_enable mono csharp)"
47
48 if use mono && ! built_with_use libgda mono; then
49 ewarn "The package gnome-extra/libgda has been installed without the"
50 ewarn "'mono' USE flag. libgnomedb will be built without mono support."
51 fi
52 }
53
54 src_unpack() {
55 gnome2_src_unpack
56
57 # Avoid file collisions with libgnomedb-1.2.x
58 epatch "${FILESDIR}/${P}-collisions.patch"
59 mv -f ${S}/control-center/database-properties.desktop.in ${S}/control-center/database-properties-3.0.desktop.in
60 mv -f ${S}/data/libgnomedb.schemas.in ${S}/data/libgnomedb-3.0.schemas.in
61 mv -f ${S}/doc/libgnomedb-C.omf.in ${S}/doc/libgnomedb-3.0-C.omf.in
62 mv -f ${S}/doc/C/libgnomedb-docs.sgml ${S}/doc/C/libgnomedb-3.0-docs.sgml
63 mv -f ${S}/doc/C/libgnomedb-overrides.txt ${S}/doc/C/libgnomedb-3.0-overrides.txt
64 mv -f ${S}/doc/C/libgnomedb-sections.txt ${S}/doc/C/libgnomedb-3.0-sections.txt
65 mv -f ${S}/doc/C/libgnomedb.types ${S}/doc/C/libgnomedb-3.0.types
66
67 eautoreconf
68 }

  ViewVC Help
Powered by ViewVC 1.1.20