1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit gnome2-utils xdg-utils readme.gentoo-r1
8 DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
9 HOMEPAGE="http://www.jetbrains.com/pycharm/"
10 SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
12 LICENSE="PyCharm_Academic PyCharm_Classroom PyCharm PyCharm_OpenSource PyCharm_Preview"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND=">=virtual/jre-1.8
21 RESTRICT="mirror strip"
23 QA_PREBUILT="opt/${PN}/bin/fsnotifier
24 opt/${PN}/bin/fsnotifier64
25 opt/${PN}/bin/fsnotifier-arm
26 opt/${PN}/bin/libyjpagent-linux.so
27 opt/${PN}/bin/libyjpagent-linux64.so"
29 MY_PN=${PN/-professional/}
30 S="${WORKDIR}/${MY_PN}-${PV}"
42 fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
44 dosym ../../opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
45 newicon bin/${MY_PN}.png ${PN}.png
46 make_desktop_entry ${PN} ${PN} ${PN}
48 readme.gentoo_create_doc
52 xdg_desktop_database_update
53 gnome2_icon_cache_update
57 xdg_desktop_database_update
58 gnome2_icon_cache_update