From 6df2a6e0a7180b37d10fbb8352a9759e4356ca8d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 11 Dec 2014 07:26:28 +0000 Subject: main/qt5-qtdeclarative: fix file conflicts with qt4 --- main/qt5-qtdeclarative/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main/qt5-qtdeclarative') diff --git a/main/qt5-qtdeclarative/APKBUILD b/main/qt5-qtdeclarative/APKBUILD index 9fecac6eb3..a5ef5d852f 100644 --- a/main/qt5-qtdeclarative/APKBUILD +++ b/main/qt5-qtdeclarative/APKBUILD @@ -5,7 +5,7 @@ _ver=${pkgver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _V=${_ver/rc/RC} -pkgrel=0 +pkgrel=1 pkgdesc="Qt5 - QtDeclarative component" url="http://qt-project.org/" arch="all" @@ -42,6 +42,11 @@ package() { cd "$_builddir" make install INSTALL_ROOT="$pkgdir" || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 + + # work around qt4 conflicts + for i in qmlplugindump qmlprofiler; do + mv "$pkgdir"/usr/bin/$i "$pkgdir"/usr/bin/$i-qt5 || return 1 + done } md5sums="72ae60527ebb15f4b85cfbadc4c174de qtdeclarative-opensource-src-5.3.2.tar.xz" -- cgit v1.2.3