aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:15:28 +0100
committerAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:15:28 +0100
commite85288189fd799bc05b6af9a72a4c9ee5b31da6f (patch)
treed8b7dc6f54fb7b3f98197bd90ab26ce7409b8959 /x11-libs
parentkde-apps/kdebase-kioslaves: copy from portage to keep until Plasma-5 version ... (diff)
downloadAstroFloyd-e85288189fd799bc05b6af9a72a4c9ee5b31da6f.tar.gz
AstroFloyd-e85288189fd799bc05b6af9a72a4c9ee5b31da6f.tar.bz2
AstroFloyd-e85288189fd799bc05b6af9a72a4c9ee5b31da6f.zip
x11-libs/qtscriptgenerator: copy from portage to keep until Plasma-5 version of Amarok is released
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qtscriptgenerator/ChangeLog7
-rw-r--r--x11-libs/qtscriptgenerator/Manifest5
-rw-r--r--x11-libs/qtscriptgenerator/files/qtscriptgenerator-0.2.0-arm.patch41
-rw-r--r--x11-libs/qtscriptgenerator/metadata.xml12
-rw-r--r--x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0-r1.ebuild66
5 files changed, 131 insertions, 0 deletions
diff --git a/x11-libs/qtscriptgenerator/ChangeLog b/x11-libs/qtscriptgenerator/ChangeLog
new file mode 100644
index 0000000..a40de75
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/ChangeLog
@@ -0,0 +1,7 @@
+*qtscriptgenerator-0.2.0-r1 (12 Jan 2018)
+
+ 12 Jan 2018; AstroFloyd <AstroFloyd@gmail.com>
+ +files/qtscriptgenerator-0.2.0-arm.patch, +metadata.xml,
+ +qtscriptgenerator-0.2.0-r1.ebuild:
+ x11-libs/qtscriptgenerator: copy from portage to keep until Plasma-5 version
+ of Amarok is released
diff --git a/x11-libs/qtscriptgenerator/Manifest b/x11-libs/qtscriptgenerator/Manifest
new file mode 100644
index 0000000..9f9c4c5
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/Manifest
@@ -0,0 +1,5 @@
+AUX qtscriptgenerator-0.2.0-arm.patch 2601 SHA256 8ca35c7066ef51b9cb3c61bb9da46cb105ba4eec51de635d10e462d193b491f9 SHA512 285ca3c10e452407a40d000f8fd352d38fa7414a5fb9fdefc0af20cc3da541459c33eb1fbd97320846acf1e86163e1e57a1ac4258a326f6fe8ab5f4c29df62b0 WHIRLPOOL 43a8a1648793e5dded0077a14a56beef2110af4fee3744d64e94135b13a5966cb7e126933a76206c992d6e6ec0a7f790bfaeb831e32f54529ce7e2a93244bcbb
+DIST qtscriptgenerator-src-0.2.0.tar.gz 379776 SHA256 895feb274470b9272264c7a141e5bd7f90c92e95d37f346f5f95a352541c8e69 SHA512 54b91562d275b634b50ae8f6ae024cf738605efadeb3085527087ebdc8b6b86559088972ab5dafb7ff1ede6d18dc135f935ac1fb307a17ea1975b4f7629cc0fa WHIRLPOOL 7d52a0f88b89f1a374a175b946ef304752c1ced67fa4123f1dd87da35160221c4495834a4012d05a2f8628344b1a58e39ad46e697a16ca358de07406b9db27ec
+EBUILD qtscriptgenerator-0.2.0-r1.ebuild 1382 SHA256 5da1ebb6579b8e150a8ad34ece87a0c9a196eeee21919e74efd0d395313c4333 SHA512 4384134b9b362294ef5d5ce94f9ea156c385019f4fbe2f491954796aff582354e26531f0b0acb758dacc4164fa8ccd8aba7a9a3aa0ee644e3d531c56b7050b36 WHIRLPOOL 4b0c08a0c10bf4db56c27ba75889250ea6e0a5d5e8c571ecd7c8bf7917f6e8d72686a010713fd1497505881d3daa861a3c17118b086c5be3ef006575553ebe27
+MISC ChangeLog 292 SHA256 f64010f5aa654c23adeb4154976591e53bf6732fbf1b201b2f5e4fc8c9f969e5 SHA512 80af3d40bd9fec018514c2e0f442923658bd54c89b81d4abafa88e3770b8eb483a915496b80a1982e90ec2b4b1dc560769303526a83002c7ac56df2ae4041d50 WHIRLPOOL c7f91bf2d0adcb00efd725a33de1d0e7055af1ff477242a601181d000b91d6afac043c602e7eebceda086de6feadde66e2773a6d6cc572b17d24c125d80167ca
+MISC metadata.xml 357 SHA256 49ca667bc86f311b74bc68de80d33dc76f3e783c60d7a61a2df8c993c4d7a2ff SHA512 a7daf9cc8bbd6a7887782cf1a74fe4f26098bf596982cfbb2df44ff46ae565e8a89bd8ebf6f2fd494f5fa5f4647c5afbd07f018f843e4a0ddf75ee4b9a31e244 WHIRLPOOL 1196dec77ffaa1fb437f1217ab631d865fac71e6f5165cf2c4e3746600d38891611dfb929e431ffa2e5347e2fa5bf3461c97214fce76c8e2132532bf5b4b19eb
diff --git a/x11-libs/qtscriptgenerator/files/qtscriptgenerator-0.2.0-arm.patch b/x11-libs/qtscriptgenerator/files/qtscriptgenerator-0.2.0-arm.patch
new file mode 100644
index 0000000..6305c9a
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/files/qtscriptgenerator-0.2.0-arm.patch
@@ -0,0 +1,41 @@
+diff -Nru qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core-common.xml qtscriptgenerator-src-0.2.0/generator/typesystem_core-common.xml
+--- qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core-common.xml 2012-01-23 12:30:03.000000000 +0100
++++ qtscriptgenerator-src-0.2.0/generator/typesystem_core-common.xml 2012-03-08 05:36:14.342528441 +0100
+@@ -921,6 +921,7 @@
+ <value-type name="QEasingCurve">
+ <modify-function signature="customType()const" remove="all" />
+ <modify-function signature="setCustomType(double)" remove="all" />
++ <modify-function signature="setCustomType(float)" remove="all" />
+ </value-type>
+
+ <object-type name="QAbstractAnimation" />
+diff -Nru qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core-qtscript.xml qtscriptgenerator-src-0.2.0/generator/typesystem_core-qtscript.xml
+--- qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core-qtscript.xml 2012-01-23 12:30:03.000000000 +0100
++++ qtscriptgenerator-src-0.2.0/generator/typesystem_core-qtscript.xml 2012-03-08 05:41:37.492524499 +0100
+@@ -1447,6 +1447,7 @@
+ <modify-function signature="operator==(const QEasingCurve &amp;)const" remove="all"/>
+ <modify-function signature="operator!=(const QEasingCurve &amp;)const" remove="all"/>
+ <modify-function signature="setCustomType(double)" remove="all"/>
++ <modify-function signature="setCustomType(float)" remove="all"/>
+ <modify-function signature="customType()const" remove="all"/>
+ </value-type>
+
+diff -Nru qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core.xml qtscriptgenerator-src-0.2.0/generator/typesystem_core.xml
+--- qtscriptgenerator-src-0.2.0.orig/generator/typesystem_core.xml 2012-01-23 12:30:03.000000000 +0100
++++ qtscriptgenerator-src-0.2.0/generator/typesystem_core.xml 2012-03-08 05:39:53.932524942 +0100
+@@ -1388,14 +1388,12 @@
+ </value-type>
+
+ <value-type name="QEasingCurve">
+- <modify-function signature="customType()const" remove="all"/>
+- <modify-function signature="setCustomType(double)" remove="all"/>
+-
+ <modify-function signature="QEasingCurve(QEasingCurve)" remove="all"/>
+ <modify-function signature="operator=(QEasingCurve)" remove="all"/>
+ <modify-function signature="operator==(const QEasingCurve &amp;)const" remove="all"/>
+ <modify-function signature="operator!=(const QEasingCurve &amp;)const" remove="all"/>
+ <modify-function signature="setCustomType(double)" remove="all"/>
++ <modify-function signature="setCustomType(float)" remove="all"/>
+ <modify-function signature="customType()const" remove="all"/>
+ </value-type>
+
diff --git a/x11-libs/qtscriptgenerator/metadata.xml b/x11-libs/qtscriptgenerator/metadata.xml
new file mode 100644
index 0000000..6ad9903
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+</pkgmetadata>
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 0000000..d583638
--- /dev/null
+++ b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 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"
+
+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
+ 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/*
+}