diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-libs/qtscriptgenerator | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-libs/qtscriptgenerator')
4 files changed, 120 insertions, 0 deletions
diff --git a/x11-libs/qtscriptgenerator/Manifest b/x11-libs/qtscriptgenerator/Manifest new file mode 100644 index 000000000000..7815b87fcc53 --- /dev/null +++ b/x11-libs/qtscriptgenerator/Manifest @@ -0,0 +1 @@ +DIST qtscriptgenerator-src-0.2.0.tar.gz 379776 SHA256 895feb274470b9272264c7a141e5bd7f90c92e95d37f346f5f95a352541c8e69 SHA512 54b91562d275b634b50ae8f6ae024cf738605efadeb3085527087ebdc8b6b86559088972ab5dafb7ff1ede6d18dc135f935ac1fb307a17ea1975b4f7629cc0fa WHIRLPOOL 7d52a0f88b89f1a374a175b946ef304752c1ced67fa4123f1dd87da35160221c4495834a4012d05a2f8628344b1a58e39ad46e697a16ca358de07406b9db27ec 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 000000000000..6305c9ad2a27 --- /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 &)const" remove="all"/> + <modify-function signature="operator!=(const QEasingCurve &)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 &)const" remove="all"/> + <modify-function signature="operator!=(const QEasingCurve &)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 000000000000..6e3dc974f22a --- /dev/null +++ b/x11-libs/qtscriptgenerator/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <herd>qt</herd> + <upstream> + <remote-id type="google-code">qtscriptgenerator</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild new file mode 100644 index 000000000000..66df5cdbca54 --- /dev/null +++ b/x11-libs/qtscriptgenerator/qtscriptgenerator-0.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils qmake-utils + +MY_P=${PN}-src-${PV} + +DESCRIPTION="Tool for generating Qt bindings for Qt Script" +HOMEPAGE="http://code.google.com/p/qtscriptgenerator/" +SRC_URI="http://qtscriptgenerator.googlecode.com/files/${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 + !kde? ( || ( + dev-qt/qtphonon:4 + media-libs/phonon[qt4] + ) ) + kde? ( media-libs/phonon[qt4] ) + dev-qt/qtscript:4 + dev-qt/qtsql:4 + dev-qt/qtsvg:4[accessibility] + dev-qt/qtwebkit:4 + dev-qt/qtxmlpatterns:4 +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # 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" + + use arm && epatch "${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/* +} |