diff options
author | Dror Levin <spatz@gentoo.org> | 2010-02-15 15:08:26 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2010-02-15 15:08:26 +0000 |
commit | cf1a64e9af26e7b830a11f500c8d92a4cf62ad71 (patch) | |
tree | 54ec649f3dafec13f35adca9dcb6767fec2ffb04 /x11-libs | |
parent | Version bump. (diff) | |
download | gentoo-2-cf1a64e9af26e7b830a11f500c8d92a4cf62ad71.tar.gz gentoo-2-cf1a64e9af26e7b830a11f500c8d92a4cf62ad71.tar.bz2 gentoo-2-cf1a64e9af26e7b830a11f500c8d92a4cf62ad71.zip |
Version bump.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/qt-assistant/ChangeLog | 7 | ||||
-rw-r--r-- | x11-libs/qt-assistant/qt-assistant-4.6.2.ebuild | 73 |
2 files changed, 79 insertions, 1 deletions
diff --git a/x11-libs/qt-assistant/ChangeLog b/x11-libs/qt-assistant/ChangeLog index c228a5fbe395..868b9f74aec0 100644 --- a/x11-libs/qt-assistant/ChangeLog +++ b/x11-libs/qt-assistant/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/qt-assistant # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.69 2010/02/09 21:03:45 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.70 2010/02/15 15:08:26 spatz Exp $ + +*qt-assistant-4.6.2 (15 Feb 2010) + + 15 Feb 2010; Dror Levin <spatz@gentoo.org> +qt-assistant-4.6.2.ebuild: + Version bump. 09 Feb 2010; Dror Levin <spatz@gentoo.org> -qt-assistant-4.6.0-r1.ebuild: Remove old. diff --git a/x11-libs/qt-assistant/qt-assistant-4.6.2.ebuild b/x11-libs/qt-assistant/qt-assistant-4.6.2.ebuild new file mode 100644 index 000000000000..6e76d6f86b0f --- /dev/null +++ b/x11-libs/qt-assistant/qt-assistant-4.6.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.6.2.ebuild,v 1.1 2010/02/15 15:08:26 spatz Exp $ + +EAPI="2" +inherit qt4-build + +DESCRIPTION="The assistant help module for the Qt toolkit" +SLOT="4" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="~x11-libs/qt-gui-${PV}[aqua=] + ~x11-libs/qt-sql-${PV}[aqua=,sqlite] + ~x11-libs/qt-webkit-${PV}[aqua=]" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-4.6.1-tools.patch" ) + +# Pixeltool isn't really assistant related, but it relies on +# the assistant libraries. doc/qch/ +QT4_TARGET_DIRECTORIES=" +tools/assistant +tools/pixeltool +tools/qdoc3" +QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} +tools/ +demos/ +examples/ +src/ +include/ +doc/" +src_configure() { + myconf="${myconf} -no-xkb -no-fontconfig -no-xrender -no-xrandr + -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl + -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng + -no-libmng -no-libjpeg -no-openssl -system-zlib -no-phonon + -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility + -no-fontconfig -no-glib -no-multimedia -no-qt3support -no-svg" + qt4-build_src_configure +} + +src_compile() { + # help libQtHelp find freshly built libQtCLucene (bug #289811) + export LD_LIBRARY_PATH="${S}/lib" + export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework" + qt4-build_src_compile + # ugly hack to build docs + cd "${S}" + qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die "qmake projects faied" + emake qch_docs || die "emake docs failed" +} + +src_install() { + qt4-build_src_install + # install documentation + # note that emake install_qchdocs fails for undefined reason so we use a + # workaround + cd "${S}" + insinto ${QTDOCDIR#${EPREFIX}} + doins -r "${S}"/doc/qch || die "doins qch documentation failed" + dobin "${S}"/bin/qdoc3 || die "Installing qdoc3 failed" + #emake INSTALL_ROOT="${D}" install_qchdocs || die "emake install_qchdocs failed" + # install correct assistant icon, bug 241208 + dodir /usr/share/pixmaps/ || die "dodir failed" + insinto /usr/share/pixmaps/ || die "insinto failed" + doins tools/assistant/tools/assistant/images/assistant.png \ + || die "doins failed" + # Note: absolute image path required here! + make_desktop_entry /usr/bin/assistant Assistant \ + /usr/share/pixmaps/assistant.png 'Qt;Development;GUIDesigner' \ + || die "make_desktop_entry failed" +} |