Package-Manager: portage-2.2.20.1
EAPI=5
-inherit eutils qt4-r2
+inherit eutils qmake-utils qt4-r2
DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB drive"
HOMEPAGE="https://github.com/unetbootin/unetbootin"
src_configure() {
sed -i -e '/^RESOURCES/d' unetbootin.pro || die
- lupdate ${PN}.pro || die
- lrelease ${PN}.pro || die
+
+ UNBN_QTPATH="$(qt4_get_bindir)/"
+ ${UNBN_QTPATH}lupdate ${PN}.pro || die
+ ${UNBN_QTPATH}lrelease ${PN}.pro || die
+
eqmake4 ${PN}.pro || die
}