[arch-commits] Commit in wiznote/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 7 12:52:31 UTC 2020
Date: Sunday, June 7, 2020 @ 12:52:31
Author: felixonmars
Revision: 639995
archrelease: copy trunk to community-x86_64
Added:
wiznote/repos/community-x86_64/PKGBUILD
(from rev 639994, wiznote/trunk/PKGBUILD)
Deleted:
wiznote/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-07 12:52:15 UTC (rev 639994)
+++ PKGBUILD 2020-06-07 12:52:31 UTC (rev 639995)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Albert.Zhou <albert.zhou at wiz.cn>
-
-pkgname=wiznote
-pkgver=2.8.3
-_commit=be113e9be899c1559ae5b3a093ee5f05e0364eec
-pkgrel=1
-pkgdesc="Opensource cross-platform cloud based note-taking client"
-arch=('x86_64')
-url="http://www.wiznote.com"
-license=('GPL3' 'custom')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-websockets' 'qt5-webengine'
- 'qt5-svg') # 'crypto++')
-# shared clucene/quazip triggers segfault
-makedepends=('cmake' 'qt5-tools' 'boost')
-source=("$pkgname-$_commit.tar.gz::https://github.com/WizTeam/WizQTClient/archive/$_commit.tar.gz")
-sha512sums=('445370ebb239d82a4c1f82db289d9f0f9c43dfb9017cb198b415875b60349353616c3d4052979818be2191f5e5ce19d7f2ebcf21c9328fe39b660df9fb295205')
-
-prepare() {
- #sed -e 's/add_subdirectory(cryptopp)//' \
- # -i WizQTClient-$_commit/lib/CMakeLists.txt
- #sed -e 's/cryptlib/cryptopp/' \
- # -i WizQTClient-$_commit/src/CMakeLists.txt
-
- # https://github.com/WizTeam/WizQTClient/issues/610
- sed -i 's/= nPosition;/= (Json::UInt64)nPosition;/' WizQTClient-$_commit/src/share/WizObject.cpp
-
- rm -rf build; mkdir build
-}
-
-build() {
- cd build
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ../WizQTClient-$_commit
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir/" install
-}
Copied: wiznote/repos/community-x86_64/PKGBUILD (from rev 639994, wiznote/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-07 12:52:31 UTC (rev 639995)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Albert.Zhou <albert.zhou at wiz.cn>
+
+pkgname=wiznote
+pkgver=2.8.4
+_commit=ce110ef42d48c73160cb59f5e9b026c5b42617e4
+pkgrel=1
+pkgdesc="Opensource cross-platform cloud based note-taking client"
+arch=('x86_64')
+url="http://www.wiznote.com"
+license=('GPL3' 'custom')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-websockets' 'qt5-webengine'
+ 'qt5-svg') # 'crypto++')
+# shared clucene/quazip triggers segfault
+makedepends=('cmake' 'qt5-tools' 'boost')
+source=("$pkgname-$_commit.tar.gz::https://github.com/WizTeam/WizQTClient/archive/$_commit.tar.gz")
+sha512sums=('25ee69993924e9744e9e4e06b174f65aa6b49031f003932386e121dd8d53435af814d78eb6471a194c395fc3b3551081025de2918a0be068cb623415e7c47157')
+
+prepare() {
+ #sed -e 's/add_subdirectory(cryptopp)//' \
+ # -i WizQTClient-$_commit/lib/CMakeLists.txt
+ #sed -e 's/cryptlib/cryptopp/' \
+ # -i WizQTClient-$_commit/src/CMakeLists.txt
+
+ # https://github.com/WizTeam/WizQTClient/issues/610
+ sed -i 's/= nPosition;/= (Json::UInt64)nPosition;/' WizQTClient-$_commit/src/share/WizObject.cpp
+
+ sed -i '/#include <QPainter>/a #include <QPainterPath>' WizQTClient-$_commit/src/sync/WizAvatarHost.cpp
+
+ rm -rf build; mkdir build
+}
+
+build() {
+ cd build
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ../WizQTClient-$_commit
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list