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" SLOT="0"
KEYWORDS="~x86" KEYWORDS="~x86 ~amd64"
EAPI="3" EAPI="3"
inherit qt4-r2 inherit qt4-r2
LANGS="hu nb" # LANGS="hu nb"
IUSE="linguas_hu linguas_nb" # IUSE="linguas_hu linguas_nb"
DESCRIPTION="MindMap software written in Qt" DESCRIPTION="MindMap software written in Qt"
HOMEPAGE="https://gitorious.org/qtmindmap" HOMEPAGE="https://gitorious.org/qtmindmap"
@ -21,28 +21,9 @@ DEPEND=">=x11-libs/qt-core-4.6
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_configure() { src_configure() {
eqmake4 "${S}"/qtmindmap-qtmindmap/qtmindmap.pro 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() { src_install() {
insopts -m0755 qt4-r2_src_install
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
} }

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

Loading…
Cancel
Save