summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2013-07-09 11:06:12 +0000
committerDavide Pesavento <pesa@gentoo.org>2013-07-09 11:06:12 +0000
commit146a05c524031c7553e7ef3462457ffe138d24ae (patch)
tree2356d554537cb9c5624fd30b479fc202dfcc8bd2 /dev-qt
parentNew ebuild for Designer application, split off from dev-qt/qtgui. (diff)
downloadgentoo-2-146a05c524031c7553e7ef3462457ffe138d24ae.tar.gz
gentoo-2-146a05c524031c7553e7ef3462457ffe138d24ae.tar.bz2
gentoo-2-146a05c524031c7553e7ef3462457ffe138d24ae.zip
New ebuild for Linguist application, split off from dev-qt/qtgui.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/linguist/ChangeLog9
-rw-r--r--dev-qt/linguist/linguist-4.8.5.ebuild50
-rw-r--r--dev-qt/linguist/metadata.xml14
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-qt/linguist/ChangeLog b/dev-qt/linguist/ChangeLog
new file mode 100644
index 000000000000..725aecf53a22
--- /dev/null
+++ b/dev-qt/linguist/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-qt/linguist
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/linguist/ChangeLog,v 1.1 2013/07/09 11:06:12 pesa Exp $
+
+*linguist-4.8.5 (09 Jul 2013)
+
+ 09 Jul 2013; Davide Pesavento <pesa@gentoo.org> +linguist-4.8.5.ebuild,
+ +metadata.xml:
+ New ebuild for Linguist application, split off from dev-qt/qtgui.
diff --git a/dev-qt/linguist/linguist-4.8.5.ebuild b/dev-qt/linguist/linguist-4.8.5.ebuild
new file mode 100644
index 000000000000..359ea9d5b6de
--- /dev/null
+++ b/dev-qt/linguist/linguist-4.8.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/linguist/linguist-4.8.5.ebuild,v 1.1 2013/07/09 11:06:12 pesa Exp $
+
+EAPI=5
+
+inherit eutils qt4-build
+
+DESCRIPTION="Graphical tool for translating Qt applications"
+SLOT="4"
+if [[ ${QT4_BUILD_TYPE} == live ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+fi
+
+IUSE=""
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}[aqua=,debug=]
+ ~dev-qt/qtgui-${PV}[aqua=,debug=]
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ QT4_TARGET_DIRECTORIES="tools/linguist/linguist"
+ QT4_EXTRACT_DIRECTORIES="
+ include
+ src
+ tools"
+
+ qt4-build_pkg_setup
+}
+
+src_configure() {
+ myconf+="
+ -system-libpng -system-libjpeg -system-zlib
+ -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc
+ -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
+ -fontconfig -no-svg -no-webkit -no-phonon -no-opengl"
+
+ qt4-build_src_configure
+}
+
+src_install() {
+ qt4-build_src_install
+
+ newicon tools/linguist/linguist/images/icons/linguist-128-32.png linguist.png
+ make_desktop_entry linguist Linguist linguist 'Qt;Development;Translation'
+}
diff --git a/dev-qt/linguist/metadata.xml b/dev-qt/linguist/metadata.xml
new file mode 100644
index 000000000000..782c1341ff99
--- /dev/null
+++ b/dev-qt/linguist/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>qt</herd>
+ <use>
+ <flag name="c++0x">Build Qt using the C++11 standard</flag>
+ <flag name="exceptions">Add support for exceptions - like catching them
+ inside the event loop (recommended by Nokia)</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://bugreports.qt-project.org/</bugs-to>
+ <doc>http://qt-project.org/doc/</doc>
+ </upstream>
+</pkgmetadata>