[arch-commits] Commit in gogglesmm/trunk (PKGBUILD fix-build.patch)

Antonio Rojas arojas at gemini.archlinux.org
Sat Apr 23 08:06:05 UTC 2022


    Date: Saturday, April 23, 2022 @ 08:06:05
  Author: arojas
Revision: 1187493

3E518BF2526FD1979E8AAE4965C110C1EA433FC7 key removal

Added:
  gogglesmm/trunk/fix-build.patch
Modified:
  gogglesmm/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   13 ++++++++++---
 fix-build.patch |   15 +++++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 07:48:02 UTC (rev 1187492)
+++ PKGBUILD	2022-04-23 08:06:05 UTC (rev 1187493)
@@ -4,7 +4,7 @@
 
 pkgname=gogglesmm
 pkgver=1.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Music Manager and Player"
 arch=('x86_64')
 url="https://gogglesmm.github.io/"
@@ -35,9 +35,16 @@
              'pkgconfig'
              'alsa-lib'
              'libpulse')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/gogglesmm/gogglesmm/archive/$pkgver.tar.gz")
-sha512sums=('5df35eb23a0ea3d4217d8395b42499ed2cbd8d42cc7522c58c7f1364dd8f4e98c7005a81ef71229fdd96040f10b19be29cb6e1854f46b4e4613642b50dda6710')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gogglesmm/gogglesmm/archive/$pkgver.tar.gz"
+         fix-build.patch)
+sha512sums=('5df35eb23a0ea3d4217d8395b42499ed2cbd8d42cc7522c58c7f1364dd8f4e98c7005a81ef71229fdd96040f10b19be29cb6e1854f46b4e4613642b50dda6710'
+            '87a027af5d6c51d494c035f183cf35ee20e8a11437b1c20f0328a7ef8e14f4b1b0bcc963b5d9464ad2185ab7b626d442c411a95d6eec40b3a2a9fba2dc6b6b64')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -p1 < ../fix-build.patch
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
   cmake . \

Added: fix-build.patch
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2022-04-23 08:06:05 UTC (rev 1187493)
@@ -0,0 +1,15 @@
+diff --git a/cfox/CMakeLists.txt b/cfox/CMakeLists.txt
+index 47a96f4..d23694f 100644
+--- a/cfox/CMakeLists.txt
++++ b/cfox/CMakeLists.txt
+@@ -49,10 +49,6 @@ if(HAS_CXX_WEXTRA)
+     add_compile_options(-Wextra)
+ endif()
+ 
+-if(HAS_CXX_WFORMAT)
+-    add_compile_options(-Wno-format)
+-endif()
+-
+ if(HAS_CXX_WFATAL)
+     add_compile_options(-Wfatal-errors)
+ endif()



More information about the arch-commits mailing list