[arch-commits] Commit in qcef/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Apr 8 07:35:53 UTC 2018


    Date: Sunday, April 8, 2018 @ 07:35:53
  Author: felixonmars
Revision: 315042

archrelease: copy trunk to community-x86_64

Added:
  qcef/repos/community-x86_64/PKGBUILD
    (from rev 315041, qcef/trunk/PKGBUILD)
Deleted:
  qcef/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 45 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-08 07:35:23 UTC (rev 315041)
+++ PKGBUILD	2018-04-08 07:35:53 UTC (rev 315042)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=qcef
-pkgver=1.1.4.3
-pkgrel=1
-pkgdesc="Qt5 binding of CEF"
-arch=('x86_64')
-url="https://github.com/linuxdeepin/qcef"
-license=('GPL')
-depends=('gconf' 'libxss' 'nss' 'qt5-webchannel' 'qt5-x11extras')
-makedepends=('cmake' 'qt5-tools')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/linuxdeepin/qcef/archive/$pkgver.tar.gz")
-sha512sums=('49fb3a364e40cdddf4e366e482f668ef62182f8f8ed95bed9b44eaf60e38f3c77338172412121db374d95015e8474b7a8e7d3fe7060f4f9cb86545fdab71d482')
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../qcef-$pkgver
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  chmod +s "$pkgdir"/usr/lib/qcef/chrome-sandbox
-  rm -rf "$pkgdir"/build
-}

Copied: qcef/repos/community-x86_64/PKGBUILD (from rev 315041, qcef/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-08 07:35:53 UTC (rev 315042)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=qcef
+pkgver=1.1.4.4
+_cefcommit=854e4930be007f08c62a46c0a5a259c0cfb83569
+pkgrel=1
+pkgdesc="Qt5 binding of CEF"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/qcef"
+license=('GPL')
+depends=('gconf' 'libxss' 'nss' 'qt5-webchannel' 'qt5-x11extras')
+makedepends=('cmake' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qcef/archive/$pkgver.tar.gz"
+        "cef-$_cefcommit.tar.gz::https://github.com/linuxdeepin/cef-binary/archive/$_cefcommit.tar.gz")
+        # http://opensource.spotify.com/cefbuilds/cef_binary_${_cefver}_linux64_minimal.tar.bz2
+        # https://raw.githubusercontent.com/cztomczak/cefpython/master/patches/issue231.patch)
+sha512sums=('18dbecb57d0c09314bf8a7f411e90da1f5a2aa5786f7ef8d5e0972bea184d9ebe2646236ac9607b12d0bc6daf34a0d6453beb400fd36bf917b642d097aa7ea54'
+            'b17dff043819ac5a506dc698b899c3d3eb82dadfde87c4f7e158409dfadb7e25cc6aa4a0fadf586dd1990187229d16e793f3acdcfe4b231cda4afe79354c67cc')
+
+prepare() {
+  mkdir -p build
+
+  # TODO: build cef instead of using binary distribution
+  rmdir qcef-$pkgver/cef
+  mv cef-binary-$_cefcommit qcef-$pkgver/cef
+
+  # mv cef_binary_${_cefver}_linux64_minimal qcef-$pkgver/cef
+  # cd qcef-$pkgver/cef
+  # tar czvf cef.x86_64.tar.gz Release Resources
+}
+
+build() {
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../qcef-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  chmod +s "$pkgdir"/usr/lib/qcef/chrome-sandbox
+  rm -rf "$pkgdir"/build
+}



More information about the arch-commits mailing list