Date: Tuesday, May 21, 2019 @ 16:04:06 Author: arojas Revision: 353732
archrelease: copy trunk to testing-x86_64 Added: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 353731, qt5-webkit/trunk/PKGBUILD) Deleted: qt5-webkit/repos/testing-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-21 16:03:32 UTC (rev 353731) +++ PKGBUILD 2019-05-21 16:04:06 UTC (rev 353732) @@ -1,55 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgname=qt5-webkit -_commit=95401fe3908e0b4eebc9447e678298d768617bc7 -pkgver=qtwebkit+5.212.0alpha2+156+g95401fe3908 -pkgrel=1 -arch=(x86_64) -url='https://www.qt.io' -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 hyphen) -makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools git) -optdepends=('gst-plugins-good: Webm codec support') -conflicts=(qt5-webkit-ng) -replaces=(qt5-webkit-ng) -_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}" -source=(git+https://github.com/annulen/webkit#commit=$_commit) -#source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz") -sha256sums=('SKIP') - -pkgver() { - cd webkit - git describe --tags | sed -e 's/-/+/g' -e 's/+alpha/alpha/' -e 's/v//' -} - -prepare() { - mkdir -p build -} - -build() { - cd build - - cmake ../webkit \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DPORT=Qt \ - -DENABLE_TOOLS=OFF - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} - -# Fix pkgconfig files - sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc - sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc - sed -e '/Name/a Description: Qt WebKit module' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc - sed -e '/Name/a Description: Qt WebKitWidgets module' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc -} Copied: qt5-webkit/repos/testing-x86_64/PKGBUILD (from rev 353731, qt5-webkit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-21 16:04:06 UTC (rev 353732) @@ -0,0 +1,55 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-webkit +_commit=95401fe3908e0b4eebc9447e678298d768617bc7 +pkgver=5.212.0alpha2+156+g95401fe3908 +pkgrel=1 +arch=(x86_64) +url='https://www.qt.io' +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 hyphen) +makedepends=(cmake ruby gperf python2 qt5-doc qt5-tools git) +optdepends=('gst-plugins-good: Webm codec support') +conflicts=(qt5-webkit-ng) +replaces=(qt5-webkit-ng) +_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}" +source=(git+https://github.com/annulen/webkit#commit=$_commit) +#source=("https://github.com/annulen/webkit/releases/download/qtwebkit-$_qtver/qtwebkit-$_qtver.tar.xz") +sha256sums=('SKIP') + +pkgver() { + cd webkit + git describe --tags | sed -e 's/-/+/g' -e 's/+alpha/alpha/' -e 's/qtwebkit+//' -e 's/v//' +} + +prepare() { + mkdir -p build +} + +build() { + cd build + + cmake ../webkit \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DPORT=Qt \ + -DENABLE_TOOLS=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} + +# Fix pkgconfig files + sed -e 's|qt/Qt5WebKit|qt/QtWebKit|' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc + sed -e 's|qt/Qt5WebKitWidgets|qt/QtWebKitWidgets|' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc + sed -e '/Name/a Description: Qt WebKit module' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKit.pc + sed -e '/Name/a Description: Qt WebKitWidgets module' -i "$pkgdir"/usr/lib/pkgconfig/Qt5WebKitWidgets.pc +}