/[gentoo-x86]/x11-libs/qt-sql/qt-sql-4.8.2.ebuild
Gentoo

Contents of /x11-libs/qt-sql/qt-sql-4.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat Dec 29 13:48:11 2012 UTC (2 years, 1 month ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.8.2.ebuild,v 1.10 2012/10/14 16:55:32 armin76 Exp $
4
5 EAPI=4
6
7 inherit multilib qt4-build
8
9 DESCRIPTION="The SQL module for the Qt toolkit"
10 SLOT="4"
11 if [[ ${QT4_BUILD_TYPE} == live ]]; then
12 KEYWORDS=""
13 else
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
15 fi
16 IUSE="firebird freetds mysql oci8 odbc postgres qt3support +sqlite"
17
18 REQUIRED_USE="
19 || ( firebird freetds mysql oci8 odbc postgres sqlite )
20 "
21
22 DEPEND="
23 ~x11-libs/qt-core-${PV}[aqua=,c++0x=,debug=,qpa=,qt3support=]
24 firebird? ( dev-db/firebird )
25 freetds? ( dev-db/freetds )
26 mysql? ( virtual/mysql )
27 oci8? ( dev-db/oracle-instantclient-basic )
28 odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) )
29 postgres? ( dev-db/postgresql-base )
30 sqlite? ( dev-db/sqlite:3 )
31 "
32 RDEPEND="${DEPEND}"
33
34 PATCHES=(
35 "${FILESDIR}/${PV}-qatomic-x32.patch"
36 )
37
38 pkg_setup() {
39 QT4_TARGET_DIRECTORIES="
40 src/sql
41 src/plugins/sqldrivers"
42
43 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
44 include/Qt
45 include/QtCore
46 include/QtSql
47 src/src.pro
48 src/corelib
49 src/plugins
50 src/tools/tools.pro"
51
52 qt4-build_pkg_setup
53 }
54
55 src_configure() {
56 myconf+="
57 $(qt_use firebird sql-ibase plugin)
58 $(qt_use freetds sql-tds plugin)
59 $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql")
60 $(qt_use oci8 sql-oci plugin) $(use oci8 && echo "-I${ORACLE_HOME}/include -L${ORACLE_HOME}/$(get_libdir)")
61 $(qt_use odbc sql-odbc plugin) $(use odbc && echo "-I${EPREFIX}/usr/include/iodbc")
62 $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql")
63 $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo -system-sqlite)
64 -no-sql-db2
65 -no-sql-sqlite2
66 -no-sql-symsql
67 $(qt_use qt3support)
68 -no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon
69 -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative
70 -system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg -no-openssl
71 -no-cups -no-dbus -no-gtkstyle -no-nas-sound -no-opengl
72 -no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes
73 -no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb
74 -no-glib"
75
76 qt4-build_src_configure
77 }

  ViewVC Help
Powered by ViewVC 1.1.20