summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-05-15 19:12:11 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-05-15 19:12:11 +0000
commit26c77589d98c0a10192cdf9d6fe3071aabcf68fb (patch)
treef4592e2bf68fdfc31a51f4ad2481b6d23c108b55 /app-office/kexi/kexi-1.6.2-r2.ebuild
parent Deal with bug 167522 and configure with neon 0.26.3. (diff)
downloadgentoo-2-26c77589d98c0a10192cdf9d6fe3071aabcf68fb.tar.gz
gentoo-2-26c77589d98c0a10192cdf9d6fe3071aabcf68fb.tar.bz2
gentoo-2-26c77589d98c0a10192cdf9d6fe3071aabcf68fb.zip
SQL view query fix.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-office/kexi/kexi-1.6.2-r2.ebuild')
-rw-r--r--app-office/kexi/kexi-1.6.2-r2.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-office/kexi/kexi-1.6.2-r2.ebuild b/app-office/kexi/kexi-1.6.2-r2.ebuild
new file mode 100644
index 000000000000..4a31efb69171
--- /dev/null
+++ b/app-office/kexi/kexi-1.6.2-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kexi/kexi-1.6.2-r2.ebuild,v 1.1 2007/05/15 19:12:11 carlo Exp $
+
+MAXKOFFICEVER=${PV}
+KMNAME=koffice
+inherit kde-meta eutils
+
+DESCRIPTION="KOffice integrated environment for database management."
+HOMEPAGE="http://www.koffice.org/"
+LICENSE="GPL-2 LGPL-2"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="mysql postgres kdeenablefinal"
+
+RDEPEND="$(deprange $PV $MAXKOFFICEVER app-office/koffice-libs)
+ sys-libs/readline
+ mysql? ( virtual/mysql )
+ postgres? ( <dev-libs/libpqxx-2.6.9 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+KMCOPYLIB="
+ libkformula lib/kformula
+ libkofficecore lib/kofficecore
+ libkofficeui lib/kofficeui
+ libkopainter lib/kopainter
+ libkoproperty lib/koproperty
+ libkotext lib/kotext
+ libkwmf lib/kwmf
+ libkowmf lib/kwmf
+ libkstore lib/store
+ libkrossmain lib/kross/main/
+ libkrossapi lib/kross/api/"
+
+KMEXTRACTONLY="lib/"
+
+need-kde 3.4
+
+PATCHES="${FILESDIR}/kexi-1.6.2-build_kexi_file.diff
+ ${FILESDIR}/kexi-1.6.2-query.diff"
+
+src_compile() {
+ local myconf="$(use_enable mysql) $(use_enable postgres pgsql) --enable-kexi-reports"
+
+ # Labplot needs the header file
+ sed -i -e "s:utils.h:utils.h parser/parser.h:" kexi/kexidb/Makefile.am || die "sed failed"
+ kde-meta_src_compile
+}