diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -2,7 +2,7 @@ # Contributor : enckse <enckse [at] gmail [dot] com> pkgname=kxstitch pkgver=2.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="The program that lets you create cross stitch patterns and charts." arch=('i686' 'x86_64') depends=('plasma-workspace' 'imagemagick') @@ -12,23 +12,18 @@ url="https://userbase.kde.org/KXStitch" license=('GPL') source=("https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz" "${pkgname}.install" - #"imagemagick.patch::https://github.com/KDE/kxstitch/commit/295773f44bfda1227d85edf065a8de14dc889159.diff" + "kxstitch-qt5.11.patch" ) sha1sums=('6f712bca3173b90149b67640fb1b63d02725c9ef' '8e58ce0776eff7ef29394a2f7a089191a4af0b1d' - #'e2d3c7ee0d9b62b7e0b1e4bcb327ee90f6edce3a' + '8c392224f4fa0ce5e036bc59cbe42c407649c663' ) install=${pkgname}.install build() { cd "${srcdir}/kxstitch-${pkgver}" - #sed -i 's/-DMAGICKCORE_HDRI_ENABLE=0/-DMAGICKCORE_HDRI_ENABLE=1/' CMakeLists.txt - - # Avoid bug in cmake : - #sed -i '5i\cmake_policy(SET CMP0002 OLD)' CMakeLists.txt - - #cp ../imagemagick.patch . - #patch -p1 < imagemagick.patch + cp ../kxstitch-qt5.11.patch . + patch -p1 < kxstitch-qt5.11.patch rm -rf build mkdir build cd build |