Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/linguist-tools/
Date: Mon, 23 Dec 2013 00:14:48
Message-Id: 1387757664.978e72f4b295edd3148986c36b67e02b71c97d93.pesa@gentoo
1 commit: 978e72f4b295edd3148986c36b67e02b71c97d93
2 Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
3 AuthorDate: Mon Dec 23 00:14:24 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 00:14:24 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=978e72f4
7
8 [dev-qt/linguist-tools] Ebuilds for Qt5 lconvert/lrelease/lupdate tools.
9
10 Package-Manager: portage-2.2.7
11
12 ---
13 dev-qt/linguist-tools/Manifest | 1 +
14 dev-qt/linguist-tools/linguist-tools-5.2.0.ebuild | 40 ++++++++++++++++++++++
15 .../linguist-tools/linguist-tools-5.2.9999.ebuild | 40 ++++++++++++++++++++++
16 dev-qt/linguist-tools/linguist-tools-5.9999.ebuild | 40 ++++++++++++++++++++++
17 dev-qt/linguist-tools/metadata.xml | 12 +++++++
18 5 files changed, 133 insertions(+)
19
20 diff --git a/dev-qt/linguist-tools/Manifest b/dev-qt/linguist-tools/Manifest
21 new file mode 100644
22 index 0000000..12af6e1
23 --- /dev/null
24 +++ b/dev-qt/linguist-tools/Manifest
25 @@ -0,0 +1 @@
26 +DIST qttools-opensource-src-5.2.0.tar.xz 8941736 SHA256 ff331510ecb776b3059953e216e9fa7a4c0736eeb148c4cf11acc8150811b7f0 SHA512 5dd331d8d403c1645e6ce155feb2149ee11c9686031d29fb62d5989435b3d3fbeee679b4b82fffd4e0e19a361bec2935ac71e292da76d5358b49abb78bb00fec WHIRLPOOL cc824e8702709e5c480c86867b9e715b037f63c03c74091c8ae0dcf1fb6dd34a07422389ab5099165aea7c3597fb355ed9068e65453e385637ee1658d31a4d4e
27
28 diff --git a/dev-qt/linguist-tools/linguist-tools-5.2.0.ebuild b/dev-qt/linguist-tools/linguist-tools-5.2.0.ebuild
29 new file mode 100644
30 index 0000000..7b0bda2
31 --- /dev/null
32 +++ b/dev-qt/linguist-tools/linguist-tools-5.2.0.ebuild
33 @@ -0,0 +1,40 @@
34 +# Copyright 1999-2013 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Header: $
37 +
38 +EAPI=5
39 +
40 +QT5_MODULE="qttools"
41 +
42 +inherit qt5-build
43 +
44 +DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
45 +
46 +if [[ ${QT5_BUILD_TYPE} == live ]]; then
47 + KEYWORDS=""
48 +else
49 + KEYWORDS="~amd64"
50 +fi
51 +
52 +IUSE="qml"
53 +
54 +DEPEND="
55 + >=dev-qt/qtcore-${PV}:5[debug=]
56 + >=dev-qt/qtxml-${PV}:5[debug=]
57 + qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
58 +"
59 +RDEPEND="${DEPEND}"
60 +
61 +QT5_TARGET_SUBDIRS=(
62 + src/linguist
63 +)
64 +
65 +src_prepare() {
66 + sed -i -e '/SUBDIRS += linguist/d' \
67 + src/linguist/linguist.pro || die
68 +
69 + qt_use_disable_mod qml qmldevtools-private \
70 + src/linguist/lupdate/lupdate.pro
71 +
72 + qt5-build_src_prepare
73 +}
74
75 diff --git a/dev-qt/linguist-tools/linguist-tools-5.2.9999.ebuild b/dev-qt/linguist-tools/linguist-tools-5.2.9999.ebuild
76 new file mode 100644
77 index 0000000..7b0bda2
78 --- /dev/null
79 +++ b/dev-qt/linguist-tools/linguist-tools-5.2.9999.ebuild
80 @@ -0,0 +1,40 @@
81 +# Copyright 1999-2013 Gentoo Foundation
82 +# Distributed under the terms of the GNU General Public License v2
83 +# $Header: $
84 +
85 +EAPI=5
86 +
87 +QT5_MODULE="qttools"
88 +
89 +inherit qt5-build
90 +
91 +DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
92 +
93 +if [[ ${QT5_BUILD_TYPE} == live ]]; then
94 + KEYWORDS=""
95 +else
96 + KEYWORDS="~amd64"
97 +fi
98 +
99 +IUSE="qml"
100 +
101 +DEPEND="
102 + >=dev-qt/qtcore-${PV}:5[debug=]
103 + >=dev-qt/qtxml-${PV}:5[debug=]
104 + qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
105 +"
106 +RDEPEND="${DEPEND}"
107 +
108 +QT5_TARGET_SUBDIRS=(
109 + src/linguist
110 +)
111 +
112 +src_prepare() {
113 + sed -i -e '/SUBDIRS += linguist/d' \
114 + src/linguist/linguist.pro || die
115 +
116 + qt_use_disable_mod qml qmldevtools-private \
117 + src/linguist/lupdate/lupdate.pro
118 +
119 + qt5-build_src_prepare
120 +}
121
122 diff --git a/dev-qt/linguist-tools/linguist-tools-5.9999.ebuild b/dev-qt/linguist-tools/linguist-tools-5.9999.ebuild
123 new file mode 100644
124 index 0000000..7b0bda2
125 --- /dev/null
126 +++ b/dev-qt/linguist-tools/linguist-tools-5.9999.ebuild
127 @@ -0,0 +1,40 @@
128 +# Copyright 1999-2013 Gentoo Foundation
129 +# Distributed under the terms of the GNU General Public License v2
130 +# $Header: $
131 +
132 +EAPI=5
133 +
134 +QT5_MODULE="qttools"
135 +
136 +inherit qt5-build
137 +
138 +DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
139 +
140 +if [[ ${QT5_BUILD_TYPE} == live ]]; then
141 + KEYWORDS=""
142 +else
143 + KEYWORDS="~amd64"
144 +fi
145 +
146 +IUSE="qml"
147 +
148 +DEPEND="
149 + >=dev-qt/qtcore-${PV}:5[debug=]
150 + >=dev-qt/qtxml-${PV}:5[debug=]
151 + qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
152 +"
153 +RDEPEND="${DEPEND}"
154 +
155 +QT5_TARGET_SUBDIRS=(
156 + src/linguist
157 +)
158 +
159 +src_prepare() {
160 + sed -i -e '/SUBDIRS += linguist/d' \
161 + src/linguist/linguist.pro || die
162 +
163 + qt_use_disable_mod qml qmldevtools-private \
164 + src/linguist/lupdate/lupdate.pro
165 +
166 + qt5-build_src_prepare
167 +}
168
169 diff --git a/dev-qt/linguist-tools/metadata.xml b/dev-qt/linguist-tools/metadata.xml
170 new file mode 100644
171 index 0000000..64a2bbe
172 --- /dev/null
173 +++ b/dev-qt/linguist-tools/metadata.xml
174 @@ -0,0 +1,12 @@
175 +<?xml version="1.0" encoding="UTF-8"?>
176 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
177 +<pkgmetadata>
178 + <use>
179 + <flag name="qml">Enable QML support in lupdate</flag>
180 + </use>
181 + <herd>qt</herd>
182 + <upstream>
183 + <bugs-to>https://bugreports.qt-project.org/</bugs-to>
184 + <doc>http://qt-project.org/doc/</doc>
185 + </upstream>
186 +</pkgmetadata>