|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~x86"
|
|
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
|
|
|
|
|
|
EAPI="3"
|
|
|
|
|
inherit qt4-r2
|
|
|
|
|
LANGS="hu nb"
|
|
|
|
|
IUSE="linguas_hu linguas_nb"
|
|
|
|
|
# LANGS="hu nb"
|
|
|
|
|
# IUSE="linguas_hu linguas_nb"
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="MindMap software written in Qt"
|
|
|
|
|
HOMEPAGE="https://gitorious.org/qtmindmap"
|
|
|
|
@ -21,28 +21,9 @@ DEPEND=">=x11-libs/qt-core-4.6
|
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
src_configure() {
|
|
|
|
|
eqmake4 "${S}"/qtmindmap-qtmindmap/qtmindmap.pro
|
|
|
|
|
|
|
|
|
|
if use "linguas_hu"; then
|
|
|
|
|
lrelease "${S}"/qtmindmap-qtmindmap/lang/qtmindmap_hu.ts
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if use "linguas_nb"; then
|
|
|
|
|
lrelease "${S}"/qtmindmap-qtmindmap/lang/qtmindmap_nb_NO.ts
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
|
|
|
|
|
|
insopts -m0755
|
|
|
|
|
insinto /usr/bin
|
|
|
|
|
doins qtmindmap
|
|
|
|
|
|
|
|
|
|
insinto /usr/share/qtmindmap/i18n
|
|
|
|
|
if use "linguas_hu"; then
|
|
|
|
|
doins "${S}"/qtmindmap-qtmindmap/lang/qtmindmap_hu.qm
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if use "linguas_nb"; then
|
|
|
|
|
doins "${S}"/qtmindmap-qtmindmap/lang/qtmindmap_nb_NO.qm
|
|
|
|
|
fi
|
|
|
|
|
qt4-r2_src_install
|
|
|
|
|
}
|