diff --git a/other/qtmindmap-0.2.ebuild b/other/qtmindmap-0.2.ebuild index 80e2f3d..9dcb1a2 100644 --- a/other/qtmindmap-0.2.ebuild +++ b/other/qtmindmap-0.2.ebuild @@ -3,14 +3,15 @@ KEYWORDS="~x86" EAPI="3" inherit qt4-r2 -LANGS="hu" -IUSE="linguas_hu" +LANGS="hu nb" +IUSE="linguas_hu linguas_nb" DESCRIPTION="MindMap software written in Qt" HOMEPAGE="https://gitorious.org/qtmindmap" SRC_URI="http://matetelki.com/qtmindmap/qtmindmap-qtmindmap-master.tar.gz" LICENSE="GPL-2" +# some functions introduced in qt 4.6 DEPEND=">=x11-libs/qt-core-4.6 >=x11-libs/qt-gui-4.6 >=x11-libs/qt-svg-4.6 @@ -18,16 +19,20 @@ DEPEND=">=x11-libs/qt-core-4.6 >=x11-libs/qt-xmlpatterns-4.6" RDEPEND="${DEPEND}" - src_configure() { eqmake4 "${S}"/qtmindmap-qtmindmap/qtmindmap.pro + +# lrelease /qtmindmap-qtmindmap/lang/qtmindmap_hu.ts +# lrelease /qtmindmap-qtmindmap/lang/qtmindmap_nb_NO.ts } src_install() { - # do normal installation -# qt4-r2_src_install -# cp qtmindmap /usr/bin/ - emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "emake install failed" - # Install translations - # TODO how? + + insopts -m0755 + insinto /usr/bin + doins qtmindmap + +# insinto /usr/share/qtmindmap/i18n +# doins /qtmindmap-qtmindmap/lang/qtmindmap_hu.ts +# doins /qtmindmap-qtmindmap/lang/qtmindmap_nb_NO.ts } \ No newline at end of file diff --git a/qtmindmap.pro b/qtmindmap.pro index 23a13b8..26de43e 100644 --- a/qtmindmap.pro +++ b/qtmindmap.pro @@ -38,4 +38,4 @@ TRANSLATIONS += lang/qtmindmap_hu.ts \ CODECFORTR = UTF-8 -DESTDIR = usr/bin +#DESTDIR = usr/bin