/[gentoo-x86]/gnome-extra/libgda/libgda-4.2.10.ebuild
Gentoo

Contents of /gnome-extra/libgda/libgda-4.2.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Dec 31 19:18:28 2011 UTC (7 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, remove old.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.2.10.ebuild,v 1.1 2011/11/01 11:29:34 pacho Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit db-use eutils flag-o-matic gnome2 java-pkg-opt-2
10
11 DESCRIPTION="Gnome Database Access Library"
12 HOMEPAGE="http://www.gnome-db.org/"
13 LICENSE="GPL-2 LGPL-2"
14
15 # MDB support currently works with CVS only, so disable it in the meantime
16 # and use libgda:5 for that support then
17 #
18 # vala support doesn't build, see upstream bug #663153
19 IUSE="berkdb bindist canvas doc firebird gnome-keyring gtk graphviz http +introspection json ldap mysql oci8 postgres sourceview ssl"
20 # vala
21
22 SLOT="4"
23 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
24
25 RDEPEND="
26 app-text/iso-codes
27 >=dev-libs/glib-2.16:2
28 >=dev-libs/libxml2-2:2
29 dev-libs/libxslt
30 dev-libs/libunique:1
31 sys-libs/readline
32 sys-libs/ncurses
33 >=dev-db/sqlite-3.6.22:3
34 berkdb? ( sys-libs/db )
35 !bindist? ( firebird? ( dev-db/firebird ) )
36 gtk? (
37 || ( >=x11-libs/gtk+-2.12:2 x11-libs/gdk-pixbuf:2 )
38 canvas? ( x11-libs/goocanvas:0 )
39 sourceview? ( x11-libs/gtksourceview:2.0 )
40 graphviz? ( media-gfx/graphviz )
41 )
42 gnome-keyring? ( gnome-base/libgnome-keyring )
43 http? ( >=net-libs/libsoup-2.24:2.4 )
44 introspection? ( >=dev-libs/gobject-introspection-0.6.5 )
45 json? ( dev-libs/json-glib )
46 ldap? ( net-nds/openldap )
47 mysql? ( virtual/mysql )
48 postgres? ( dev-db/postgresql-base )
49 ssl? ( dev-libs/openssl )"
50 # vala? ( >=dev-lang/vala-0.14:0.14 )
51 # mdb? ( >app-office/mdbtools-0.5 )
52
53 DEPEND="${RDEPEND}
54 >=dev-util/pkgconfig-0.18
55 >=dev-util/intltool-0.35.5
56 >=app-text/gnome-doc-utils-0.9
57 >=dev-util/gtk-doc-am-1
58 doc? ( >=dev-util/gtk-doc-1 )"
59
60 # Tests are not really good
61 RESTRICT="test"
62
63 pkg_setup() {
64 DOCS="AUTHORS ChangeLog NEWS README"
65
66 if use canvas || use graphviz || use sourceview; then
67 if ! use gtk; then
68 ewarn "You must enable USE=gtk to make use of canvas, graphivz or sourceview USE flag."
69 ewarn "Disabling for now."
70 G2CONF="${G2CONF} --without-goocanvas --without-graphivz --without-gtksourceview"
71 else
72 G2CONF="${G2CONF}
73 $(use_with canvas goocanvas)
74 $(use_with graphviz)
75 $(use_with sourceview gtksourceview)"
76 fi
77 fi
78
79 G2CONF="${G2CONF}
80 --with-unique
81 --disable-scrollkeeper
82 --disable-static
83 --enable-system-sqlite
84 $(use_with berkdb bdb /usr)
85 $(use_with gnome-keyring)
86 $(use_with gtk ui)
87 $(use_with http libsoup)
88 $(use_enable introspection)
89 $(use_enable introspection gda-gi)
90 $(use_enable introspection gdaui-gi)
91 $(use_with java java $JAVA_HOME)
92 $(use_enable json)
93 $(use_with ldap)
94 $(use_with mysql mysql /usr)
95 $(use_with postgres postgres /usr)
96 $(use_enable ssl crypto)
97 --disable-vala
98 --without-mdb"
99 # VALAC=$(type -p valac-0.14)"
100 # $(use_with mdb mdb /usr)
101
102 if use bindist; then
103 # firebird license is not GPL compatible
104 G2CONF="${G2CONF} --without-firebird"
105 else
106 G2CONF="${G2CONF} $(use_with firebird firebird /usr)"
107 fi
108
109 use berkdb && append-cppflags "-I$(db_includedir)"
110 use oci8 || G2CONF="${G2CONF} --without-oracle"
111
112 # Not in portage
113 G2CONF="${G2CONF}
114 --disable-default-binary"
115
116 export XDG_DATA_HOME="${T}/.local"
117 }
118
119 src_prepare() {
120 gnome2_src_prepare
121
122 # Fix compilation failure of keyword_hash.c, upstream #630959
123 epatch "${FILESDIR}/${PN}-4.2.0-missing-include-in-keyword_hash-generator.patch"
124 }

  ViewVC Help
Powered by ViewVC 1.1.20