[arch-commits] Commit in libqtshadowsocks/repos (3 files)

Antonio Rojas arojas at archlinux.org
Sat Jul 20 09:27:56 UTC 2019


    Date: Saturday, July 20, 2019 @ 09:27:56
  Author: arojas
Revision: 492267

archrelease: copy trunk to community-staging-x86_64

Added:
  libqtshadowsocks/repos/community-staging-x86_64/
  libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD
    (from rev 492266, libqtshadowsocks/trunk/PKGBUILD)
  libqtshadowsocks/repos/community-staging-x86_64/libqtshadowsocks-botan-2.11.patch
    (from rev 492266, libqtshadowsocks/trunk/libqtshadowsocks-botan-2.11.patch)

-----------------------------------+
 PKGBUILD                          |   32 ++++++++++++++++++++++++++++++++
 libqtshadowsocks-botan-2.11.patch |   13 +++++++++++++
 2 files changed, 45 insertions(+)

Copied: libqtshadowsocks/repos/community-staging-x86_64/PKGBUILD (from rev 492266, libqtshadowsocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-07-20 09:27:56 UTC (rev 492267)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: yk <yk at archlinuxcn dot org>
+
+pkgname=libqtshadowsocks
+pkgver=2.1.0
+pkgrel=7
+pkgdesc="A lightweight library for shadowsocks"
+arch=("x86_64")
+url="https://github.com/shadowsocks/libQtShadowsocks"
+license=("GPL")
+depends=('botan>=2.7.0' 'qt5-base')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shadowsocks/libQtShadowsocks/archive/v$pkgver.tar.gz"
+        libqtshadowsocks-botan-2.11.patch)
+sha512sums=('af5b71ce7e40b593bf95c1000d866e2c4426d17398620083a996b84234524e8418fbae071edd03ac1944817a96d7eee8b0b7a5860872fef41996ebbda8418558'
+            'ba825507fb714a350e2eeafaad0435f901efb8c65ae8c5bbbba6839c028d698dafc6d665c5c648ded6bbe666a5e35f1721a0ec214df7648e98bd2b5d7076d24f')
+
+prepare() {
+  cd libQtShadowsocks-$pkgver
+  patch -p1 -i ../libqtshadowsocks-botan-2.11.patch # Fix build with botan 2.11
+}
+
+build() {
+  cd libQtShadowsocks-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
+}
+
+package() {
+  cd libQtShadowsocks-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: libqtshadowsocks/repos/community-staging-x86_64/libqtshadowsocks-botan-2.11.patch (from rev 492266, libqtshadowsocks/trunk/libqtshadowsocks-botan-2.11.patch)
===================================================================
--- community-staging-x86_64/libqtshadowsocks-botan-2.11.patch	                        (rev 0)
+++ community-staging-x86_64/libqtshadowsocks-botan-2.11.patch	2019-07-20 09:27:56 UTC (rev 492267)
@@ -0,0 +1,13 @@
+diff --git a/lib/crypto/cipher.cpp b/lib/crypto/cipher.cpp
+index 561d677..f1bab7c 100644
+--- a/lib/crypto/cipher.cpp
++++ b/lib/crypto/cipher.cpp
+@@ -26,7 +26,7 @@
+ #include <stdexcept>
+ 
+ #include <botan/auto_rng.h>
+-#include <botan/key_filt.h>
++#include <botan/filters.h>
+ #include <botan/lookup.h>
+ #include <botan/md5.h>
+ #include <botan/pipe.h>


More information about the arch-commits mailing list