|
@@ -1,7 +1,7 @@
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
pkgname=qt5-webkit-print
|
|
pkgname=qt5-webkit-print
|
|
-_qtver=5.212.0
|
|
|
|
|
|
+_qtver=tp5
|
|
pkgver=${_qtver/-/}
|
|
pkgver=${_qtver/-/}
|
|
pkgrel=1
|
|
pkgrel=1
|
|
arch=(x86_64)
|
|
arch=(x86_64)
|
|
@@ -13,9 +13,9 @@ makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools)
|
|
optdepends=('gst-plugins-good: Webm codec support')
|
|
optdepends=('gst-plugins-good: Webm codec support')
|
|
conflicts=(qt5-webkit)
|
|
conflicts=(qt5-webkit)
|
|
provides=(qt5-webkit)
|
|
provides=(qt5-webkit)
|
|
-source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$pkgver-alpha/qtwebkit-$pkgver-alpha.tar.xz"
|
|
|
|
|
|
+source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz"
|
|
qt5-webkit-icu59.patch qt5-webkit-ng-gcc7.patch qt5-webkit-ng-functional.patch qt5-webkit-pdf_scaling.patch qt5-webkit-solid_background_PDF.patch)
|
|
qt5-webkit-icu59.patch qt5-webkit-ng-gcc7.patch qt5-webkit-ng-functional.patch qt5-webkit-pdf_scaling.patch qt5-webkit-solid_background_PDF.patch)
|
|
-sha256sums=('f70fea4623a0f1df6ec535358f9c431d6ead9c04742a85258aaabcd0805d2719'
|
|
|
|
|
|
+sha256sums=('553dfb47a10d256314b74105d0eafadab0efc0ebd32d77a09cffbe2fed09def8'
|
|
'e1306e696ad7125fa00083aa966be0ea6fe6de555c9e1d119957f208f258edfe'
|
|
'e1306e696ad7125fa00083aa966be0ea6fe6de555c9e1d119957f208f258edfe'
|
|
'58ecbd8708f5afe4e974fdcd6c1f32fea61ccc55dc9bb711768f2d0da6963fb8'
|
|
'58ecbd8708f5afe4e974fdcd6c1f32fea61ccc55dc9bb711768f2d0da6963fb8'
|
|
'c85344edcc23930c0190b2f8ec3847bf8bdbbf7f1d4fa877c502e354e5f4233e'
|
|
'c85344edcc23930c0190b2f8ec3847bf8bdbbf7f1d4fa877c502e354e5f4233e'
|
|
@@ -25,7 +25,7 @@ sha256sums=('f70fea4623a0f1df6ec535358f9c431d6ead9c04742a85258aaabcd0805d2719'
|
|
prepare() {
|
|
prepare() {
|
|
mkdir -p build
|
|
mkdir -p build
|
|
|
|
|
|
- cd qtwebkit-$pkgver-alpha
|
|
|
|
|
|
+ cd qtwebkit-$_qtver
|
|
# Fix build with ICU 59 (PLD linux)
|
|
# Fix build with ICU 59 (PLD linux)
|
|
patch -p1 -i ../qt5-webkit-icu59.patch
|
|
patch -p1 -i ../qt5-webkit-icu59.patch
|
|
# Fix build with GCC 7
|
|
# Fix build with GCC 7
|
|
@@ -41,7 +41,7 @@ prepare() {
|
|
build() {
|
|
build() {
|
|
cd build
|
|
cd build
|
|
|
|
|
|
- cmake ../qtwebkit-$pkgver-alpha \
|
|
|
|
|
|
+ cmake ../qtwebkit-$_qtver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DPORT=Qt \
|
|
-DPORT=Qt \
|
|
@@ -64,7 +64,7 @@ build() {
|
|
# -DENABLE_GAMEPAD=OFF \
|
|
# -DENABLE_GAMEPAD=OFF \
|
|
# -DENABLE_MEDIA_CAPTURE=OFF \
|
|
# -DENABLE_MEDIA_CAPTURE=OFF \
|
|
# -DENABLE_VIBRATION=OFF
|
|
# -DENABLE_VIBRATION=OFF
|
|
- make
|
|
|
|
|
|
+ make -j2
|
|
}
|
|
}
|
|
|
|
|
|
package() {
|
|
package() {
|