diff options
Diffstat (limited to 'x11-misc/vym')
-rw-r--r-- | x11-misc/vym/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/vym/vym-2.6.0.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/x11-misc/vym/Manifest b/x11-misc/vym/Manifest index 1c6f4566af90..b71cfe24b4a5 100644 --- a/x11-misc/vym/Manifest +++ b/x11-misc/vym/Manifest @@ -1,2 +1,3 @@ DIST vym-2.3.22.tar.bz2 6737848 SHA256 92bd267fc2aa404e0f0887e780bae422be922c20d8037d743f32b16a4f8a16df SHA512 c6b15da272190e877d519153865e60f967a67cbdd4a0f56519f9c5a330605b97ea822f162ccf9fd57d1a4ec540d46e82c3004fa8e26c31786691b037ecb1c63e WHIRLPOOL e452abb36902e34afbe5b637c769a2bf17a9bb0d940ff72b46d55b19a821b26bce6ebad9bf125edb088a4e3d922a2fa2ab8dc096c378d1bee4efcb133519bb7b DIST vym-2.3.24.tar.bz2 6738245 SHA256 b719521b97cd1cf1ab881a46325519bd9c48191537eadac8d4251a08a0741e06 SHA512 360cc1b80ed9fe28aa2eb0574f3f481acc264aa96e49d438893c63e27262272420abb7d8eb94283a6e2218bd11810616dc46b756607b8003a94eb2ba8ae5197c WHIRLPOOL 66e374e2c7dbb2633872db149d4f85ea80ccbaa0cd26cf837502edc7197a0e3a03348befce7fb918aeedca2d31205594985a647dd4b6a597df75432b5f7d2a7e +DIST vym-2.6.0.tar.bz2 6766806 SHA256 7dc1721afb27109adc4b4aeaac6217fdd1294b38e81b33a08a476562fbdfa141 SHA512 87664651858e3cb604c5be9bf783484f8e6fbb290c98f1cb27d7980c025bee808be8806bf8918f025af31d2b49eef12fe8571d96d9d6f45d0f14bdbb6b65cb43 WHIRLPOOL 21d5719fab765211613d617cb32f6912c76ed2d8aea9c110ad05d49e12d559067b1dc4c79276620be2345feeec7e350e9a82b1ca61051a03434760c6df2fe2fb diff --git a/x11-misc/vym/vym-2.6.0.ebuild b/x11-misc/vym/vym-2.6.0.ebuild new file mode 100644 index 000000000000..025649a3c124 --- /dev/null +++ b/x11-misc/vym/vym-2.6.0.ebuild @@ -0,0 +1,72 @@ +# 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/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 + } + + #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.gz + + make_desktop_entry vym vym /usr/share/vym/icons/vym.png Education +} |