[arch-commits] Commit in performous/repos (7 files)

2020-10-12 Thread Antonio Rojas via arch-commits
Date: Monday, October 12, 2020 @ 17:37:42
  Author: arojas
Revision: 723707

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 723706, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 723706, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 723706, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 723706, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 723706, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 723706, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 723706, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-12 17:37:42 UTC (rev 723707)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=26
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
723706, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2020-10-12 17:37:42 UTC (rev 
723707)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double seconds) { 

[arch-commits] Commit in performous/repos (7 files)

2020-07-25 Thread Antonio Rojas via arch-commits
Date: Saturday, July 25, 2020 @ 07:28:01
  Author: arojas
Revision: 665255

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 665254, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 665254, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 665254, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 665254, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 665254, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 665254, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 665254, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-25 07:28:01 UTC (rev 665255)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=25
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
665254, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2020-07-25 07:28:01 UTC (rev 
665255)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double seconds) { 

[arch-commits] Commit in performous/repos (7 files)

2020-04-04 Thread Antonio Rojas via arch-commits
Date: Saturday, April 4, 2020 @ 12:05:23
  Author: arojas
Revision: 611573

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 611572, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 611572, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 611572, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 611572, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 611572, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 611572, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 611572, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-04 12:05:23 UTC (rev 611573)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=24
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
611572, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2020-04-04 12:05:23 UTC (rev 
611573)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double seconds) { 

[arch-commits] Commit in performous/repos (7 files)

2020-01-27 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 28, 2020 @ 03:13:49
  Author: foutrelis
Revision: 557079

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 557078, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 557078, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 557078, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 557078, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 557078, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 557078, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 557078, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 03:13:49 UTC (rev 557079)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=23
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
557078, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2020-01-28 03:13:49 UTC (rev 
557079)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double seconds) { 

[arch-commits] Commit in performous/repos (7 files)

2019-12-21 Thread Antonio Rojas via arch-commits
Date: Saturday, December 21, 2019 @ 13:58:27
  Author: arojas
Revision: 538604

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 538603, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 538603, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 538603, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 538603, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 538603, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 538603, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 538603, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-21 13:58:27 UTC (rev 538604)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=22
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa' 'xorgproto')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
538603, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2019-12-21 13:58:27 UTC (rev 
538604)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double 

[arch-commits] Commit in performous/repos (7 files)

2019-09-13 Thread Evangelos Foutras via arch-commits
Date: Friday, September 13, 2019 @ 12:40:08
  Author: foutrelis
Revision: 510316

archrelease: copy trunk to community-staging-x86_64

Added:
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 510315, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/boost-1.67.patch
(from rev 510315, performous/trunk/boost-1.67.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.69.patch
(from rev 510315, performous/trunk/performous-boost-1.69.patch)
  performous/repos/community-staging-x86_64/performous-boost-1.70.patch
(from rev 510315, performous/trunk/performous-boost-1.70.patch)
  performous/repos/community-staging-x86_64/performous-libswresample.patch
(from rev 510315, performous/trunk/performous-libswresample.patch)
  performous/repos/community-staging-x86_64/performous-opencv4.patch
(from rev 510315, performous/trunk/performous-opencv4.patch)

+
 PKGBUILD   |   52 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 6 files changed, 527 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 510315, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-13 12:40:08 UTC (rev 510316)
@@ -0,0 +1,52 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=21
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('x86_64')
+url="https://performous.org/;
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++2.6' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg' 'opencv' 'sdl2')
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
+boost-1.67.patch
+performous-libswresample.patch
+performous-opencv4.patch
+performous-boost-1.69.patch
+performous-boost-1.70.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+
+prepare() {
+  cd performous-${pkgver}
+  patch -Np1 -i ../boost-1.67.patch
+  patch -Np1 -i ../performous-libswresample.patch
+  patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
+  patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
+  patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake .. \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I/usr/include/harfbuzz" # Workaround build 
failure with pango 1.44
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-staging-x86_64/boost-1.67.patch (from rev 
510315, performous/trunk/boost-1.67.patch)
===
--- community-staging-x86_64/boost-1.67.patch   (rev 0)
+++ community-staging-x86_64/boost-1.67.patch   2019-09-13 12:40:08 UTC (rev 
510316)
@@ -0,0 +1,22 @@
+Only in performous-1.1: build
+diff -upr performous-1.1.orig/game/audio.cc performous-1.1/game/audio.cc
+--- performous-1.1.orig/game/audio.cc  2016-01-23 12:40:01.0 +0200
 performous-1.1/game/audio.cc   2018-06-03 03:29:35.251425495 +0300
+@@ -77,7 +77,7 @@ class AudioClock {
+   static ptime getTime() { return microsec_clock::universal_time(); }
+   // Conversion helpers
+   static double getSeconds(time_duration t) { return 1e-6 * 
t.total_microseconds(); }
+-  static time_duration getDuration(double seconds) { return 
microseconds(1e6 * seconds); }
++  static time_duration getDuration(double seconds) {