summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-11-18 12:41:17 +0100
committerJeroen Roovers <jer@gentoo.org>2017-11-18 12:41:17 +0100
commit2c894748f2c934ecba9ede316483f3f9e42fa164 (patch)
tree496bd5d010c530eabdf6ea9da9416e711d8bc180 /x11-misc
parentx11-misc/fracplanet: Add missing dependency. (diff)
downloadgentoo-2c894748f2c934ecba9ede316483f3f9e42fa164.tar.gz
gentoo-2c894748f2c934ecba9ede316483f3f9e42fa164.tar.bz2
gentoo-2c894748f2c934ecba9ede316483f3f9e42fa164.zip
x11-misc/vym: Version bump.
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/vym/Manifest1
-rw-r--r--x11-misc/vym/vym-2.6.11.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/x11-misc/vym/Manifest b/x11-misc/vym/Manifest
index 4c2fff0c4384..64cbd85d0ac3 100644
--- a/x11-misc/vym/Manifest
+++ b/x11-misc/vym/Manifest
@@ -1 +1,2 @@
+DIST vym-2.6.11.tar.bz2 6769869 SHA256 d48efee7da43c22fbb862c7d99cb6d855ece58808f2ea184310d2a79c8a2f6fb SHA512 d6ae8346152ab10e12a68f25b4c13c4d40e1a8471df348ba0df9c05bdbe60f86a97912fcca268ec510246fe655a7dcc2d2e9a9332daee09a2a7dda7d6f880aa1 WHIRLPOOL 879ed96e008e5d9f8e747070f4a31cc66747dc9e174f698f315d3da27052d842836e1e23b588b585646e9f4df46eae23df36f6a9e4e6930dd7013663045e8cd4
DIST vym-2.6.8.tar.bz2 6768801 SHA256 2ec528b2f9783ea12a80471f1cfcbefcb5eeac42bf5f3c5209ef334c6c561aba SHA512 9ade39454bdfe509e82e1acddb5be0b101eec9fe0c96198b29c8e8353125369b8052ddf6d36096cf119ac2e87c8d15298c560d4c579507c65d19d654f8847e0e WHIRLPOOL 6f160675fe1af40668097a612f9d86275d6ff276e4b4bd35f1a6961910f37f1bce9267cbb35aa91a28f62e196e99579cc4e462ddb9a87dce802e91e96ea9f1f2
diff --git a/x11-misc/vym/vym-2.6.11.ebuild b/x11-misc/vym/vym-2.6.11.ebuild
new file mode 100644
index 000000000000..6fabe03a5ff9
--- /dev/null
+++ b/x11-misc/vym/vym-2.6.11.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
+
+inherit eutils l10n qmake-utils
+
+DESCRIPTION="View Your Mind, a mindmap tool"
+HOMEPAGE="http://www.insilmaril.de/vym/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus"
+
+RDEPEND="
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtxml:5
+ dbus? ( dev-qt/qtdbus:5 )
+"
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+DOCS=( README.md doc/vym.pdf )
+
+src_prepare() {
+ default
+
+ if use linguas_es ; then
+ DOCS+=( doc/vym_es.pdf )
+ fi
+ if use linguas_fr ; then
+ DOCS+=( doc/vym_fr.pdf )
+ fi
+
+ remove_locale() {
+ sed -i \
+ -e "/TRANSLATIONS += lang\/vym.${1}.ts/d" \
+ vym.pro || die
+ }
+
+ gunzip doc/vym.1.gz || die
+
+ #remove dead en translation
+ rm lang/vym.en.ts || die
+ remove_locale en
+
+ l10n_find_plocales_changes lang ${PN}. .ts
+ l10n_for_each_disabled_locale_do remove_locale
+
+ "$(qt5_get_bindir)"/lrelease vym.pro || die
+}
+
+src_configure() {
+ eqmake5 vym.pro \
+ PREFIX="${EPREFIX}"/usr \
+ DATADIR="${EPREFIX}"/usr/share \
+ $(usex dbus "" NO_DBUS=1 )
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ einstalldocs
+
+ doman doc/vym.1
+
+ make_desktop_entry vym vym /usr/share/vym/icons/vym.png Education
+}