diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2010-03-07 23:56:54 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2010-03-07 23:56:54 +0000 |
commit | db430dcc4bb755b13933e36ab5b3c4801170fe67 (patch) | |
tree | 244abd94a4378444274f28f460aab9920408f429 /gnome-extra/libgda | |
parent | net-misc/usbip: initial import for bug 220771 (diff) | |
download | gentoo-2-db430dcc4bb755b13933e36ab5b3c4801170fe67.tar.gz gentoo-2-db430dcc4bb755b13933e36ab5b3c4801170fe67.tar.bz2 gentoo-2-db430dcc4bb755b13933e36ab5b3c4801170fe67.zip |
Version bump. Add graphical tools.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/libgda')
-rw-r--r-- | gnome-extra/libgda/ChangeLog | 8 | ||||
-rw-r--r-- | gnome-extra/libgda/libgda-4.1.4.ebuild | 110 | ||||
-rw-r--r-- | gnome-extra/libgda/metadata.xml | 2 |
3 files changed, 119 insertions, 1 deletions
diff --git a/gnome-extra/libgda/ChangeLog b/gnome-extra/libgda/ChangeLog index 4c82202994ae..80db9d570d8d 100644 --- a/gnome-extra/libgda/ChangeLog +++ b/gnome-extra/libgda/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/libgda # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.132 2010/03/06 20:12:04 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/ChangeLog,v 1.133 2010/03/07 23:56:54 eva Exp $ + +*libgda-4.1.4 (07 Mar 2010) + + 07 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org> +libgda-4.1.4.ebuild, + metadata.xml: + Version bump. Add graphical tools. 06 Mar 2010; Pacho Ramos <pacho@gentoo.org> libgda-4.1.0.ebuild: amd64 stable, bug 298201 diff --git a/gnome-extra/libgda/libgda-4.1.4.ebuild b/gnome-extra/libgda/libgda-4.1.4.ebuild new file mode 100644 index 000000000000..c4e3fbf509f2 --- /dev/null +++ b/gnome-extra/libgda/libgda-4.1.4.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgda/libgda-4.1.4.ebuild,v 1.1 2010/03/07 23:56:54 eva Exp $ + +EAPI="2" + +inherit db-use flag-o-matic gnome2 java-pkg-opt-2 + +DESCRIPTION="Gnome Database Access Library" +HOMEPAGE="http://www.gnome-db.org/" +LICENSE="GPL-2 LGPL-2" + +# MDB support currently works with CVS only, so disable it in the meantime +# experimental IUSE: introspection +IUSE="berkdb bindist canvas doc firebird freetds gtk graphviz ldap mysql oci8 odbc postgres sourceview xbase" +SLOT="4" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +# FIXME: sqlite is automagic, but maybe it is a hard-dep +# FIXME: autoconf is a hell of inconsistencies +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.16 + >=dev-libs/libxml2-2 + dev-libs/libxslt + dev-libs/libunique + sys-libs/readline + sys-libs/ncurses + >=net-libs/libsoup-2.24:2.4 + berkdb? ( sys-libs/db ) + freetds? ( >=dev-db/freetds-0.62 ) + !bindist? ( firebird? ( dev-db/firebird ) ) + gtk? ( + >=x11-libs/gtk+-2.12 + canvas? ( x11-libs/goocanvas ) + sourceview? ( x11-libs/gtksourceview:2.0 ) + graphviz? ( media-gfx/graphviz ) + ) + ldap? ( >=net-nds/openldap-2.0.25 ) + mysql? ( virtual/mysql ) + odbc? ( >=dev-db/unixODBC-2.0.6 ) + postgres? ( >=virtual/postgresql-base-7.2.1 ) + xbase? ( dev-db/xbase ) + >=dev-db/sqlite-3.6.22:3" +# json? ( dev-libs/json-glib ) +# mdb? ( >app-office/mdbtools-0.5 ) + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.18 + >=dev-util/intltool-0.35.5 + doc? ( >=dev-util/gtk-doc-1 )" + +DOCS="AUTHORS ChangeLog NEWS README" + +# Tests are not really good +RESTRICT="test" + +pkg_setup() { + if use canvas || use graphviz || use sourceview; then + if ! use gtk; then + ewarn "You must enable USE=gtk to make use of canvas, graphivz or sourceview USE flag." + ewarn "Disabling for now." + G2CONF="${G2CONF} --without-goocanvas --without-graphivz --without-gtksourceview" + else + G2CONF="${G2CONF} + $(use_with canvas goocanvas) + $(use_with graphviz) + $(use_with sourceview gtksourceview)" + fi + fi + + G2CONF="${G2CONF} + --with-unique + --with-libsoup + --disable-introspection + --disable-static + --enable-system-sqlite + $(use_with gtk ui) + $(use_with berkdb bdb /usr) + $(use_with odbc odbc /usr) + $(use_with mysql mysql /usr) + $(use_with postgres postgres /usr) + $(use_with freetds tds /usr) + $(use_with xbase xbase /usr) + $(use_with ldap ldap /usr) + $(use_with java java $JAVA_HOME) + --without-mdb" +# $(use_with mdb mdb /usr) + + if use bindist; then + # firebird license is not GPL compatible + G2CONF="${G2CONF} --without-firebird" + else + G2CONF="${G2CONF} $(use_with firebird firebird /usr)" + fi + + use berkdb && append-cppflags "-I$(db_includedir)" + use oci8 || G2CONF="${G2CONF} --without-oracle" + + # Not in portage + G2CONF="${G2CONF} + --without-msql + --without-sybase + --without-ibmdb2 + --disable-default-binary" +} + +src_test() { + emake check HOME=$(unset HOME; echo "~") || die "tests failed" +} diff --git a/gnome-extra/libgda/metadata.xml b/gnome-extra/libgda/metadata.xml index f9c6e0ac17c6..0ecc26db4d8e 100644 --- a/gnome-extra/libgda/metadata.xml +++ b/gnome-extra/libgda/metadata.xml @@ -3,7 +3,9 @@ <pkgmetadata> <herd>gnome</herd> <use> + <flag name="canvas">Enables support for <pkg>x11-libs/goocanvas</pkg></flag> <flag name='mdb'>Enables Microsoft Access DB support</flag> + <flag name="sourceview">Enable support for <pkg>x11-libs/gtksourceview</pkg></flag> <flag name='xbase'>Enables support for xbase databases (dBase, FoxPro, etc.)</flag> </use> |