summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-04-17 12:49:23 +0200
committerJeroen Roovers <jer@gentoo.org>2019-04-17 12:49:50 +0200
commit676d4e05f2ffeb29d978497827479ae7cf2fa4fb (patch)
tree65b62b1ff2bb8b44d697213971ced67ddb2675de /x11-misc/vym
parentapp-metrics/prometheus: Version bump to 2.9.1 (diff)
downloadgentoo-676d4e05f2ffeb29d978497827479ae7cf2fa4fb.tar.gz
gentoo-676d4e05f2ffeb29d978497827479ae7cf2fa4fb.tar.bz2
gentoo-676d4e05f2ffeb29d978497827479ae7cf2fa4fb.zip
x11-misc/vym: Version 2.7.0
Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/vym')
-rw-r--r--x11-misc/vym/Manifest1
-rw-r--r--x11-misc/vym/vym-2.7.0.ebuild74
-rw-r--r--x11-misc/vym/vym-9999.ebuild18
3 files changed, 86 insertions, 7 deletions
diff --git a/x11-misc/vym/Manifest b/x11-misc/vym/Manifest
index 0ae275571292..2e09ba7d64ec 100644
--- a/x11-misc/vym/Manifest
+++ b/x11-misc/vym/Manifest
@@ -1,2 +1,3 @@
DIST vym-2.6.11.tar.bz2 6769869 BLAKE2B a528bb84275800f2aefc8a67b03d7b5dcdfab7e8f0f64f42bba46cda8c9dfad6e16aaeecf778b8bbbd99aac5d28bcbe2ff1c3546806395bbaf40f659e42cd31f SHA512 d6ae8346152ab10e12a68f25b4c13c4d40e1a8471df348ba0df9c05bdbe60f86a97912fcca268ec510246fe655a7dcc2d2e9a9332daee09a2a7dda7d6f880aa1
DIST vym-2.6.8.tar.bz2 6768801 BLAKE2B ca111afb133bdaec168103d708fdf8e48ecc46da0dde5288a400fe884f0de8bc3b8582a76ee8fbc01d5c2fa1e07dfaf6f21882ddc1f892c80ebd9965e188d26c SHA512 9ade39454bdfe509e82e1acddb5be0b101eec9fe0c96198b29c8e8353125369b8052ddf6d36096cf119ac2e87c8d15298c560d4c579507c65d19d654f8847e0e
+DIST vym-2.7.0.tar.bz2 6776315 BLAKE2B 1b25f1fc6b08f9582c2df716db9f9361d89cbe1d96862595eda59708bebc08db1d28755516e4096b63427cd069c59c3542d58c6572ac723a97081033b5e97eaf SHA512 4da1ce7f62e29dca798646a114544b5b4b2d42b0b030113eb231c5cb0d8c990c78fcfb78bd47ce1f3efb43647fa8033d1d8eb87907f6c7f486b4dea552e345e8
diff --git a/x11-misc/vym/vym-2.7.0.ebuild b/x11-misc/vym/vym-2.7.0.ebuild
new file mode 100644
index 000000000000..8420300310dc
--- /dev/null
+++ b/x11-misc/vym/vym-2.7.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
+inherit desktop 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 has es ${LINGUAS-es} ; then
+ DOCS+=( doc/vym_es.pdf )
+ fi
+ if has fr ${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
+}
diff --git a/x11-misc/vym/vym-9999.ebuild b/x11-misc/vym/vym-9999.ebuild
index 1b1cdce9ac6c..60da3ed21f61 100644
--- a/x11-misc/vym/vym-9999.ebuild
+++ b/x11-misc/vym/vym-9999.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
+EAPI=7
PLOCALES="cs_CZ de_DE el es fr ia it ja pt_BR ru sv zh_CN zh_TW"
-
-inherit eutils git-r3 l10n qmake-utils
+inherit desktop git-r3 l10n qmake-utils
DESCRIPTION="View Your Mind, a mindmap tool"
HOMEPAGE="http://www.insilmaril.de/vym/"
-EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
+EGIT_REPO_URI="https://git.code.sf.net/p/vym/code"
LICENSE="GPL-2"
SLOT="0"
@@ -28,12 +26,18 @@ DEPEND="
${RDEPEND}
dev-qt/linguist-tools:5
"
-
DOCS=( README.md )
src_prepare() {
default
+ if has es ${LINGUAS-es} ; then
+ DOCS+=( doc/vym_es.pdf )
+ fi
+ if has fr ${LINGUAS-fr} ; then
+ DOCS+=( doc/vym_fr.pdf )
+ fi
+
remove_locale() {
sed -i \
-e "/TRANSLATIONS += lang\/vym.${1}.ts/d" \