diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-03-23 07:43:51 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-03-23 07:45:10 +0100 |
commit | fa3f569685b5d5200f722a3b3643da3a30466317 (patch) | |
tree | 1ac37c685955a22b8bd4176c58be81b248939188 /x11-misc/vym | |
parent | sys-kernel/ck-sources: v.bump (4.9.17 & 4.10.5) (diff) | |
download | gentoo-fa3f569685b5d5200f722a3b3643da3a30466317.tar.gz gentoo-fa3f569685b5d5200f722a3b3643da3a30466317.tar.bz2 gentoo-fa3f569685b5d5200f722a3b3643da3a30466317.zip |
x11-misc/vym: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-misc/vym')
-rw-r--r-- | x11-misc/vym/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/vym/vym-2.6.8.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/x11-misc/vym/Manifest b/x11-misc/vym/Manifest index 89a664f81edb..773b4aad8f78 100644 --- a/x11-misc/vym/Manifest +++ b/x11-misc/vym/Manifest @@ -1,2 +1,3 @@ DIST vym-2.6.0.tar.bz2 6766806 SHA256 7dc1721afb27109adc4b4aeaac6217fdd1294b38e81b33a08a476562fbdfa141 SHA512 87664651858e3cb604c5be9bf783484f8e6fbb290c98f1cb27d7980c025bee808be8806bf8918f025af31d2b49eef12fe8571d96d9d6f45d0f14bdbb6b65cb43 WHIRLPOOL 21d5719fab765211613d617cb32f6912c76ed2d8aea9c110ad05d49e12d559067b1dc4c79276620be2345feeec7e350e9a82b1ca61051a03434760c6df2fe2fb DIST vym-2.6.2.tar.bz2 6766867 SHA256 d7c5f92fe9e70156519127d7dc156211ab79e3f2b890835f94e8853e165c1709 SHA512 20a7bd1e373176740304df59dffd8df1a515e8f47f59b37da4b5711668401c93683523e99302770ce537ed66031b0b0c5e6a3bc49d5a4a430a69122a1fd6680a WHIRLPOOL d9512338a62271d20907200cb29e0bd2defb70ff2f39a11227de73692b9ffcdbd97a36fcb34ce6706b6a289e55496854545e9bcfa73800b8bcf5ae50fb244fee +DIST vym-2.6.8.tar.bz2 6768801 SHA256 2ec528b2f9783ea12a80471f1cfcbefcb5eeac42bf5f3c5209ef334c6c561aba SHA512 9ade39454bdfe509e82e1acddb5be0b101eec9fe0c96198b29c8e8353125369b8052ddf6d36096cf119ac2e87c8d15298c560d4c579507c65d19d654f8847e0e WHIRLPOOL 6f160675fe1af40668097a612f9d86275d6ff276e4b4bd35f1a6961910f37f1bce9267cbb35aa91a28f62e196e99579cc4e462ddb9a87dce802e91e96ea9f1f2 diff --git a/x11-misc/vym/vym-2.6.8.ebuild b/x11-misc/vym/vym-2.6.8.ebuild new file mode 100644 index 000000000000..025649a3c124 --- /dev/null +++ b/x11-misc/vym/vym-2.6.8.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 +} |