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

Antonio Rojas arojas at archlinux.org
Tue Feb 6 17:02:35 UTC 2018


    Date: Tuesday, February 6, 2018 @ 17:02:34
  Author: arojas
Revision: 289414

archrelease: copy trunk to community-x86_64

Added:
  rosegarden/repos/community-x86_64/
  rosegarden/repos/community-x86_64/PKGBUILD
    (from rev 289413, rosegarden/trunk/PKGBUILD)
  rosegarden/repos/community-x86_64/rosegarden-gcc6.patch
    (from rev 289413, rosegarden/trunk/rosegarden-gcc6.patch)

-----------------------+
 PKGBUILD              |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 rosegarden-gcc6.patch |   13 +++++++++++++
 2 files changed, 60 insertions(+)

Copied: rosegarden/repos/community-x86_64/PKGBUILD (from rev 289413, rosegarden/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-02-06 17:02:34 UTC (rev 289414)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Robert Emil Berge <robert at rebi.no>
+
+pkgname=rosegarden
+pkgver=17.04
+_pkgver=17.04
+pkgrel=2
+pkgdesc="MIDI/audio sequencer and notation editor"
+arch=('x86_64')
+url="http://www.rosegardenmusic.com/"
+license=('GPL')
+depends=('liblrdf' 'dssi' 'fftw' 'lirc'
+         'hicolor-icon-theme' 'qt5-base' 'shared-mime-info' 'liblo>=0.28')
+makedepends=('imake' 'cmake' 'qt5-tools')
+optdepends=('lilypond: notation display'
+            'cups: printing support'
+            'okular: print preview, or any other PDF viewer'
+            'timidity++: MIDI playback, or any other softsynth'
+            'flac'
+            'wavpack')
+[ "$CARCH" = "i686" ] && optdepends+=('dssi-vst: win32 VST support')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2")
+md5sums=('d3d80cc8e6eb3c7764a2905059acacce')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # qt4 compatibility (qt->qt5)
+  #LRELEASE=/usr/lib/qt4/bin/lrelease
+  #LUPDATE=/usr/lib/qt4/bin/lupdate
+
+  #export lrdf_CFLAGS LRELEASE LUPDATE
+
+  cmake -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: rosegarden/repos/community-x86_64/rosegarden-gcc6.patch (from rev 289413, rosegarden/trunk/rosegarden-gcc6.patch)
===================================================================
--- community-x86_64/rosegarden-gcc6.patch	                        (rev 0)
+++ community-x86_64/rosegarden-gcc6.patch	2018-02-06 17:02:34 UTC (rev 289414)
@@ -0,0 +1,13 @@
+diff -Nurp rosegarden-16.02.orig/src/gui/dialogs/PitchBendSequenceDialog.cpp rosegarden-16.02.mod/src/gui/dialogs/PitchBendSequenceDialog.cpp
+--- rosegarden-16.02.orig/src/gui/dialogs/PitchBendSequenceDialog.cpp	2016-02-29 13:18:01.000000000 +0100
++++ rosegarden-16.02.mod/src/gui/dialogs/PitchBendSequenceDialog.cpp	2016-04-25 07:30:49.578374291 +0200
+@@ -919,7 +919,7 @@ PitchBendSequenceDialog::addStepwiseEven
+         {
+             const int rawStepSize = spinboxToControlDelta(m_stepSize);
+             if (rawStepSize == 0) { return; }
+-            numSteps = abs(float(valueChange) / float(rawStepSize) + 0.5);
++            numSteps = fabs(float(valueChange) / float(rawStepSize) + 0.5);
+             break;
+         }
+     }
+



More information about the arch-commits mailing list