[arch-commits] Commit in qt5-webkit/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sun Jun 12 14:52:46 UTC 2016
Date: Sunday, June 12, 2016 @ 16:52:46
Author: arojas
Revision: 269398
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
qt5-webkit/repos/testing-i686/
qt5-webkit/repos/testing-i686/PKGBUILD
(from rev 269397, qt5-webkit/trunk/PKGBUILD)
qt5-webkit/repos/testing-x86_64/
qt5-webkit/repos/testing-x86_64/PKGBUILD
(from rev 269397, qt5-webkit/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Copied: qt5-webkit/repos/testing-i686/PKGBUILD (from rev 269397, qt5-webkit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-06-12 14:52:46 UTC (rev 269398)
@@ -0,0 +1,48 @@
+# $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.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' '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' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz")
+md5sums=('9ea7cb557375ba2fc7c62742c522d093')
+
+prepare() {
+ mkdir -p build
+
+# Hack to force python2
+ mkdir -p bin
+ ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+ cd build
+
+ export PATH="${srcdir}/bin:$PATH"
+ qmake ../${_pkgfqn}
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$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/repos/testing-x86_64/PKGBUILD (from rev 269397, qt5-webkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-06-12 14:52:46 UTC (rev 269398)
@@ -0,0 +1,48 @@
+# $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.6.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL' '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' 'python2')
+optdepends=('gst-plugins-good: Webm codec support')
+conflicts=('qt')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${pkgver}"
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${pkgver}/qtwebkit-opensource-src-${pkgver}.tar.xz")
+md5sums=('9ea7cb557375ba2fc7c62742c522d093')
+
+prepare() {
+ mkdir -p build
+
+# Hack to force python2
+ mkdir -p bin
+ ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+ cd build
+
+ export PATH="${srcdir}/bin:$PATH"
+ qmake ../${_pkgfqn}
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$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