desktop file moved to /other, ebuild update

master 0.2
Denes Matetelki 14 years ago
parent 05506486a9
commit 4abf53400f

@ -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
}

@ -44,7 +44,7 @@ target.path = /usr/bin
translations.files += .qm/i18n
translations.path += /usr/share/qtmindmap
desktop.files += qtmindmap.desktop
desktop.files += other/qtmindmap.desktop
desktop.path += /usr/share/applications
icon.files += images/qtmindmap.svg

Loading…
Cancel
Save