[arch-commits] Commit in monero-gui/trunk (PKGBUILD no-avx2.patch)

2020-03-09 Thread Kpcyrd via arch-commits
Date: Monday, March 9, 2020 @ 14:58:40
  Author: kpcyrd
Revision: 593110

upgpkg: monero-gui 0.15.0.4-1

Modified:
  monero-gui/trunk/PKGBUILD
Deleted:
  monero-gui/trunk/no-avx2.patch

---+
 PKGBUILD  |   11 ---
 no-avx2.patch |   13 -
 2 files changed, 4 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-09 14:50:45 UTC (rev 593109)
+++ PKGBUILD2020-03-09 14:58:40 UTC (rev 593110)
@@ -1,8 +1,8 @@
 # Maintainer: kpcyrd 
 
 pkgname=monero-gui
-pkgver=0.15.0.3
-pkgrel=3
+pkgver=0.15.0.4
+pkgrel=1
 pkgdesc="QT GUI wallet for Monero: the secure, private, untraceable 
peer-to-peer currency"
 license=('BSD')
 arch=('x86_64')
@@ -11,12 +11,10 @@
 'qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-quickcontrols' 
'qt5-quickcontrols2' 'qt5-svg' 'qt5-xmlpatterns')
 makedepends=('git' 'cmake' 'boost' 'qt5-tools')
 source=(
-
"${pkgname}"::"git+https://github.com/monero-project/monero-gui#tag=v${pkgver};
+"git+https://github.com/monero-project/monero-gui#tag=v${pkgver};
 "git+https://github.com/monero-project/monero;
-"no-avx2.patch"
 )
 sha512sums=('SKIP'
-'SKIP'
 'SKIP')
 
 prepare() {
@@ -24,12 +22,11 @@
   git submodule init
   git config submodule.monero.url "$srcdir/monero"
   git submodule update
-  patch --forward --strip=1 --input="${srcdir}/no-avx2.patch"
 }
 
 build() {
   cd "${pkgname}"
-  QT_SELECT=5 ./build.sh
+  ARCH=default QT_SELECT=5 ./build.sh
 }
 
 package() {

Deleted: no-avx2.patch
===
--- no-avx2.patch   2020-03-09 14:50:45 UTC (rev 593109)
+++ no-avx2.patch   2020-03-09 14:58:40 UTC (rev 593110)
@@ -1,13 +0,0 @@
-diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
-index 90d0408..4f5bb91 100755
 a/get_libwallet_api.sh
-+++ b/get_libwallet_api.sh
-@@ -158,7 +158,7 @@ elif [ "$platform" == "linux64" ]; then
- elif [ "$STATIC" == true ]; then
- cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D STATIC=ON -D 
ARCH="x86-64" -D BUILD_64=ON -D BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON -D 
INSTALL_VENDORED_LIBUNBOUND=ON $BUILD_TREZOR_FLAGS -D 
CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
- else
--cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D BUILD_TAG="linux-x64" 
-D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D CMAKE_INSTALL_PREFIX="$MONERO_DIR"  
../..
-+cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D ARCH="default" -D 
BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D 
CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
- fi
- 
- ## LINUX 32


[arch-commits] Commit in monero-gui/trunk (PKGBUILD no-avx2.patch)

2019-12-15 Thread Kpcyrd via arch-commits
Date: Monday, December 16, 2019 @ 05:03:28
  Author: kpcyrd
Revision: 537827

Do not attempt to use AVX2 instructions

Added:
  monero-gui/trunk/no-avx2.patch
Modified:
  monero-gui/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 no-avx2.patch |   13 +
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-16 01:33:46 UTC (rev 537826)
+++ PKGBUILD2019-12-16 05:03:28 UTC (rev 537827)
@@ -2,9 +2,9 @@
 
 pkgname=monero-gui
 pkgver=0.15.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Official QT GUI wallet for Monero, a private, secure, untraceable 
peer-to-peer currency"
-license=('custom:Cryptonote')
+license=('BSD')
 arch=('x86_64')
 url="https://getmonero.org/;
 depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 
'hidapi' 'unbound'
@@ -13,9 +13,11 @@
 source=(
 
"${pkgname}"::"git+https://github.com/monero-project/monero-gui#tag=v${pkgver};
 "git+https://github.com/monero-project/monero.git;
+"no-avx2.patch"
 )
 sha512sums=('SKIP'
-'SKIP')
+'SKIP'
+
'dab89406ce77cd7e96adfe81156d262aa8457220b73dcfe86be50bf0322230319efb73517954e126ef77b8c90d68fb706d924ce432f9c6aabac3f94cd55ea553')
 
 prepare() {
   cd "${pkgname}"
@@ -22,6 +24,7 @@
   git submodule init
   git config submodule.monero.url "$srcdir/monero"
   git submodule update
+  patch --forward --strip=1 --input="${srcdir}/no-avx2.patch"
 }
 
 build() {

Added: no-avx2.patch
===
--- no-avx2.patch   (rev 0)
+++ no-avx2.patch   2019-12-16 05:03:28 UTC (rev 537827)
@@ -0,0 +1,13 @@
+diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
+index 90d0408..4f5bb91 100755
+--- a/get_libwallet_api.sh
 b/get_libwallet_api.sh
+@@ -158,7 +158,7 @@ elif [ "$platform" == "linux64" ]; then
+ elif [ "$STATIC" == true ]; then
+ cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D STATIC=ON -D 
ARCH="x86-64" -D BUILD_64=ON -D BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON -D 
INSTALL_VENDORED_LIBUNBOUND=ON $BUILD_TREZOR_FLAGS -D 
CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
+ else
+-cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D BUILD_TAG="linux-x64" 
-D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D CMAKE_INSTALL_PREFIX="$MONERO_DIR"  
../..
++cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -D ARCH="default" -D 
BUILD_TAG="linux-x64" -D BUILD_GUI_DEPS=ON $BUILD_TREZOR_FLAGS -D 
CMAKE_INSTALL_PREFIX="$MONERO_DIR"  ../..
+ fi
+ 
+ ## LINUX 32