1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.22.ebuild,v 1.1 2010/06/03 06:26:51 graaff Exp $
8 inherit gnome2 eutils flag-o-matic autotools
10 MY_P="${PN}-oss-${PV}"
12 DESCRIPTION="MySQL Workbench"
13 HOMEPAGE="http://dev.mysql.com/workbench/"
14 SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="debug nls readline static-libs"
21 RDEPEND=">=x11-libs/gtk+-2.6
23 gnome-base/libglade:2.0
26 >=dev-libs/libxml2-2.6.2
33 >=dev-lang/lua-5.1[deprecated]
36 || ( sys-libs/e2fsprogs-libs
38 >=x11-libs/cairo-1.5.12[svg]
41 readline? ( sys-libs/readline )"
43 >=dev-cpp/ctemplate-0.95
46 S="${WORKDIR}"/"${MY_P}"
49 epatch "${FILESDIR}/${PN}-5.2.17-python-libs.patch"
50 epatch "${FILESDIR}/${PN}-5.2.17-as-needed-modules.patch"
51 epatch "${FILESDIR}/${PN}-5.2.22-increase-connection-timeout.patch"
57 $(use_enable nls i18n) \
58 $(use_enable readline readline) \
60 $(use_enable static-libs static) \
61 --with-system-ctemplate