diff options
author | 2020-08-24 13:07:19 +0200 | |
---|---|---|
committer | 2020-11-30 01:51:52 +0100 | |
commit | a27051e0519c2af54bdf278f17786723d5df962d (patch) | |
tree | 543ffd605ca5856a91fe79ecd79b556c0299b931 /x11-libs | |
parent | x11-libs/qscintilla: Remove IUSE="python,qt4" thusly option to build w/ Qt3 (diff) | |
download | kde-sunset-a27051e0519c2af54bdf278f17786723d5df962d.tar.gz kde-sunset-a27051e0519c2af54bdf278f17786723d5df962d.tar.bz2 kde-sunset-a27051e0519c2af54bdf278f17786723d5df962d.zip |
x11-libs/qscintilla: Drop 2.3.2 and 2.4 (r0)
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/qscintilla/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/qscintilla/qscintilla-2.3.2.ebuild | 138 | ||||
-rw-r--r-- | x11-libs/qscintilla/qscintilla-2.4.ebuild | 92 |
3 files changed, 0 insertions, 231 deletions
diff --git a/x11-libs/qscintilla/Manifest b/x11-libs/qscintilla/Manifest index 613959b4..928abdb9 100644 --- a/x11-libs/qscintilla/Manifest +++ b/x11-libs/qscintilla/Manifest @@ -1,4 +1,3 @@ DIST QScintilla-1.71-gpl-1.7.1.tar.gz 1060119 BLAKE2B 0c89c5e8d1a407a48f1fa45f81e0293219f36e817f188386b2084894e3cdc5f4779d6b982a730000faa029d394afe637abc18d840f7be018837cca9e8fd59fe5 SHA512 2db07d10eb24472584cc69ba3618205aead601b9d9c0c638081be0efca98e792578532b749a5ec41451158ef072d486a6000d863c5f7e65463dd56f9f68f69ef -DIST QScintilla-gpl-2.3.2.tar.gz 2146902 BLAKE2B 657926074efb558c86d5fdf2c4199c9b0925d84096c9093dada0105379dd806c704bd004807bcaa3a89f3e3b6846c92bd35d0aeb402fb1d1e017938e9555eb0c SHA512 6fb9a1bcc196da4da5228dff7eadc08f4f73e080059141bbed617312946350e12b4936a81cdab28a0ff704b0c36a167e16f1317843170f17849c0ee0291bb94a DIST QScintilla-gpl-2.4.tar.gz 2304554 BLAKE2B 6088b43b4059178e48867aa6225e9d1d6a10167370a76915c850e4dafd3ad941b576a40a3d453246aa5b0e0a2a002bad500eb63b13fbb4fac4fe03db3a6e54ee SHA512 8b6bf3e66de159d73c57d24a57a9adfa69e725e2e232e227c279378bbcaa611a188e315a0ac04af92c6a0d6cc73ef8f8810b504c86a526667cd54a55f2629e32 DIST qscintilla-1.62-gpl-1.5.1.tar.gz 727606 BLAKE2B f5a0c7e9359af2ddd3d08ac1b5b8661a514fb9b9c618ac62b6078c3986dab1b9ad75973748b494ed844e77b5ed0e50bfb475eaaf46c7ea11333eb7e5ce0379c4 SHA512 cd9db2fa56e94e71007b095158ad478443003f915e00a38660baab77386e615f24bb1584d057300643619c6c2416e72f498ac6982ffe629bca5b7d8e894e0ba3 diff --git a/x11-libs/qscintilla/qscintilla-2.3.2.ebuild b/x11-libs/qscintilla/qscintilla-2.3.2.ebuild deleted file mode 100644 index 68ddd0d7..00000000 --- a/x11-libs/qscintilla/qscintilla-2.3.2.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.3.2.ebuild,v 1.9 2009/06/01 22:28:49 yngwin Exp $ - -EAPI=2 -inherit eutils toolchain-funcs multilib - -MY_P="${PN/qs/QS}-gpl-${PV}" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class" -HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro" -SRC_URI="http://www.riverbankcomputing.com/static/Downloads/QScintilla2/${MY_P}.tar.gz mirror://kde-sunset/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86" -IUSE="qt4 +python doc examples debug" - -RDEPEND="qt4? ( dev-qt/qtgui:4 ) - !qt4? ( dev-qt/qt-meta:3 )" -DEPEND="${RDEPEND}" -# dev-python/PyQt needs qscintilla to build and qscintilla's python bindings -# need dev-python/PyQt, bug 199543 -PDEPEND="python? ( dev-python/qscintilla-python[qt4=] )" - -src_configure() { - local myqmake myqtdir - if use qt4; then - myqmake=/usr/bin/qmake - myqtdir=Qt4 - else - myqmake="${QTDIR}/bin/qmake" - myqtdir=Qt3 - fi - - cd "${S}/${myqtdir}" - sed -i \ - -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = lib:" \ - -e "s:DESTDIR = \$\$\[QT_INSTALL_LIBS\]:DESTDIR = lib:"\ - qscintilla.pro || die "sed in qscintilla.pro failed" - - cat <<- EOF >> qscintilla.pro - QMAKE_CFLAGS_RELEASE=${CFLAGS} -w - QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w - QMAKE_LFLAGS_RELEASE=${LDFLAGS} - EOF - - ${myqmake} -o Makefile qscintilla.pro - cd "${S}/designer-${myqtdir}" - - if use qt4; then - epatch "${FILESDIR}/${PN}-2.2-qt4.patch" - else - epatch "${FILESDIR}/${PN}-2.2-qt.patch" - - sed -i \ - -e "s:DESTDIR = \$(QTDIR)/plugins/designer:DESTDIR = .:" \ - designer.pro || die "sed in designer.pro failed" - fi - - cat <<- EOF >> designer.pro - QMAKE_CFLAGS_RELEASE=${CFLAGS} -w - QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w - QMAKE_LFLAGS_RELEASE=${LDFLAGS} - EOF - - ${myqmake} -o Makefile designer.pro -} - -src_compile() { - if use qt4; then - cd "${S}"/Qt4 - else - cd "${S}"/Qt3 - fi - make all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "make failed" - - if use qt4; then - cd "${S}"/designer-Qt4 - make DESTDIR="${D}"/usr/lib/qt4/plugins/designer || die "make failed" - dodir /usr/lib/qt4/plugins/designer - else - cd "${S}"/designer-Qt3 - make DESTDIR="${D}"/${QTDIR}/plugins/designer || die "make failed" - dodir ${QTDIR}/plugins/designer - fi - make -} - -src_install() { - dodoc ChangeLog NEWS README* - dodir /usr/{include,$(get_libdir),share/qscintilla/translations} - if use qt4; then - cd "${S}"/Qt4 - else - cd "${S}"/Qt3 - fi - cp -r Qsci "${D}/usr/include" - #cp qextscintilla*.h "${D}/usr/include" - cp qscintilla*.qm "${D}/usr/share/qscintilla/translations" - cp libqscintilla2.a* "${D}/usr/$(get_libdir)" - cp -d libqscintilla2.so.* "${D}/usr/$(get_libdir)" - if use qt4; then - dodir /usr/share/qt4/translations/ - for I in $(ls -1 qscintilla*.qm) ; do - dosym "/usr/share/qscintilla/translations/${I}" "/usr/share/qt4/translations/${I}" - done - else - dodir ${QTDIR}/translations/ - for I in $(ls -1 qscintilla*.qm) ; do - dosym "/usr/share/qscintilla/translations/${I}" "${QTDIR}/translations/${I}" - done - fi - if use doc ; then - dohtml "${S}"/doc/html/* - insinto /usr/share/doc/${PF}/Scintilla - doins "${S}"/doc/Scintilla/* - fi - if use qt4; then - insinto /usr/$(get_libdir)/qt4/plugins/designer - insopts -m0755 - doins "${S}"/designer-Qt4/libqscintillaplugin.so - else - insinto ${QTDIR}/plugins/designer - insopts -m0755 - doins "${S}"/designer-Qt3/libqscintillaplugin.so - fi -} - -pkg_postinst() { - if use qt4; then - ewarn "Please remerge dev-python/PyQt4 if you have problems with eric4" - else - ewarn "Please remerge dev-python/PyQt if you have problems with eric3" - fi - ewarn "or other qscintilla related packages before submitting bug reports." -} diff --git a/x11-libs/qscintilla/qscintilla-2.4.ebuild b/x11-libs/qscintilla/qscintilla-2.4.ebuild deleted file mode 100644 index bc3df479..00000000 --- a/x11-libs/qscintilla/qscintilla-2.4.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.4.ebuild,v 1.6 2009/10/18 14:48:05 armin76 Exp $ - -EAPI="2" - -inherit eutils multilib qt3 qt4-r2 - -MY_P="QScintilla-gpl-${PV/_pre/-snapshot-}" - -DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class" -HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro" -SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/${MY_P}.tar.gz mirror://kde-sunset/${MY_P}.tar.gz" - -LICENSE="|| ( GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ppc ~ppc64 ~sparc x86" -IUSE="doc python +qt4" - -RDEPEND="qt4? ( dev-qt/qtgui:4 ) - !qt4? ( dev-qt/qt-meta:3 )" -DEPEND="${RDEPEND}" -# dev-python/PyQt needs qscintilla to build and qscintilla's python bindings -# need dev-python/PyQt, bug 199543 -PDEPEND="python? ( ~dev-python/qscintilla-python-${PV}[qt4=] )" - -S="${WORKDIR}"/${MY_P} - -PATCHES=( "${FILESDIR}/${PN}-2.4-designer.patch" ) - -src_configure() { - if use qt4; then - myqtver=4 - myqtdir=/usr/share/qt4 - else - myqtver=3 - myqtdir=${QTDIR} - fi - - cd "${S}"/Qt${myqtver} - eqmake${myqtver} qscintilla.pro - - cd "${S}"/designer-Qt${myqtver} - eqmake${myqtver} designer.pro -} - -src_compile() { - cd "${S}"/Qt${myqtver} - emake all staticlib || die "emake failed" - - cd "${S}"/designer-Qt${myqtver} - emake || die "failed to build designer plugin" -} - -src_install() { - cd "${S}"/Qt${myqtver} - # header files - insinto /usr/include/Qsci - doins Qsci/*.h || die - # libraries - dolib.so libqscintilla2.so* || die - dolib.a libqscintilla2.a || die - # translations - insinto /usr/share/${PN}/translations - doins qscintilla_*.qm || die - for trans in $(ls -1 qscintilla_*.qm); do - dosym /usr/share/${PN}/translations/${trans} \ - ${myqtdir}/translations/${trans} || die - done - - # designer plugin - cd "${S}"/designer-Qt${myqtver} - emake INSTALL_ROOT="${D}" install || die "designer plugin installation failed" - - # documentation - cd "${S}" - dodoc ChangeLog NEWS - if use doc; then - dohtml doc/html-Qt${myqtver}/* || die - insinto /usr/share/doc/${PF}/Scintilla - doins doc/Scintilla/* || die - fi -} - -pkg_postinst() { - if use qt4; then - ewarn "Please remerge dev-python/PyQt4 if you have problems with eric or other" - else - ewarn "Please remerge dev-python/PyQt if you have problems with" - fi - ewarn "qscintilla related packages before submitting bug reports." -} |