diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-12-21 18:59:13 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-12-21 18:59:13 +0000 |
commit | 205c219733b38a5737bccb8ce76f6debe9bcbb62 (patch) | |
tree | ef04631530aa209d02377a9431c127232cc2b38a /x11-libs/qt-core | |
parent | sparc stable wrt #201083 (diff) | |
download | historical-205c219733b38a5737bccb8ce76f6debe9bcbb62.tar.gz historical-205c219733b38a5737bccb8ce76f6debe9bcbb62.tar.bz2 historical-205c219733b38a5737bccb8ce76f6debe9bcbb62.zip |
Initial commit
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'x11-libs/qt-core')
-rw-r--r-- | x11-libs/qt-core/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/qt-core/Manifest | 16 | ||||
-rw-r--r-- | x11-libs/qt-core/files/digest-qt-core-4.4.0_rc1 | 3 | ||||
-rw-r--r-- | x11-libs/qt-core/metadata.xml | 5 | ||||
-rw-r--r-- | x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild | 125 |
5 files changed, 159 insertions, 0 deletions
diff --git a/x11-libs/qt-core/ChangeLog b/x11-libs/qt-core/ChangeLog new file mode 100644 index 000000000000..c6ee1227e261 --- /dev/null +++ b/x11-libs/qt-core/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-libs/qt-core +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/ChangeLog,v 1.1 2007/12/21 18:59:13 caleb Exp $ + +*qt-core-4.4.0_rc1 (21 Dec 2007) + + 21 Dec 2007; Caleb Tennis <caleb@gentoo.org> +metadata.xml, + +qt-core-4.4.0_rc1.ebuild: + Initial ebuild + diff --git a/x11-libs/qt-core/Manifest b/x11-libs/qt-core/Manifest new file mode 100644 index 000000000000..2b0a5f30b69f --- /dev/null +++ b/x11-libs/qt-core/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-core-4.4.0_rc1.ebuild 4276 RMD160 4518e2ce283a7789784a882125a3232578c20054 SHA1 c3c9caca627ffc2645fad998ffd05835cce08a5e SHA256 84c57e1808293de5ab4c03369954777ba603a59cf62ddced0e513b14d3c2adba +MD5 6e8f21891d09115192293f852fbe6da3 qt-core-4.4.0_rc1.ebuild 4276 +RMD160 4518e2ce283a7789784a882125a3232578c20054 qt-core-4.4.0_rc1.ebuild 4276 +SHA256 84c57e1808293de5ab4c03369954777ba603a59cf62ddced0e513b14d3c2adba qt-core-4.4.0_rc1.ebuild 4276 +MISC ChangeLog 347 RMD160 0ba45d8cf793fff418d88861a582e2aa6ec5f74c SHA1 8c251a48f738f2b541879b4795ce466d724e483e SHA256 68214470c89333b272a02751412480e807fc15f51ed29deab71cba378b059503 +MD5 deadb8ca02e2a06484c85c7df33e94e2 ChangeLog 347 +RMD160 0ba45d8cf793fff418d88861a582e2aa6ec5f74c ChangeLog 347 +SHA256 68214470c89333b272a02751412480e807fc15f51ed29deab71cba378b059503 ChangeLog 347 +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-core-4.4.0_rc1 325 +RMD160 b82b94eb49ac3711f85f127b3b2d336ebc7e2711 files/digest-qt-core-4.4.0_rc1 325 +SHA256 76d5f09c74420bfa920616103da36e3bab698f3932f4db60db3d499ff34abf0e files/digest-qt-core-4.4.0_rc1 325 diff --git a/x11-libs/qt-core/files/digest-qt-core-4.4.0_rc1 b/x11-libs/qt-core/files/digest-qt-core-4.4.0_rc1 new file mode 100644 index 000000000000..2cd44a5faf48 --- /dev/null +++ b/x11-libs/qt-core/files/digest-qt-core-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-core/metadata.xml b/x11-libs/qt-core/metadata.xml new file mode 100644 index 000000000000..01a5c2875e0d --- /dev/null +++ b/x11-libs/qt-core/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-core/qt-core-4.4.0_rc1.ebuild b/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild new file mode 100644 index 000000000000..9d7ad70f802e --- /dev/null +++ b/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.4.0_rc1.ebuild,v 1.1 2007/12/21 18:59:13 caleb Exp $ + +inherit qt4-build + +SRCTYPE="preview-opensource-src" +DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework." +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="glib qt3support ssl" + +RDEPEND="ssl? ( dev-libs/openssl ) + sys-libs/zlib + glib? ( dev-libs/glib )" # Used in QtNetwork module + +DEPEND="${RDEPEND} + dev-util/pkgconfig + !=x11-libs/qt-4.3* + !=x11-libs/qt-4.2* + !=x11-libs/qt-4.1* + !=x11-libs/qt-4.0*" + +src_unpack() { + qt4-build_src_unpack +} + +src_compile() { + local myconf=$(standard_configure_options) + + use ssl && myconf="${myconf} -openssl" || myconf="${myconf} -no-openssl" + use glib && myconf="${myconf} -glib" || myconf="${myconf} -no-glib" + use qt3support && myconf="${myconf} -qt3support" || myconf="${myconf} -no-qt3support" + + 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/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml src/network +} + +src_install() { + dobin "${S}"/bin/qmake + dobin "${S}"/bin/moc + dobin "${S}"/bin/rcc + dobin "${S}"/bin/uic + + install_directories src/corelib src/xml src/network + + # TODO: don't override qconfig.pri when a new fresh set of options if there are some already installed on the system + cd "${S}" && emake INSTALL_ROOT="${D}" install_mkspecs || die + + fix_library_files + + # List all the multilib libdirs + local libdirs + for libdir in $(get_all_libdirs); do + libdirs="${libdirs}:/usr/${libdir}/qt4" + done + + cat > "${T}/44qt4" << EOF +LDPATH=${libdirs:1} +EOF + + doenvd "${T}/44qt4" +} + +pkg_setup() { + qt4-build_pkg_setup + + if has_version x11-libs/qt-core; then + if use glib && ! built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then + ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package." + ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change." + elif ! use glib && built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then + ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package." + ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change." + fi + + if use qt3support && ! built_with_use x11-libs/qt-core qt3support; then + local need_to_remove=""; + ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package." + if has_version x11-libs/qt-sql; then + need_to_remove="${need_to_remove} x11-libs/qt-sql" + fi + if has_version x11-libs/qt-opengl; then + need_to_remove="${need_to_remove} x11-libs/qt-opengl" + fi + if has_version x11-libs/qt-gui; then + need_to_remove="${need_to_remove} x11-libs/qt-gui" + fi + if [ -n "${need_to_remove}" ]; then + die "You must first unmerge these packages before continuing: ${need_to_remove}" + fi + elif ! use qt3support && built_with_use x11-libs/qt-core qt3support; then + local need_to_remove=""; + ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package." + if has_version x11-libs/qt-sql; then + need_to_remove="${need_to_remove} x11-libs/qt-sql" + fi + if has_version x11-libs/qt-opengl; then + need_to_remove="${need_to_remove} x11-libs/qt-opengl" + fi + if has_version x11-libs/qt-gui; then + need_to_remove="${need_to_remove} x11-libs/qt-gui" + fi + if [ -n "${need_to_remove}" ]; then + die "You must first unmerge these packages before continuing: ${need_to_remove}" + fi + fi + fi +}
\ No newline at end of file |