summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-11-05 17:09:09 +0000
committerBen de Groot <yngwin@gentoo.org>2009-11-05 17:09:09 +0000
commit20c6f501ab48a9d031215f734be7031cf403003c (patch)
tree72eae465b0032bc6e9f18ad1e283c89b5a23fe7c /x11-libs/qscintilla
parentStabilize for everyone. (diff)
downloadgentoo-2-20c6f501ab48a9d031215f734be7031cf403003c.tar.gz
gentoo-2-20c6f501ab48a9d031215f734be7031cf403003c.tar.bz2
gentoo-2-20c6f501ab48a9d031215f734be7031cf403003c.zip
 Restore 1.7.1 for hppa
(Portage version: 2.2_rc48/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'x11-libs/qscintilla')
-rw-r--r--x11-libs/qscintilla/ChangeLog5
-rw-r--r--x11-libs/qscintilla/qscintilla-1.7.1.ebuild71
2 files changed, 75 insertions, 1 deletions
diff --git a/x11-libs/qscintilla/ChangeLog b/x11-libs/qscintilla/ChangeLog
index 6c08c943eb21..cdf4c010bdfc 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.34 2009/11/04 17:44:32 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.35 2009/11/05 17:09:09 yngwin Exp $
+
+ 05 Nov 2009; Ben de Groot <yngwin@gentoo.org> +qscintilla-1.7.1.ebuild:
+ Also restoring 1.7.1 for hppa.
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.
diff --git a/x11-libs/qscintilla/qscintilla-1.7.1.ebuild b/x11-libs/qscintilla/qscintilla-1.7.1.ebuild
new file mode 100644
index 000000000000..4ed12507a48b
--- /dev/null
+++ b/x11-libs/qscintilla/qscintilla-1.7.1.ebuild
@@ -0,0 +1,71 @@
+# 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.7.1.ebuild,v 1.4 2009/11/05 17:09:09 yngwin Exp $
+
+EAPI=1
+
+inherit eutils toolchain-funcs qt3
+
+SCINTILLA_VER="1.71"
+MY_P="${PN/qs/QS}-${SCINTILLA_VER}-gpl-${PV}"
+MY_P=${MY_P/_pre/snapshot-}
+
+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.riverbankcomputing.com/Downloads/QScintilla1/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha ~amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND="x11-libs/qt:3"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/qt"
+ sed -i -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = lib:" 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 || die "qmake qscintilla failed"
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.patch"
+
+ cd "${S}/designer"
+ echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> designer.pro
+ ${QTDIR}/bin/qmake -o Makefile designer.pro || die "qmake designer failed"
+}
+
+src_compile() {
+ cd "${S}/qt"
+ emake all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "emake failed"
+ cd "${S}/designer"
+ dodir ${QTDIR}/plugins/designer
+ emake || die "emake designer failed"
+}
+
+src_install() {
+ dodoc ChangeLog NEWS README*
+ dodir /usr/{include,$(get_libdir),share/qscintilla/translations}
+ cd "${S}"/qt
+ cp qextscintilla*.h "${D}/usr/include"
+ cp qscintilla*.qm "${D}/usr/share/qscintilla/translations"
+ cp lib/libqscintilla.a* "${D}/usr/$(get_libdir)"
+ cp -R lib/libqscintilla.so.* "${D}/usr/$(get_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
+ insinto ${QTDIR}/plugins/designer
+ insopts -m0755
+ doins "${S}"/designer/libqscintillaplugin.so
+}