summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-12-21 19:04:14 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-12-21 19:04:14 +0000
commit046ae1ca64db2c9415c1515df76ac1de6087133a (patch)
tree91c752d33cb9d9d23a612ea376cdf07d69a24610 /x11-libs/qt-sql
parentInitial ebuild (diff)
downloadgentoo-2-046ae1ca64db2c9415c1515df76ac1de6087133a.tar.gz
gentoo-2-046ae1ca64db2c9415c1515df76ac1de6087133a.tar.bz2
gentoo-2-046ae1ca64db2c9415c1515df76ac1de6087133a.zip
Initial ebuild
(Portage version: 2.1.3.16)
Diffstat (limited to 'x11-libs/qt-sql')
-rw-r--r--x11-libs/qt-sql/ChangeLog10
-rw-r--r--x11-libs/qt-sql/Manifest16
-rw-r--r--x11-libs/qt-sql/files/digest-qt-sql-4.4.0_rc13
-rw-r--r--x11-libs/qt-sql/metadata.xml5
-rw-r--r--x11-libs/qt-sql/qt-sql-4.4.0_rc1.ebuild70
5 files changed, 104 insertions, 0 deletions
diff --git a/x11-libs/qt-sql/ChangeLog b/x11-libs/qt-sql/ChangeLog
new file mode 100644
index 000000000000..153ad2f6e376
--- /dev/null
+++ b/x11-libs/qt-sql/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/qt-sql
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.1 2007/12/21 19:04:14 caleb Exp $
+
+*qt-sql-4.4.0_rc1 (21 Dec 2007)
+
+ 21 Dec 2007; Caleb Tennis <caleb@gentoo.org> +metadata.xml,
+ +qt-sql-4.4.0_rc1.ebuild:
+ Initial ebuild
+
diff --git a/x11-libs/qt-sql/Manifest b/x11-libs/qt-sql/Manifest
new file mode 100644
index 000000000000..b3f97b0bf8cb
--- /dev/null
+++ b/x11-libs/qt-sql/Manifest
@@ -0,0 +1,16 @@
+DIST qt-x11-preview-opensource-src-4.4.0-tp1.tar.gz 56029137 RMD160 dd2dee9afaa9d16bdf5ca2bed82a3b9e2162bdd2 SHA1 e242dc542eb1424a51c47e7c80aaefd26668451c SHA256 1757416bda52c34ade3a49b5896bafe9e3cfe092d3180da32d520f94324c0b88
+EBUILD qt-sql-4.4.0_rc1.ebuild 2323 RMD160 6435dd549eaa61f7cdf16d22ead4f19a91831be1 SHA1 815ff31eb724f672b6a9da62d814ff86b609cf90 SHA256 88c8032069fe5f74f4ea1cc34ba5f8276f58886fdc3016d6700fcf15bc4fe01c
+MD5 247f7e96aeced6eab497db1045170b3b qt-sql-4.4.0_rc1.ebuild 2323
+RMD160 6435dd549eaa61f7cdf16d22ead4f19a91831be1 qt-sql-4.4.0_rc1.ebuild 2323
+SHA256 88c8032069fe5f74f4ea1cc34ba5f8276f58886fdc3016d6700fcf15bc4fe01c qt-sql-4.4.0_rc1.ebuild 2323
+MISC ChangeLog 257 RMD160 0f61792ded886e67a8c8a98658f54eeb1f7a0a21 SHA1 ef84722e1f0da4bf8ba5f74f89243954eeb537ab SHA256 69457bd5ebd4f67e6a203e22639b0dcd0a4b8c6fbe75fbee21ec35ce5e15eecc
+MD5 9d33a1527c3e84a0fda0e34617b9659f ChangeLog 257
+RMD160 0f61792ded886e67a8c8a98658f54eeb1f7a0a21 ChangeLog 257
+SHA256 69457bd5ebd4f67e6a203e22639b0dcd0a4b8c6fbe75fbee21ec35ce5e15eecc ChangeLog 257
+MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448
+MD5 512150b47a904b0240101e319856aab1 metadata.xml 156
+RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc metadata.xml 156
+SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448 metadata.xml 156
+MD5 82e8a2d695216d8ed9d69b21cb2b06fc files/digest-qt-sql-4.4.0_rc1 325
+RMD160 b82b94eb49ac3711f85f127b3b2d336ebc7e2711 files/digest-qt-sql-4.4.0_rc1 325
+SHA256 76d5f09c74420bfa920616103da36e3bab698f3932f4db60db3d499ff34abf0e files/digest-qt-sql-4.4.0_rc1 325
diff --git a/x11-libs/qt-sql/files/digest-qt-sql-4.4.0_rc1 b/x11-libs/qt-sql/files/digest-qt-sql-4.4.0_rc1
new file mode 100644
index 000000000000..2cd44a5faf48
--- /dev/null
+++ b/x11-libs/qt-sql/files/digest-qt-sql-4.4.0_rc1
@@ -0,0 +1,3 @@
+MD5 1c5a5533f885f331600951abd71bd00c qt-x11-preview-opensource-src-4.4.0-tp1.tar.gz 56029137
+RMD160 dd2dee9afaa9d16bdf5ca2bed82a3b9e2162bdd2 qt-x11-preview-opensource-src-4.4.0-tp1.tar.gz 56029137
+SHA256 1757416bda52c34ade3a49b5896bafe9e3cfe092d3180da32d520f94324c0b88 qt-x11-preview-opensource-src-4.4.0-tp1.tar.gz 56029137
diff --git a/x11-libs/qt-sql/metadata.xml b/x11-libs/qt-sql/metadata.xml
new file mode 100644
index 000000000000..01a5c2875e0d
--- /dev/null
+++ b/x11-libs/qt-sql/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/x11-libs/qt-sql/qt-sql-4.4.0_rc1.ebuild b/x11-libs/qt-sql/qt-sql-4.4.0_rc1.ebuild
new file mode 100644
index 000000000000..87f488ad783e
--- /dev/null
+++ b/x11-libs/qt-sql/qt-sql-4.4.0_rc1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.4.0_rc1.ebuild,v 1.1 2007/12/21 19:04:14 caleb Exp $
+
+inherit qt4-build
+
+SRCTYPE="preview-opensource-src"
+DESCRIPTION="The SQL module for the Qt toolkit."
+HOMEPAGE="http://www.trolltech.com/"
+
+MY_PV=${PV/_rc/-tp}
+
+SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/qt-x11-${SRCTYPE}-${MY_PV}.tar.gz"
+S=${WORKDIR}/qt-x11-${SRCTYPE}-${MY_PV}
+
+LICENSE="|| ( QPL-1.0 GPL-2 )"
+SLOT="4"
+KEYWORDS="~x86"
+
+IUSE="firebird mysql odbc postgres sqlite"
+
+RDEPEND="~x11-libs/qt-core-${PV}
+ mysql? ( virtual/mysql )
+ firebird? ( dev-db/firebird )
+ sqlite? ( =dev-db/sqlite-3* )
+ postgres? ( dev-db/libpq )
+ odbc? ( dev-db/unixODBC )"
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ qt4-build_src_unpack
+
+ skip_qmake_build_patch
+ skip_project_generation_patch
+ install_binaries_to_buildtree
+}
+
+src_compile() {
+ local myconf=$(standard_configure_options)
+
+ use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/$(get_libdir)/mysql" || myconf="${myconf} -no-sql-mysql"
+ use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/pgsql" || myconf="${myconf} -no-sql-psql"
+ use firebird && myconf="${myconf} -plugin-sql-ibase -I/opt/firebird/include" || myconf="${myconf} -no-sql-ibase"
+ use sqlite && myconf="${myconf} -plugin-sql-sqlite -system-sqlite" || myconf="${myconf} -no-sql-sqlite"
+ use odbc && myconf="${myconf} -plugin-sql-odbc" || myconf="${myconf} -no-sql-odbc"
+
+ if built_with_use ~x11-libs/qt-core-${PV} qt3support; then
+ myconf="${myconf} -qt3support"
+ else
+ myconf="${myconf} -no-qt3support"
+ fi
+ myconf="${myconf} -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor \
+ -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-qdbus -iconv -no-cups -no-nis \
+ -no-gif -no-libpng -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon \
+ -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-glib -no-opengl ${myconf}"
+
+ echo ./configure ${myconf}
+ ./configure ${myconf} || die
+
+ build_directories src/sql src/plugins/sqldrivers
+
+}
+
+src_install() {
+
+ install_directories src/sql src/plugins/sqldrivers
+
+ fix_library_files
+}