1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit qmake-utils xdg-utils
8 DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt"
9 HOMEPAGE="http://www.qtfm.org/"
10 SRC_URI="https://dev.gentoo.org/~jer/${P}.zip"
25 dev-qt/linguist-tools:5
28 PATCHES=( "${FILESDIR}"/${PN}-5.5-gcc6.patch )
30 S=${WORKDIR}/${PN}-master
33 rm translations/${PN}_XX.ts || die
38 -e '/MimeType=/s|$|;|' \
39 -e '/Categories=/s|$|;System;FileTools;|' \
42 sed -i -e '/^INSTALLS/s/docs//' ${PN}.pro || die
46 "$(qt5_get_bindir)"/lrelease translations/*.ts || die
51 emake INSTALL_ROOT="${D}" install
56 xdg_desktop_database_update
60 xdg_desktop_database_update