summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-24 13:05:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-30 01:51:52 +0100
commit551d21a0429a481a62ed439f5adec94aa9fca84c (patch)
treeba510c0e8613dfda85ae3b0d3435cb51b8d42e0f
parentdev-python/PyQt: Remove package, no more reverse dependencies (diff)
downloadkde-sunset-551d21a0429a481a62ed439f5adec94aa9fca84c.tar.gz
kde-sunset-551d21a0429a481a62ed439f5adec94aa9fca84c.tar.bz2
kde-sunset-551d21a0429a481a62ed439f5adec94aa9fca84c.zip
x11-libs/qscintilla: Remove IUSE="python,qt4" thusly option to build w/ Qt3
No more revdeps and easier (non-)maintenance without python. Drop to ~ppc as well for unkeyworded dependencies. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--x11-libs/qscintilla/Manifest8
-rw-r--r--x11-libs/qscintilla/qscintilla-2.4-r1.ebuild75
2 files changed, 79 insertions, 4 deletions
diff --git a/x11-libs/qscintilla/Manifest b/x11-libs/qscintilla/Manifest
index 2d469920..613959b4 100644
--- a/x11-libs/qscintilla/Manifest
+++ b/x11-libs/qscintilla/Manifest
@@ -1,4 +1,4 @@
-DIST QScintilla-1.71-gpl-1.7.1.tar.gz 1060119 SHA256 437e5fc6e5905f9aa7d0f4ea8eb41c96fcddf7ce3cb9b786066a315c5b9ff70c
-DIST QScintilla-gpl-2.3.2.tar.gz 2146902 SHA256 01318dd7745cf8d756683a60acf0f17f6c5c63edec0818f90c1c432d1bc27749
-DIST QScintilla-gpl-2.4.tar.gz 2304554 SHA256 0497fef84763c6d8cbce570401f7ca38e439a76ee358e3050f8dada85adfb213
-DIST qscintilla-1.62-gpl-1.5.1.tar.gz 727606 SHA256 5dfc860a8d91c15775ae03f40a57f0c26f51f90b8266236e457cb8cbb3f6e30e
+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.4-r1.ebuild b/x11-libs/qscintilla/qscintilla-2.4-r1.ebuild
new file mode 100644
index 00000000..02ff0987
--- /dev/null
+++ b/x11-libs/qscintilla/qscintilla-2.4-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+MY_P="QScintilla-gpl-${PV/_pre/-snapshot-}"
+inherit eutils multilib qt4-r2
+
+DESCRIPTION="Qt port of Neil Hodgson's Scintilla C++ editor class"
+HOMEPAGE="https://riverbankcomputing.com/software/qscintilla/intro"
+SRC_URI="https://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"
+
+RDEPEND="dev-qt/qtgui:4"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}/${PN}-2.4-designer.patch" )
+
+src_configure() {
+ cd "${S}"/Qt4
+ eqmake4 qscintilla.pro
+
+ cd "${S}"/designer-Qt4
+ eqmake4 designer.pro
+}
+
+src_compile() {
+ cd "${S}"/Qt4
+ emake all staticlib || die "emake failed"
+
+ cd "${S}"/designer-Qt4
+ emake || die "failed to build designer plugin"
+}
+
+src_install() {
+ cd "${S}"/Qt4
+ # 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} \
+ /usr/share/qt4/translations/${trans} || die
+ done
+
+ # designer plugin
+ cd "${S}"/designer-Qt4
+ emake INSTALL_ROOT="${D}" install || die "designer plugin installation failed"
+
+ # documentation
+ cd "${S}"
+ dodoc ChangeLog NEWS
+ if use doc; then
+ dohtml doc/html-Qt4/* || die
+ insinto /usr/share/doc/${PF}/Scintilla
+ doins doc/Scintilla/* || die
+ fi
+}
+
+pkg_postinst() {
+ ewarn "Please remerge dev-python/PyQt4 if you have problems with eric or other"
+ ewarn "qscintilla related packages before submitting bug reports."
+}