[arch-commits] Commit in qt5-webkit-ng (5 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 21 13:26:09 UTC 2017


    Date: Saturday, January 21, 2017 @ 13:26:08
  Author: arojas
Revision: 287084

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  qt5-webkit-ng/repos/
  qt5-webkit-ng/repos/extra-i686/
  qt5-webkit-ng/repos/extra-i686/PKGBUILD
    (from rev 287083, qt5-webkit-ng/trunk/PKGBUILD)
  qt5-webkit-ng/repos/extra-x86_64/
  qt5-webkit-ng/repos/extra-x86_64/PKGBUILD
    (from rev 287083, qt5-webkit-ng/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: qt5-webkit-ng/repos/extra-i686/PKGBUILD (from rev 287083, qt5-webkit-ng/trunk/PKGBUILD)
===================================================================
--- repos/extra-i686/PKGBUILD	                        (rev 0)
+++ repos/extra-i686/PKGBUILD	2017-01-21 13:26:08 UTC (rev 287084)
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-webkit-ng
+_qtver=tp4
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(i686 x86_64)
+url='https://github.com/annulen/webkit/wiki'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API (maintained fork)'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite gst-plugins-base hyphen)
+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/archive/qtwebkit-$pkgver.tar.gz")
+md5sums=('d923032e9edc86e2adef389d86f52e7f')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build  
+
+  cmake ../webkit-qtwebkit-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPORT=Qt
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}

Copied: qt5-webkit-ng/repos/extra-x86_64/PKGBUILD (from rev 287083, qt5-webkit-ng/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2017-01-21 13:26:08 UTC (rev 287084)
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-webkit-ng
+_qtver=tp4
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(i686 x86_64)
+url='https://github.com/annulen/webkit/wiki'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API (maintained fork)'
+depends=(qt5-location qt5-sensors qt5-webchannel libwebp libxslt libxcomposite gst-plugins-base hyphen)
+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/archive/qtwebkit-$pkgver.tar.gz")
+md5sums=('d923032e9edc86e2adef389d86f52e7f')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build  
+
+  cmake ../webkit-qtwebkit-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DPORT=Qt
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir/usr/lib" -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list