diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-11-04 17:44:32 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-11-04 17:44:32 +0000 |
commit | 77771de8da2ea8474904c77cc28c67c17ab5f594 (patch) | |
tree | a6a6a778948b434572875bfa4b752149b95195f7 | |
parent | amd64/x86 stable, bug #280183 (diff) | |
download | gentoo-2-77771de8da2ea8474904c77cc28c67c17ab5f594.tar.gz gentoo-2-77771de8da2ea8474904c77cc28c67c17ab5f594.tar.bz2 gentoo-2-77771de8da2ea8474904c77cc28c67c17ab5f594.zip |
Temporarily restoring 1.5.1 for stable dev-db/tora-1 users.
(Portage version: 2.2_rc48/cvs/Linux x86_64, RepoMan options: --force)
-rw-r--r-- | x11-libs/qscintilla/ChangeLog | 5 | ||||
-rw-r--r-- | x11-libs/qscintilla/qscintilla-1.5.1.ebuild | 61 |
2 files changed, 65 insertions, 1 deletions
diff --git a/x11-libs/qscintilla/ChangeLog b/x11-libs/qscintilla/ChangeLog index 49746b1baf86..6c08c943eb21 100644 --- a/x11-libs/qscintilla/ChangeLog +++ b/x11-libs/qscintilla/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/qscintilla # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.33 2009/11/04 14:01:59 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.34 2009/11/04 17:44:32 yngwin Exp $ + + 04 Nov 2009; Ben de Groot <yngwin@gentoo.org> +qscintilla-1.5.1.ebuild: + Temporarily restoring 1.5.1 for stable dev-db/tora-1 users. 04 Nov 2009; Ben de Groot <yngwin@gentoo.org> -qscintilla-1.5.1.ebuild, -qscintilla-1.7.1.ebuild, -qscintilla-2.1-r1.ebuild, diff --git a/x11-libs/qscintilla/qscintilla-1.5.1.ebuild b/x11-libs/qscintilla/qscintilla-1.5.1.ebuild new file mode 100644 index 000000000000..e770f9e18306 --- /dev/null +++ b/x11-libs/qscintilla/qscintilla-1.5.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-1.5.1.ebuild,v 1.4 2009/11/04 17:44:32 yngwin Exp $ + +inherit eutils toolchain-funcs + +SCINTILLA_VER="1.62" +MY_P="${PN}-${SCINTILLA_VER}-gpl-${PV}" +MY_P=${MY_P/_pre/snapshot-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class." +HOMEPAGE="http://www.riverbankcomputing.co.uk/qscintilla/" +#SRC_URI="http://www.river-bank.demon.co.uk/download/snapshots/QScintilla/${MY_P}.tar.gz" +#SRC_URI="http://www.river-bank.demon.co.uk/download/QScintilla/${MY_P}.tar.gz" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="doc" + +RDEPEND="=x11-libs/qt-3*" +DEPEND="${RDEPEND} + sys-apps/sed" + +LIBDIR="/usr/$(get_libdir)" + +src_unpack() { + unpack ${A} ; cd "${S}"/qt + sed -i -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = \${destdir}:" qscintilla.pro + echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> qscintilla.pro + + ${QTDIR}/bin/qmake -o Makefile qscintilla.pro + epatch "${FILESDIR}"/${PN}-1.5-sandbox.patch +} + +src_compile() { + cd "${S}"/qt + # It uses g++'s syntax while linking (-Wl,) so it can't use tc-getLD. + make destdir=${LIBDIR} all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "make failed" +} + +src_install() { + dodoc ChangeLog NEWS README + dodir /usr/include ${LIBDIR} /usr/share/qscintilla/translations + cd "${S}"/qt + cp qextscintilla*.h "${D}/usr/include" + cp qscintilla*.qm "${D}/usr/share/qscintilla/translations" + cp libqscintilla.a* "${D}${LIBDIR}" + cp -d libqscintilla.so.* "${D}${LIBDIR}" + dodir ${QTDIR}/translations/ + for I in $(ls -1 qscintilla*.qm) ; do + dosym "/usr/share/qscintilla/translations/${I}" "${QTDIR}/translations/${I}" + done + if use doc ; then + dohtml "${S}"/doc/html/* + insinto /usr/share/doc/${PF}/Scintilla + doins "${S}"/doc/Scintilla/* + fi +} |