TQt: Improve `qmake.conf` fixing.

Signed-off-by: Chris <xchrisx@uber.space>
pull/146/head
Chris 4 years ago
parent 8030f4f93c
commit 1921c77796

@ -217,13 +217,13 @@ src_compile() {
}
src_install() {
# Fix qmake.conf files
find "${S}"/mkspecs -name qmake.conf | xargs \
sed -i -e "s:\$(QTDIR):${TQTBASE}:" || die
# Install TQt with all compiled before
emake INSTALL_ROOT="${D}" install
# Fix qmake.conf files
find "${D}${TQTBASE}/mkspecs" -name qmake.conf | xargs \
sed -i -e "s:\$(QTDIR):${TQTBASE}:" || die
# Fix pkgconfig location
dodir /usr/$(get_libdir)
mv "${D}${TQTBASE}/$(get_libdir)/pkgconfig" "${D}/usr/$(get_libdir)/"

@ -216,13 +216,13 @@ src_compile() {
}
src_install() {
# Fix qmake.conf files
find "${S}"/mkspecs -name qmake.conf | xargs \
sed -i -e "s:\$(TQTDIR):${TQTBASE}:" || die
# Install TQt with all compiled before
emake INSTALL_ROOT="${D}" install
# Fix qmake.conf files
find "${D}${TQTBASE}/mkspecs" -name qmake.conf | xargs \
sed -i -e "s:\$(TQTDIR):${TQTBASE}:" || die
# Fix pkgconfig location
dodir /usr/$(get_libdir)
mv "${D}${TQTBASE}/$(get_libdir)/pkgconfig" "${D}/usr/$(get_libdir)/"

Loading…
Cancel
Save