diff options
author | 2016-06-18 19:17:45 +0300 | |
---|---|---|
committer | 2016-06-18 19:19:11 +0300 | |
commit | ffb13985985338cce61ed7077b03324639ba3768 (patch) | |
tree | dd48dfac9b0a039f1129c3088c3302ce6df05784 /x11-misc/outwiker/outwiker-1.9.0.790.ebuild | |
parent | java-vm-2.eclass: Remove unused nsplugin code (diff) | |
download | gentoo-ffb13985985338cce61ed7077b03324639ba3768.tar.gz gentoo-ffb13985985338cce61ed7077b03324639ba3768.tar.bz2 gentoo-ffb13985985338cce61ed7077b03324639ba3768.zip |
x11-misc/outwiker: version bump
Set SLOT on wxpython dependency
Gentoo-Bug: 571488
Gentoo-Bug: 584170
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-misc/outwiker/outwiker-1.9.0.790.ebuild')
-rw-r--r-- | x11-misc/outwiker/outwiker-1.9.0.790.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/outwiker/outwiker-1.9.0.790.ebuild b/x11-misc/outwiker/outwiker-1.9.0.790.ebuild new file mode 100644 index 000000000000..c9cba69733cb --- /dev/null +++ b/x11-misc/outwiker/outwiker-1.9.0.790.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-r1 + +DESCRIPTION="The tree notes organizer" +HOMEPAGE="http://jenyay.net/Outwiker/English" +SRC_URI="https://github.com/Jenyay/${PN}/archive/release_${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-python/pyenchant[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pywebkitgtk[${PYTHON_USEDEP}] + dev-python/wxpython:2.8[${PYTHON_USEDEP}] + x11-misc/xdg-utils + x11-themes/hicolor-icon-theme +" + +S="${WORKDIR}/${PN}-release_${PV}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + # fix desktop file + sed -i -e 's/Application;//' outwiker.desktop || die 'sed on outwiker.desktop failed' + + eapply_user +} + +src_compile() { :; } + +src_install() { + # Do not install tests + rm -r src/test* + + insinto "/usr/share/${PN}" + doins -r src/* + dobin "${PN}" + + domenu "${PN}.desktop" + dodoc README README.md + + # Install mans + doman man/man1/${PN}.1 + insinto /usr/share/man/ru/man1 + doins man/ru/man1/${PN}.1 + + # Install icons + doicon "images/${PN}.xpm" + newicon -s scalable "images/${PN}.svg" "${PN}.svg" + for i in 16 22 24 32 48 64 128 256; do + newicon -s $i "images/${PN}_$i.png" "${PN}.png" + done +} |