From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/qtscriptgenerator/
Date: Sun, 4 Jun 2017 11:47:14 +0000 (UTC) [thread overview]
Message-ID: <1496576820.38eeeb04df26f447022d2b08ed2647a973bbdaf3.asturm@gentoo> (raw)
commit: 38eeeb04df26f447022d2b08ed2647a973bbdaf3
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 4 11:28:52 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 4 11:47:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38eeeb04
x11-libs/qtscriptgenerator: Disable webkit bindings, bump to EAPI 6
Gentoo-bug: 620760
Package-Manager: Portage-2.3.5, Repoman-2.3.1
.../qtscriptgenerator-0.2.0-r1.ebuild | 70 ++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0-r1.ebuild b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0-r1.ebuild
new file mode 100644
index 00000000000..01b93997082
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+MY_P=${PN}-src-${PV}
+
+DESCRIPTION="Tool for generating Qt bindings for Qt Script"
+HOMEPAGE="https://code.google.com/p/qtscriptgenerator/"
+SRC_URI="https://dev.gentoo.org/~johu/distfiles/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="debug kde"
+
+DEPEND="
+ dev-qt/designer:4
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4[accessibility]
+ dev-qt/qtopengl:4
+ dev-qt/qtscript:4
+ dev-qt/qtsql:4
+ dev-qt/qtsvg:4[accessibility]
+ dev-qt/qtxmlpatterns:4
+ !kde? ( || (
+ dev-qt/qtphonon:4
+ media-libs/phonon[qt4]
+ ) )
+ kde? ( media-libs/phonon[qt4] )
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+
+ # remove phonon
+ sed -i "/typesystem_phonon.xml/d" generator/generator.qrc || die "sed failed"
+ sed -i "/qtscript_phonon/d" qtbindings/qtbindings.pro || die "sed failed"
+ sed -i "/qtscript_webkit/d" qtbindings/qtbindings.pro || die "sed failed"
+
+ use arm && eapply "${FILESDIR}"/${P}-arm.patch
+}
+
+src_configure() {
+ cd "${S}"/generator || die
+ eqmake4 generator.pro
+
+ cd "${S}"/qtbindings || die
+ eqmake4 qtbindings.pro
+}
+
+src_compile() {
+ cd "${S}"/generator || die
+ emake
+ ./generator --include-paths="$(qt4_get_headerdir)" || die
+
+ cd "${S}"/qtbindings || die
+ emake
+}
+
+src_install() {
+ insinto "$(qt4_get_libdir)"/plugins/script
+ insopts -m0755
+ doins "${S}"/plugins/script/*
+}
next reply other threads:[~2017-06-04 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 11:47 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-30 14:05 [gentoo-commits] repo/gentoo:master commit in: x11-libs/qtscriptgenerator/ Michael Palimaka
2017-07-01 10:51 Michael Palimaka
2017-06-30 11:10 Agostino Sarubbo
2016-12-07 20:24 Johannes Huber
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=1496576820.38eeeb04df26f447022d2b08ed2647a973bbdaf3.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