summaryrefslogtreecommitdiff
path: root/dev-qt/linguist-tools
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/linguist-tools')
-rw-r--r--dev-qt/linguist-tools/Manifest1
-rw-r--r--dev-qt/linguist-tools/linguist-tools-5.9.3.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-qt/linguist-tools/Manifest b/dev-qt/linguist-tools/Manifest
new file mode 100644
index 00000000..2cb01917
--- /dev/null
+++ b/dev-qt/linguist-tools/Manifest
@@ -0,0 +1 @@
+DIST qttools-opensource-src-5.9.3.tar.xz 9777804 SHA256 442c38de3e35f9dcc355dadff35436e23a5a7abd7dd1167a3bf6325e3d9284ff SHA512 5d4a4d6b6dcf17b7244ed761850f622b8006c8028dbe6b0f0e95e2c19132d2420c062d4737ebeb1c342f53337fdce2137cf89ae3edb82755e68c846efffe4c8f WHIRLPOOL 9a3498ce72d7471a7a5e97545765fe531ee96ceae9b7e0b193f02fd7edfdc626406cf9d7eab55cc10ab4b8a7ad18341526b0d4eb36bf76cf28f42d2449f19317
diff --git a/dev-qt/linguist-tools/linguist-tools-5.9.3.ebuild b/dev-qt/linguist-tools/linguist-tools-5.9.3.ebuild
new file mode 100644
index 00000000..dbb5885f
--- /dev/null
+++ b/dev-qt/linguist-tools/linguist-tools-5.9.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+QT5_MODULE="qttools"
+inherit qt5-build
+
+DESCRIPTION="Tools for working with Qt translation data files"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="amd64"
+fi
+
+IUSE="qml"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtxml-${PV}
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
+"
+RDEPEND="${DEPEND}"
+
+QT5_TARGET_SUBDIRS=(
+ src/linguist
+)
+
+src_prepare() {
+ sed -i -e '/SUBDIRS += linguist/d' \
+ src/linguist/linguist.pro || die
+
+ qt_use_disable_mod qml qmldevtools-private \
+ src/linguist/lupdate/lupdate.pro
+
+ qt5-build_src_prepare
+}