Sfoglia il codice sorgente

downgraded to tp5 version

Bachir Soussi Chiadmi 7 anni fa
parent
commit
88a39247e9
2 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  1. 4 4
      .SRCINFO
  2. 6 6
      PKGBUILD

+ 4 - 4
.SRCINFO

@@ -1,8 +1,8 @@
 # Generated by mksrcinfo v8
-# Sun Jun 11 20:01:50 UTC 2017
+# Mon Jun 26 14:30:57 UTC 2017
 pkgbase = qt5-webkit-print
 	pkgdesc = Classes for a WebKit2 based implementation and a new QML API (maintained fork) (patched with pdf scale and background fixes)
-	pkgver = 5.212.0
+	pkgver = tp5
 	pkgrel = 1
 	url = https://github.com/annulen/webkit/wiki
 	arch = x86_64
@@ -27,13 +27,13 @@ pkgbase = qt5-webkit-print
 	optdepends = gst-plugins-good: Webm codec support
 	provides = qt5-webkit
 	conflicts = qt5-webkit
-	source = https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha/qtwebkit-5.212.0-alpha.tar.xz
+	source = https://github.com/annulen/webkit/releases/download/qtwebkit-tp5/qtwebkit-tp5.tar.xz
 	source = qt5-webkit-icu59.patch
 	source = qt5-webkit-ng-gcc7.patch
 	source = qt5-webkit-ng-functional.patch
 	source = qt5-webkit-pdf_scaling.patch
 	source = qt5-webkit-solid_background_PDF.patch
-	sha256sums = f70fea4623a0f1df6ec535358f9c431d6ead9c04742a85258aaabcd0805d2719
+	sha256sums = 553dfb47a10d256314b74105d0eafadab0efc0ebd32d77a09cffbe2fed09def8
 	sha256sums = e1306e696ad7125fa00083aa966be0ea6fe6de555c9e1d119957f208f258edfe
 	sha256sums = 58ecbd8708f5afe4e974fdcd6c1f32fea61ccc55dc9bb711768f2d0da6963fb8
 	sha256sums = c85344edcc23930c0190b2f8ec3847bf8bdbbf7f1d4fa877c502e354e5f4233e

+ 6 - 6
PKGBUILD

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