kdiff3: switch to qt5

This commit is contained in:
maxice8 2019-04-10 10:18:41 -03:00 committed by maxice8
parent 2a103ed8e2
commit d17f832474

View file

@ -1,11 +1,11 @@
# Template file for 'kdiff3'
pkgname=kdiff3
version=0.9.98
revision=1
revision=2
build_wrksrc=src-QT4
build_style=qmake
makedepends="qt-devel"
short_desc="A file comparator/merge tool (qt4 version, no kde dep)"
makedepends="qt5-devel"
short_desc="File comparator/merge tool"
maintainer="Ben Sung Hsu <pobetiger+kdiff3@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://kdiff3.sourceforge.net/"
@ -13,9 +13,9 @@ distfiles="${SOURCEFORGE_SITE}/kdiff3/kdiff3-${version}.tar.gz"
checksum=802c1ababa02b403a5dca15955c01592997116a24909745016931537210fd668
if [ "$CROSS_BUILD" ]; then
hostmakedepends+="qt-devel qt-host-tools"
hostmakedepends+=" qt5-devel qt5-host-tools"
fi
pre_install() {
sed -ie 's@usr\/local@usr@g' Makefile
vsed -i 's@usr\/local@usr@g' Makefile
}