public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde-sunset:master commit in: x11-libs/qscintilla/
Date: Mon, 30 Nov 2020 00:52:17 +0000 (UTC)	[thread overview]
Message-ID: <1606697512.551d21a0429a481a62ed439f5adec94aa9fca84c.asturm@gentoo> (raw)

commit:     551d21a0429a481a62ed439f5adec94aa9fca84c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 11:05:41 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 00:51:52 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=551d21a0

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 <AT> gentoo.org>

 x11-libs/qscintilla/qscintilla-2.4-r1.ebuild | 75 ++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

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."
+}


             reply	other threads:[~2020-11-30  0:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  0:52 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-07 18:19 [gentoo-commits] proj/kde-sunset:master commit in: x11-libs/qscintilla/ Andreas Sturmlechner
2020-11-30  0:52 Andreas Sturmlechner
2011-02-27 22:21 Roman v. Gemmeren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1606697512.551d21a0429a481a62ed439f5adec94aa9fca84c.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox