diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-04-03 19:41:39 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-04-03 19:41:39 +0000 |
commit | 2d67926c1405ab36cb7d4fc7d63d130a634979f1 (patch) | |
tree | b7832c387c797088c99e7b60c28de434deabed8e /dev-db/mysql-gui-tools | |
parent | ppc stable, bug #172527 (diff) | |
download | gentoo-2-2d67926c1405ab36cb7d4fc7d63d130a634979f1.tar.gz gentoo-2-2d67926c1405ab36cb7d4fc7d63d130a634979f1.tar.bz2 gentoo-2-2d67926c1405ab36cb7d4fc7d63d130a634979f1.zip |
Version bump.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-db/mysql-gui-tools')
-rw-r--r-- | dev-db/mysql-gui-tools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p11 | 3 | ||||
-rw-r--r-- | dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p11.ebuild | 118 |
3 files changed, 128 insertions, 1 deletions
diff --git a/dev-db/mysql-gui-tools/ChangeLog b/dev-db/mysql-gui-tools/ChangeLog index c4e9d30aaab3..81ffa81ab777 100644 --- a/dev-db/mysql-gui-tools/ChangeLog +++ b/dev-db/mysql-gui-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/mysql-gui-tools # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.10 2007/03/10 23:32:48 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/ChangeLog,v 1.11 2007/04/03 19:41:39 swegener Exp $ + +*mysql-gui-tools-5.0_p11 (03 Apr 2007) + + 03 Apr 2007; Sven Wegener <swegener@gentoo.org> + +mysql-gui-tools-5.0_p11.ebuild: + Version bump. *mysql-gui-tools-5.0_p10-r1 (10 Mar 2007) diff --git a/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p11 b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p11 new file mode 100644 index 000000000000..1aa45188fb70 --- /dev/null +++ b/dev-db/mysql-gui-tools/files/digest-mysql-gui-tools-5.0_p11 @@ -0,0 +1,3 @@ +MD5 063fda21a80f1b1a3e96231433b3f24b mysql-gui-tools-5.0r11.tar.gz 24808001 +RMD160 b577bb85094d637bb7124d0977a76362234bc8d4 mysql-gui-tools-5.0r11.tar.gz 24808001 +SHA256 ee8a8d44f3e6888450a4083c1891f626fa1b8fe020f18ba1a31f86da52e8341c mysql-gui-tools-5.0r11.tar.gz 24808001 diff --git a/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p11.ebuild b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p11.ebuild new file mode 100644 index 000000000000..da65a8a63786 --- /dev/null +++ b/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p11.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-gui-tools/mysql-gui-tools-5.0_p11.ebuild,v 1.1 2007/04/03 19:41:39 swegener Exp $ + +GCONF_DEBUG="no" + +inherit gnome2 eutils flag-o-matic java-utils-2 + +MY_P="${P/_p/r}" + +DESCRIPTION="MySQL GUI Tools" +HOMEPAGE="http://www.mysql.com/products/tools/" +SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="nls administrator query-browser workbench" + +RDEPEND=">=x11-libs/gtk+-2.6 + >=dev-libs/glib-2.6 + >=gnome-base/libglade-2.5 + >=dev-libs/libsigc++-2.0 + >=dev-libs/libpcre-4.4 + >=dev-libs/libxml2-2.6.2 + =dev-cpp/glibmm-2.12* + =dev-cpp/gtkmm-2.10* + =gnome-extra/gtkhtml-3.12* + >=virtual/mysql-5.0 + workbench? ( + =dev-lang/lua-5.0* + virtual/opengl + )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.15 + >=app-text/scrollkeeper-0.3.11" +RDEPEND="${RDEPEND} + !dev-db/mysql-administrator + !dev-db/mysql-query-browser" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + if ! use administrator && ! use query-browser && ! use workbench + then + elog "Please activate at least one of the following USE flags:" + elog "- administrator for MySQL Administrator" + elog "- query-browser for MySQL Query Browser" + elog "- workbench for MySQL Workbench" + die "Please activate at least one of the following USE flags: administrator, query-browser, workbench" + fi +} + +src_unpack() { + gnome2_src_unpack + cd "${S}" + + epatch "${FILESDIR}"/mysql-gui-tools-5.0_p8-i18n-fix.patch + epatch "${FILESDIR}"/mysql-gui-tools-5.0_p8-lua-modules.patch +} + +src_compile() { + # mysql has -fno-exceptions, but we need exceptions + append-flags -fexceptions + + cd "${S}"/mysql-gui-common + sed -i -e "s/\\b-ltermcap\\b//g" tools/{grtsh,grtsh3}/Makefile.{am,in} + use nls || sed -i -e "/^SUBDIRS = / s/\\bpo\\b//" Makefile.{am,in} + gnome2_src_compile \ + --disable-java-modules \ + $(use_enable workbench grt) \ + $(use_enable workbench canvas) \ + $(use_enable nls i18n) + + if use administrator + then + cd "${S}"/mysql-administrator + use nls || sed -i -e "/^SUBDIRS = / s/\\bpo\\b//" Makefile.{am,in} + gnome2_src_compile $(use_enable nls i18n) + fi + + if use query-browser + then + cd "${S}"/mysql-query-browser + use nls || sed -i -e "/^SUBDIRS=/ s/\\bpo\\b//" Makefile.{am,in} + gnome2_src_compile --with-gtkhtml=libgtkhtml-3.8 + fi + + if use workbench + then + cd "${S}"/mysql-workbench + use nls || sed -i -e "/^SUBDIRS=/ s/\\bpo\\b//" Makefile.{am,in} + gnome2_src_compile + fi +} + +src_install() { + cd "${S}"/mysql-gui-common + gnome2_src_install + + if use administrator + then + cd "${S}"/mysql-administrator + gnome2_src_install + fi + + if use query-browser + then + cd "${S}"/mysql-query-browser + gnome2_src_install + fi + + if use workbench + then + cd "${S}"/mysql-workbench + gnome2_src_install + fi +} |