[arch-commits] Commit in qt5-webkit/repos (4 files)

Antonio Rojas arojas at archlinux.org
Mon Jan 2 21:08:14 UTC 2017


    Date: Monday, January 2, 2017 @ 21:08:13
  Author: arojas
Revision: 285226

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  qt5-webkit/repos/kde-unstable-i686/
  qt5-webkit/repos/kde-unstable-i686/PKGBUILD
    (from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)
  qt5-webkit/repos/kde-unstable-x86_64/
  qt5-webkit/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)

------------------------------+
 kde-unstable-i686/PKGBUILD   |   49 +++++++++++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

Copied: qt5-webkit/repos/kde-unstable-i686/PKGBUILD (from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2017-01-02 21:08:13 UTC (rev 285226)
@@ -0,0 +1,49 @@
+# $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
+_qtver=5.8.0-beta
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz" qt5-webkit-5.8.patch)
+md5sums=('0d65d15c20d62e0a095d3ad8553b2905'
+         '7aee65743e66fb29ee4835e6c600b1ad')
+
+prepare() {
+  mkdir -p build
+
+# Fix build
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-webkit-5.8.patch
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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/repos/kde-unstable-x86_64/PKGBUILD (from rev 285225, qt5-webkit/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-01-02 21:08:13 UTC (rev 285226)
@@ -0,0 +1,49 @@
+# $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
+_qtver=5.8.0-beta
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
+depends=('qt5-location' 'qt5-sensors' 'qt5-webchannel' 'libwebp' 'libxslt' 'libxcomposite' 'gst-plugins-base')
+makedepends=('ruby' 'gperf' 'python' 'qt5-doc' 'qt5-tools')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz" qt5-webkit-5.8.patch)
+md5sums=('0d65d15c20d62e0a095d3ad8553b2905'
+         '7aee65743e66fb29ee4835e6c600b1ad')
+
+prepare() {
+  mkdir -p build
+
+# Fix build
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-webkit-5.8.patch
+}
+
+build() {
+  cd build  
+
+  qmake ../${_pkgfqn}
+  make
+  make docs
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install install_docs
+
+  # 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