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

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Jun 13 10:58:59 UTC 2022


    Date: Monday, June 13, 2022 @ 10:58:59
  Author: foutrelis
Revision: 1237460

archrelease: copy trunk to community-staging-x86_64

Added:
  guitarix/repos/community-staging-x86_64/
  guitarix/repos/community-staging-x86_64/PKGBUILD
    (from rev 1237459, guitarix/trunk/PKGBUILD)
  guitarix/repos/community-staging-x86_64/guitarix-0.43.1-glib2.patch
    (from rev 1237459, guitarix/trunk/guitarix-0.43.1-glib2.patch)

-----------------------------+
 PKGBUILD                    |   50 ++++++++++++++++++++++++++++++++++++++++++
 guitarix-0.43.1-glib2.patch |   15 ++++++++++++
 2 files changed, 65 insertions(+)

Copied: guitarix/repos/community-staging-x86_64/PKGBUILD (from rev 1237459, guitarix/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-06-13 10:58:59 UTC (rev 1237460)
@@ -0,0 +1,50 @@
+# Maintainer: David Runge <dvzrv at archlinux.org
+
+pkgname=guitarix
+pkgver=0.44.1
+pkgrel=2
+pkgdesc="A simple mono guitar amplifier and FX for JACK using Faust"
+arch=(x86_64)
+url="https://guitarix.org"
+license=(GPL3)
+groups=(ladspa-plugins lv2-plugins pro-audio)
+depends=(atkmm bluez-libs cairo cairomm gcc-libs glibc glibmm gtkmm3 libsigc++
+libx11 pangomm ttf-roboto)
+makedepends=(avahi boost curl gdk-pixbuf2 eigen faust fftw glib2 gperf gtk3
+intltool jack ladspa liblo liblrdf lilv lv2 pango sassc waf zita-convolver
+zita-resampler)
+optdepends=('new-session-manager: for session management')
+provides=(guitarix2 libgxw.so libgxwmm.so ladspa-host lv2-host)
+conflicts=(guitarix2)
+replaces=(guitarix2)
+options=(debug)
+source=($pkgname-$pkgver.tar.xz::https://download.sourceforge.net/project/guitarix/guitarix/${pkgname}2-$pkgver.tar.xz)
+sha512sums=('d2c0e40762d97ed7ce61c3115fc3800cc569a2bb4f66e09147507a9eaa815fb9d1363444353a5854035755bd1b1e247ccb341aed60ca0ecf6a77019da73064c1')
+b2sums=('57a1ad0be133fe2851ff7539d5c467a649774a1de90569e83feeb3ba2b05324ce0ee6d4388122cdb3fdcb36afac4cb7cfd2d6ab0216ff2f56d8e7c2886d14152')
+
+build() {
+  cd $pkgname-$pkgver
+  export LINKFLAGS="$LDFLAGS"
+  waf configure --prefix=/usr \
+                --enable-nls \
+                --ladspa \
+                --new-ladspa \
+                --shared-lib \
+                --lib-dev \
+                --cxxflags='-flto' \
+                --ldflags="$LDFLAGS"
+  waf build -vv
+}
+
+package() {
+  depends+=(libavahi-common.so libavahi-gobject.so libboost_iostreams.so
+  libcurl.so libfftw3f.so libgdk-3.so libgdk_pixbuf-2.0.so libgio-2.0.so
+  libglib-2.0.so libgobject-2.0.so libjack.so liblilv-0.so liblo.so liblrdf.so
+  libpangocairo-1.0.so libpango-1.0.so libsndfile.so libzita-convolver.so
+  libzita-resampler.so)
+
+  cd $pkgname-$pkgver
+  waf install --destdir="$pkgdir"
+  # docs
+  install -vDm 644 {changelog,README} -t "$pkgdir/usr/share/doc/$pkgname/"
+}

Copied: guitarix/repos/community-staging-x86_64/guitarix-0.43.1-glib2.patch (from rev 1237459, guitarix/trunk/guitarix-0.43.1-glib2.patch)
===================================================================
--- community-staging-x86_64/guitarix-0.43.1-glib2.patch	                        (rev 0)
+++ community-staging-x86_64/guitarix-0.43.1-glib2.patch	2022-06-13 10:58:59 UTC (rev 1237460)
@@ -0,0 +1,15 @@
+diff -ruN a/src/headers/gx_system.h b/src/headers/gx_system.h
+--- a/src/headers/gx_system.h	2021-12-10 18:53:33.000000000 +0100
++++ b/src/headers/gx_system.h	2022-04-28 11:23:16.176694581 +0200
+@@ -112,7 +112,11 @@
+ }
+ 
+ inline bool atomic_compare_and_exchange(volatile int *p, int oldv, int newv) {
++#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 68 && GLIB_MICRO_VERSION < 1)
+     return g_atomic_int_compare_and_exchange(p, oldv, newv);
++#else
++    return g_atomic_int_compare_and_exchange(const_cast<int*>(p), oldv, newv);
++#endif
+ }
+ 
+ template <class T>



More information about the arch-commits mailing list