1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 MY_P="mks_${PV/_p/-svn}-src"
12 DESCRIPTION="A cross platform Qt 4 IDE"
13 HOMEPAGE="http://monkeystudio.sourceforge.net/"
14 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
17 LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )"
21 RDEPEND=">=x11-libs/qt-assistant-4.7.0:4
22 >=x11-libs/qt-core-4.7.0:4
23 >=x11-libs/qt-gui-4.7.0:4
24 >=x11-libs/qt-sql-4.7.0:4
27 doc? ( >=app-doc/doxygen-1.5.8 )"
29 DOCS="ChangeLog readme.txt"
34 sed -e "s:datas/\*:datas/apis datas/scripts datas/templates:" \
35 -i installs.pri || die "sed installs.pri failed"
41 eqmake4 build.pro prefix=/usr system_qscintilla=1
47 insinto /usr/share/${PN}/translations
49 for lang in ${LANGS} ; do
50 if use linguas_${lang} ; then
51 doins datas/translations/monkeystudio_${lang}.qm
55 fperms 755 /usr/bin/${PN}
58 doxygen || die "doxygen failed"