diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-02-01 13:00:04 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-02-01 13:00:04 +0000 |
commit | d8c0574fc1239585bac2ddb0af97f03001755bbd (patch) | |
tree | 6e7468a4557a2ac225fc4d154893402fb0f4d871 /x11-libs/qt-embedded | |
parent | fix glib dep (diff) | |
download | historical-d8c0574fc1239585bac2ddb0af97f03001755bbd.tar.gz historical-d8c0574fc1239585bac2ddb0af97f03001755bbd.tar.bz2 historical-d8c0574fc1239585bac2ddb0af97f03001755bbd.zip |
bump to latest version
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'x11-libs/qt-embedded')
-rw-r--r-- | x11-libs/qt-embedded/ChangeLog | 9 | ||||
-rw-r--r-- | x11-libs/qt-embedded/Manifest | 16 | ||||
-rw-r--r-- | x11-libs/qt-embedded/files/digest-qt-embedded-3.3.7 | 3 | ||||
-rw-r--r-- | x11-libs/qt-embedded/qt-embedded-3.3.7.ebuild | 146 |
4 files changed, 168 insertions, 6 deletions
diff --git a/x11-libs/qt-embedded/ChangeLog b/x11-libs/qt-embedded/ChangeLog index 94cd9985b22a..e8a619bdbd05 100644 --- a/x11-libs/qt-embedded/ChangeLog +++ b/x11-libs/qt-embedded/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/qt-embedded -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-embedded/ChangeLog,v 1.20 2006/11/23 20:11:01 vivo Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-embedded/ChangeLog,v 1.21 2007/02/01 13:00:04 caleb Exp $ + +*qt-embedded-3.3.7 (31 Jan 2007) + + 31 Jan 2007; Caleb Tennis <caleb@gentoo.org> +qt-embedded-3.3.7.ebuild: + bump to latest version 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> qt-embedded-3.3.4.ebuild, qt-embedded-3.3.4-r1.ebuild: diff --git a/x11-libs/qt-embedded/Manifest b/x11-libs/qt-embedded/Manifest index b4a2919bb836..e16f31b9768c 100644 --- a/x11-libs/qt-embedded/Manifest +++ b/x11-libs/qt-embedded/Manifest @@ -1,4 +1,5 @@ DIST qt-embedded-free-3.3.4.tar.bz2 19714149 RMD160 42f676afd52ee5df6fe2246bec6063e2f1755d90 SHA1 c931725bd90393dce2548d65cc8f6e764bdcf517 SHA256 db2821e7cc0bd8545b24b84a589c68f819ff375cb6295e14d918b523c6fbd537 +DIST qt-embedded-free-3.3.7.tar.bz2 20107009 RMD160 77ffb9c296e7e3bb9638c4cec4a182debabd7b87 SHA1 3241e871d5bf0853b1f5994e38ef4dc1817512fb SHA256 820f6e75c26f911c3c336458568931331aaeac50666fd503a9ae1a3526c36d01 EBUILD qt-embedded-3.3.4-r1.ebuild 4751 RMD160 94064707b1ae59b63194f27a58099226fbdb8cce SHA1 565811db6ba4c859f5aff8c412acb2a22b5aada2 SHA256 381cacb3e2ab3a86ec48cd984505b1db037f8c0f2b9ca27363a3f645170c9ce4 MD5 0ae3c69e220c1888c72e032b03466fe8 qt-embedded-3.3.4-r1.ebuild 4751 RMD160 94064707b1ae59b63194f27a58099226fbdb8cce qt-embedded-3.3.4-r1.ebuild 4751 @@ -7,10 +8,14 @@ EBUILD qt-embedded-3.3.4.ebuild 4805 RMD160 b1a961fb641bc018c5db565320d5ed473b0e MD5 43d06c834f5ef20e0fb1493b2b36828e qt-embedded-3.3.4.ebuild 4805 RMD160 b1a961fb641bc018c5db565320d5ed473b0e1d09 qt-embedded-3.3.4.ebuild 4805 SHA256 25eb25a3551dd82b7ee0975df8cf6b1fe253745145b956f050e9efcf2bde44e8 qt-embedded-3.3.4.ebuild 4805 -MISC ChangeLog 3532 RMD160 5d6a4e48fc5fc1062b95cb0694a48411e35e4149 SHA1 3fecc838d43126a510bf1aae5316cdf6a830dd47 SHA256 28c85aebba73f6175b20a393a2c8b5c19f753875548483cb68bc0e50c38aa554 -MD5 84fa0bfe215f59f522a352d58812164c ChangeLog 3532 -RMD160 5d6a4e48fc5fc1062b95cb0694a48411e35e4149 ChangeLog 3532 -SHA256 28c85aebba73f6175b20a393a2c8b5c19f753875548483cb68bc0e50c38aa554 ChangeLog 3532 +EBUILD qt-embedded-3.3.7.ebuild 4751 RMD160 e72a18579ac48f8cb69815e2199a1f5066d4ed4f SHA1 1ced7c93156142d58c9d0fa3e51b6fb98c0233aa SHA256 946d06cb5dca317c1cf673c4d933022151e06eea9bf3785c8890a5d2c36410bd +MD5 299ac4b11ab6160dc4b34c128031bff1 qt-embedded-3.3.7.ebuild 4751 +RMD160 e72a18579ac48f8cb69815e2199a1f5066d4ed4f qt-embedded-3.3.7.ebuild 4751 +SHA256 946d06cb5dca317c1cf673c4d933022151e06eea9bf3785c8890a5d2c36410bd qt-embedded-3.3.7.ebuild 4751 +MISC ChangeLog 3667 RMD160 22178b9b63308eda0bbf953a1cfdff7799a4c606 SHA1 261306099462389bd37cabda82b2c2879b04eee8 SHA256 56279a8fe06c8b1c2a5b75ec04f180c45bb834790c5a5bfa17c33b6512d93632 +MD5 eac00ba6a706124c6a3c937faeb13c31 ChangeLog 3667 +RMD160 22178b9b63308eda0bbf953a1cfdff7799a4c606 ChangeLog 3667 +SHA256 56279a8fe06c8b1c2a5b75ec04f180c45bb834790c5a5bfa17c33b6512d93632 ChangeLog 3667 MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448 MD5 512150b47a904b0240101e319856aab1 metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc metadata.xml 156 @@ -21,3 +26,6 @@ SHA256 db15bf42c1a622ceac86f91f89e85ea35d8ac18dd25ceb8163e48a562c5016d2 files/di MD5 a0609a5f36966bae201531ca7d07360c files/digest-qt-embedded-3.3.4-r1 277 RMD160 2202716dff85a45559846555e91f563ff99da82d files/digest-qt-embedded-3.3.4-r1 277 SHA256 db15bf42c1a622ceac86f91f89e85ea35d8ac18dd25ceb8163e48a562c5016d2 files/digest-qt-embedded-3.3.4-r1 277 +MD5 b678669a64d5b39e842c01fd7c188878 files/digest-qt-embedded-3.3.7 277 +RMD160 57f1db7250a1726f9d9422fbfbca669825c66da3 files/digest-qt-embedded-3.3.7 277 +SHA256 88d4b6f576e357c700cf74e6b41bb7c48ef4a9f9ff263884922ca4fa6b0d1416 files/digest-qt-embedded-3.3.7 277 diff --git a/x11-libs/qt-embedded/files/digest-qt-embedded-3.3.7 b/x11-libs/qt-embedded/files/digest-qt-embedded-3.3.7 new file mode 100644 index 000000000000..339c14639eb8 --- /dev/null +++ b/x11-libs/qt-embedded/files/digest-qt-embedded-3.3.7 @@ -0,0 +1,3 @@ +MD5 defcd404e597db4cdaa2954c5a3a36c3 qt-embedded-free-3.3.7.tar.bz2 20107009 +RMD160 77ffb9c296e7e3bb9638c4cec4a182debabd7b87 qt-embedded-free-3.3.7.tar.bz2 20107009 +SHA256 820f6e75c26f911c3c336458568931331aaeac50666fd503a9ae1a3526c36d01 qt-embedded-free-3.3.7.tar.bz2 20107009 diff --git a/x11-libs/qt-embedded/qt-embedded-3.3.7.ebuild b/x11-libs/qt-embedded/qt-embedded-3.3.7.ebuild new file mode 100644 index 000000000000..d06bec493bb7 --- /dev/null +++ b/x11-libs/qt-embedded/qt-embedded-3.3.7.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-embedded/qt-embedded-3.3.7.ebuild,v 1.1 2007/02/01 13:00:04 caleb Exp $ + +DESCRIPTION="Embedded Linux port of Qt" +HOMEPAGE="http://www.trolltech.com/products/embedded/" +SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-embedded-free-${PV}.tar.bz2" +LICENSE="|| ( QPL-1.0 GPL-2 )" + +SLOT="3" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="cups debug doc firebird gif ipv6 mysql nis odbc opengl postgres sqlite" + +DEPEND="media-libs/libpng + media-libs/jpeg + media-libs/libmng + media-libs/lcms + sys-libs/zlib + cups? ( net-print/cups ) + firebird? ( dev-db/firebird ) + mysql? ( virtual/mysql ) + opengl? ( virtual/opengl virtual/glu ) + postgres? ( dev-db/postgresql )" +PDEPEND="odbc? ( ~dev-db/qt-unixODBC-3.3.6 )" + +S=${WORKDIR}/qt-embedded-free-${PV} + +QTBASE=/usr/qt/3-embedded + +pkg_setup() { + ewarn "Note: this ebuild provides a Qt/Embedded setup that is suitable for testing," + ewarn "but definitely not tailored for real embedded systems." + ewarn "I advise you select your own featureset (e.g. by editing this ebuild)" + ewarn "if building for such a system." + + export QTDIR=${S} + + # values for 'PLATFORM' (host system) can be found in mkspecs/ + # values for 'XPLATFORM' (target system) can be found in mkspecs/qws/ + if use x86; then + export PLATFORM="linux-g++" + export XPLATFORM="qws/linux-x86-g++" + elif use amd64; then + export PLATFORM="linux-g++-64" + export XPLATFORM="qws/linux-x86-g++" + elif use ppc; then + export PLATFORM="linux-g++" + export XPLATFORM="qws/linux-generic-g++" + else + die "Unknown platform" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i -e 's:read acceptance:acceptance=yes:' configure + + # avoid using -rpath + find mkspecs/ -name qmake.conf -exec sed -i -e "s:QMAKE_RPATH.*:QMAKE_RPATH =:" {} \; +} + +src_compile() { + addwrite "${QTBASE}/etc/settings" + + use gif && myconf="${myconf} -qt-gif" || myconf="${myconf} -no-gif" + use cups && myconf="${myconf} -cups" || myconf="${myconf} -no-cups" + use nis && myconf="${myconf} -nis" || myconf="${myconf} -no-nis" + use ipv6 && myconf="${myconf} -ipv6" || myconf="${myconf} -no-ipv6" + use opengl || myconf="${myconf} -disable-opengl" + use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql" || myconf="${myconf} -no-sql-mysql" + use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server" || myconf="${myconf} -no-sql-psql" + use firebird && myconf="${myconf} -plugin-sql-ibase" || myconf="${myconf} -no-sql-ibase" + use sqlite && myconf="${myconf} -plugin-sql-sqlite" || myconf="${myconf} -no-sql-sqlite" + use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions" + + ./configure ${myconf} -shared -depths 8,16,24,32 -system-zlib -thread -stl \ + -freetype -qvfb -plugin-imgfmt-{jpeg,mng,png} -system-lib{jpeg,mng,png} \ + -prefix ${QTBASE} -platform ${PLATFORM} -xplatform ${XPLATFORM} \ + -embedded -no-sql-odbc || die + + export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" + + cd ${S} && emake symlinks src-qmake src-moc sub-src || die "make failed" + + # the designer is not compiled when using -embedded, but we need the uic + cd ${S}/tools/designer/uic && emake || die "making uic failed" + + cd ${S} && emake sub-tools || die "making tools failed" + + if use doc; then + cd ${S} && emake sub-tutorial sub-examples || die "making examples failed" + fi +} + +src_install() { + INSTALL_ROOT=${D} emake install + + # fix .prl files + find ${D}/${QTBASE}/lib* -name "*.prl" -exec sed -i -e "s:${S}:${QTBASE}:g" {} \; + + # remove broken link + rm -f ${D}/${QTBASE}/mkspecs/${PLATFORM}/${PLATFORM} + + # fonts + insinto ${QTBASE}/lib/fonts + doins ${S}/lib/fonts/* + + # environment variables + cat <<EOF > ${T}/47qt-embedded3 +PATH=${QTBASE}/bin +ROOTPATH=${QTBASE}/bin +LDPATH=${QTBASE}/lib +EOF + insinto /etc/env.d + doins ${T}/47qt-embedded3 + + # qmake cache file + sed -i -e "s:${S}:${QTBASE}:" .qmake.cache + insinto ${QTBASE} + doins .qmake.cache + + # documentation + if use doc; then + find examples tutorial -name Makefile -exec sed -i -e "s:${S}:${QTBASE}:g" {} \; + + cp -r ${S}/tutorial ${D}/${QTBASE} + cp -r ${S}/examples ${D}/${QTBASE} + fi + + # default target link (overriden by QMAKESPEC env var) + rm -f "${D}/${QTBASE}/mkspecs/default" + ln -s "${XPLATFORM}" "${D}/${QTBASE}/mkspecs/default" +} + +pkg_postinst() { + echo + einfo "If you want to compile and run a test application using" + einfo "QT/Embedded instead of standard Qt, you must properly" + einfo "set the QTDIR and QMAKESPEC variables, e.g.:" + einfo + einfo " export QTDIR=${QTBASE}" + einfo " export QMAKESPEC=${QTBASE}/mkspecs/${XPLATFORM}" + echo +} |