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

2020-12-12 Thread Evangelos Foutras via arch-commits
Date: Saturday, December 12, 2020 @ 16:01:23
  Author: foutrelis
Revision: 773379

archrelease: copy trunk to community-staging-x86_64

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

+
 PKGBUILD   |   55 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-boost-1.73.patch|   26 ++
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 7 files changed, 556 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 773377, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-12 16:01:23 UTC (rev 773379)
@@ -0,0 +1,55 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=28
+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
+performous-boost-1.73.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4'
+
'd291621b191c0e55a47232e63a75d4059e2a983c78f9ad7d3a9709293fe22486f307d641ccecf2f0a56ff784b8a3cb6be35a531cb8adf5d35ff2ee3d333d5c40')
+
+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
+  patch -p1 -i ../performous-boost-1.73.patch # Fix build with boost 1.73
+}
+
+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 
773377, 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-12-12 16:01:23 UTC (rev 
773379)
@@ -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/audi

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

2020-12-06 Thread Felix Yan via arch-commits
Date: Monday, December 7, 2020 @ 00:06:09
  Author: felixonmars
Revision: 771340

archrelease: copy trunk to community-staging-x86_64

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

+
 PKGBUILD   |   55 +
 boost-1.67.patch   |   22 ++
 performous-boost-1.69.patch|   22 ++
 performous-boost-1.70.patch|   10 +
 performous-boost-1.73.patch|   26 ++
 performous-libswresample.patch |  380 +++
 performous-opencv4.patch   |   41 
 7 files changed, 556 insertions(+)

Copied: performous/repos/community-staging-x86_64/PKGBUILD (from rev 771339, 
performous/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-07 00:06:09 UTC (rev 771340)
@@ -0,0 +1,55 @@
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=27
+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
+performous-boost-1.73.patch)
+sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
+
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
+
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde82652888d6a4c2e888a8bae311f17'
+
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
+
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
+
'7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4'
+
'd291621b191c0e55a47232e63a75d4059e2a983c78f9ad7d3a9709293fe22486f307d641ccecf2f0a56ff784b8a3cb6be35a531cb8adf5d35ff2ee3d333d5c40')
+
+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
+  patch -p1 -i ../performous-boost-1.73.patch # Fix build with boost 1.73
+}
+
+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 
771339, 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-12-07 00:06:09 UTC (rev 
771340)
@@ -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

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

2016-03-06 Thread Laurent Carlier
Date: Sunday, March 6, 2016 @ 09:45:53
  Author: lcarlier
Revision: 165196

archrelease: copy trunk to community-i686, community-x86_64

Added:
  performous/repos/community-i686/PKGBUILD
(from rev 165195, performous/trunk/PKGBUILD)
  performous/repos/community-x86_64/PKGBUILD
(from rev 165195, performous/trunk/PKGBUILD)
Deleted:
  performous/repos/community-i686/PKGBUILD
  performous/repos/community-i686/cast-basic_istream-to-bool.patch
  performous/repos/community-i686/performous-ffmpeg3.patch
  performous/repos/community-x86_64/PKGBUILD
  performous/repos/community-x86_64/cast-basic_istream-to-bool.patch
  performous/repos/community-x86_64/performous-ffmpeg3.patch

---+
 /PKGBUILD |   68 
 community-i686/PKGBUILD   |   45 -
 community-i686/cast-basic_istream-to-bool.patch   |   26 ---
 community-i686/performous-ffmpeg3.patch   |   20 -
 community-x86_64/PKGBUILD |   45 -
 community-x86_64/cast-basic_istream-to-bool.patch |   26 ---
 community-x86_64/performous-ffmpeg3.patch |   20 -
 7 files changed, 68 insertions(+), 182 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-03-06 08:45:30 UTC (rev 165195)
+++ community-i686/PKGBUILD 2016-03-06 08:45:53 UTC (rev 165196)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer : Laurent Carlier 
-# Contributor: Christoph Zeiler 
-
-pkgname=performous
-pkgver=1.0
-pkgrel=10
-pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
-arch=('i686' 'x86_64')
-url="http://performous.org/";
-license=('GPL')
-depends=('boost-libs' 'glew' 'libxml++' '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
-cast-basic_istream-to-bool.patch performous-ffmpeg3.patch)
-md5sums=('cbeec2f0c0114cc499746c1e33f56055'
- 'c883cce82d0359c6b40ce38bd4ccf4bf'
- 'dbffea91ebe1a9041a52f9de62907934')
-
-prepare() {
-  cd performous-${pkgver}
-
- patch -Np1 -i ../cast-basic_istream-to-bool.patch
-# Fix build with ffmpeg 3.0
-  patch -p1 -i ../performous-ffmpeg3.patch
-}
-
-build() {
-  cd performous-${pkgver}
-
-  mkdir -p build
-  cd build
-
-  cmake -DCMAKE_BUILD_TYPE=Release \
-   -DCMAKE_INSTALL_PREFIX=/usr ..
-
-  make
-}
-
-package() {
-  cd performous-${pkgver}/build
-
-  make DESTDIR="$pkgdir" install
-}

Copied: performous/repos/community-i686/PKGBUILD (from rev 165195, 
performous/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-03-06 08:45:53 UTC (rev 165196)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.1
+pkgrel=1
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('i686' 'x86_64')
+url="http://performous.org/";
+license=('GPL')
+depends=('boost-libs' 'libepoxy' 'libxml++' '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)
+md5sums=('cf31d0973cd88b3cd626d312d6d3f5b2')
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr ..
+
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Deleted: community-i686/cast-basic_istream-to-bool.patch
===
--- community-i686/cast-basic_istream-to-bool.patch 2016-03-06 08:45:30 UTC 
(rev 165195)
+++ community-i686/cast-basic_istream-to-bool.patch 2016-03-06 08:45:53 UTC 
(rev 165196)
@@ -1,26 +0,0 @@
-From 3b6ee0162ac22e569cb00a8aee5c026c86147956 Mon Sep 17 00:00:00 2001
-From: Tobias Gruetzmacher 
-Date: Sun, 22 Mar 2015 18:43:11 +0100
-Subject: [PATCH] Cast basic_istream to bool.
-
-This shouldn't be necessary as far as I understand it (istream has an
-operator bool()), but clang 3.4 with libc++ insists that it can't cast
-basic_istream to bool. This may be a bug in libc++ or my bad
-understanding of C++ cast rules, but changing it doesn't hurt.

- game/songparser.hh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/game/songparser.hh b/game/songparser.hh
-index 5196c8e..21d7e16 100644
 a/game/songparser.hh
-+++ b/game/songparser.hh
-@@ -33,7 +33,7 @@ class SongParser {
-   So

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

2016-02-17 Thread Antonio Rojas
Date: Wednesday, February 17, 2016 @ 21:44:42
  Author: arojas
Revision: 162124

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  performous/repos/community-staging-i686/
  performous/repos/community-staging-i686/PKGBUILD
(from rev 162123, performous/trunk/PKGBUILD)
  performous/repos/community-staging-i686/cast-basic_istream-to-bool.patch
(from rev 162123, performous/trunk/cast-basic_istream-to-bool.patch)
  performous/repos/community-staging-i686/performous-ffmpeg3.patch
(from rev 162123, performous/trunk/performous-ffmpeg3.patch)
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 162123, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/cast-basic_istream-to-bool.patch
(from rev 162123, performous/trunk/cast-basic_istream-to-bool.patch)
  performous/repos/community-staging-x86_64/performous-ffmpeg3.patch
(from rev 162123, performous/trunk/performous-ffmpeg3.patch)

---+
 community-staging-i686/PKGBUILD   |   45 
 community-staging-i686/cast-basic_istream-to-bool.patch   |   26 ++
 community-staging-i686/performous-ffmpeg3.patch   |   20 +
 community-staging-x86_64/PKGBUILD |   45 
 community-staging-x86_64/cast-basic_istream-to-bool.patch |   26 ++
 community-staging-x86_64/performous-ffmpeg3.patch |   20 +
 6 files changed, 182 insertions(+)

Copied: performous/repos/community-staging-i686/PKGBUILD (from rev 162123, 
performous/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-17 20:44:42 UTC (rev 162124)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=1.0
+pkgrel=10
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('i686' 'x86_64')
+url="http://performous.org/";
+license=('GPL')
+depends=('boost-libs' 'glew' 'libxml++' '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
+cast-basic_istream-to-bool.patch performous-ffmpeg3.patch)
+md5sums=('cbeec2f0c0114cc499746c1e33f56055'
+ 'c883cce82d0359c6b40ce38bd4ccf4bf'
+ 'dbffea91ebe1a9041a52f9de62907934')
+
+prepare() {
+  cd performous-${pkgver}
+
+ patch -Np1 -i ../cast-basic_istream-to-bool.patch
+# Fix build with ffmpeg 3.0
+  patch -p1 -i ../performous-ffmpeg3.patch
+}
+
+build() {
+  cd performous-${pkgver}
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr ..
+
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: 
performous/repos/community-staging-i686/cast-basic_istream-to-bool.patch (from 
rev 162123, performous/trunk/cast-basic_istream-to-bool.patch)
===
--- community-staging-i686/cast-basic_istream-to-bool.patch 
(rev 0)
+++ community-staging-i686/cast-basic_istream-to-bool.patch 2016-02-17 
20:44:42 UTC (rev 162124)
@@ -0,0 +1,26 @@
+From 3b6ee0162ac22e569cb00a8aee5c026c86147956 Mon Sep 17 00:00:00 2001
+From: Tobias Gruetzmacher 
+Date: Sun, 22 Mar 2015 18:43:11 +0100
+Subject: [PATCH] Cast basic_istream to bool.
+
+This shouldn't be necessary as far as I understand it (istream has an
+operator bool()), but clang 3.4 with libc++ insists that it can't cast
+basic_istream to bool. This may be a bug in libc++ or my bad
+understanding of C++ cast rules, but changing it doesn't hurt.
+---
+ game/songparser.hh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/game/songparser.hh b/game/songparser.hh
+index 5196c8e..21d7e16 100644
+--- a/game/songparser.hh
 b/game/songparser.hh
+@@ -33,7 +33,7 @@ class SongParser {
+   Song& m_song;
+   std::stringstream m_ss;
+   unsigned int m_linenum;
+-  bool getline(std::string& line) { ++m_linenum; return 
std::getline(m_ss, line);}
++  bool getline(std::string& line) { ++m_linenum; return (bool) 
std::getline(m_ss, line);}
+   bool m_relative;
+   double m_gap;
+   double m_bpm;

Copied: performous/repos/community-staging-i686/performous-ffmpeg3.patch (from 
rev 162123, performous/trunk/performous-ffmpeg3.patch)
===
--- community-staging-i686/performous-ffmpeg3.patch 
(rev 0)
+++ community-staging-i686/performous-ffmpeg3.patch 2016-02-17 20:44:42 UTC 
(rev 162124)
@

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

2013-07-08 Thread Laurent Carlier
Date: Monday, July 8, 2013 @ 10:15:34
  Author: lcarlier
Revision: 93650

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  performous/repos/community-staging-i686/
  performous/repos/community-staging-i686/PKGBUILD
(from rev 93649, performous/trunk/PKGBUILD)
  performous/repos/community-staging-i686/fix-noisy-sound-output.patch
(from rev 93649, performous/trunk/fix-noisy-sound-output.patch)
  performous/repos/community-staging-i686/performous-0.7.0-cmake.patch
(from rev 93649, performous/trunk/performous-0.7.0-cmake.patch)
  performous/repos/community-staging-x86_64/
  performous/repos/community-staging-x86_64/PKGBUILD
(from rev 93649, performous/trunk/PKGBUILD)
  performous/repos/community-staging-x86_64/fix-noisy-sound-output.patch
(from rev 93649, performous/trunk/fix-noisy-sound-output.patch)
  performous/repos/community-staging-x86_64/performous-0.7.0-cmake.patch
(from rev 93649, performous/trunk/performous-0.7.0-cmake.patch)

---+
 community-staging-i686/PKGBUILD   |   48 +
 community-staging-i686/fix-noisy-sound-output.patch   |  440 
 community-staging-i686/performous-0.7.0-cmake.patch   |  155 +
 community-staging-x86_64/PKGBUILD |   48 +
 community-staging-x86_64/fix-noisy-sound-output.patch |  440 
 community-staging-x86_64/performous-0.7.0-cmake.patch |  155 +
 6 files changed, 1286 insertions(+)

The diff is longer than the limit of 200KB.
Use svn diff -r 93649:93650 to see the changes.


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

2013-03-29 Thread Stéphane Gaudreault
Date: Friday, March 29, 2013 @ 20:32:29
  Author: stephane
Revision: 87304

db-move: moved performous from [community-staging] to [community-testing] 
(i686, x86_64)

Added:
  performous/repos/community-testing-i686/
  performous/repos/community-testing-i686/PKGBUILD
(from rev 87277, performous/repos/community-staging-i686/PKGBUILD)
  performous/repos/community-testing-i686/performous-0.7.0-cmake.patch
(from rev 87277, 
performous/repos/community-staging-i686/performous-0.7.0-cmake.patch)
  performous/repos/community-testing-x86_64/
  performous/repos/community-testing-x86_64/PKGBUILD
(from rev 87277, performous/repos/community-staging-x86_64/PKGBUILD)
  performous/repos/community-testing-x86_64/performous-0.7.0-cmake.patch
(from rev 87277, 
performous/repos/community-staging-x86_64/performous-0.7.0-cmake.patch)
Deleted:
  performous/repos/community-staging-i686/
  performous/repos/community-staging-x86_64/

---+
 community-testing-i686/PKGBUILD   |   38 +++
 community-testing-i686/performous-0.7.0-cmake.patch   |  155 
 community-testing-x86_64/PKGBUILD |   38 +++
 community-testing-x86_64/performous-0.7.0-cmake.patch |  155 
 4 files changed, 386 insertions(+)

Copied: performous/repos/community-testing-i686/PKGBUILD (from rev 87277, 
performous/repos/community-staging-i686/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-29 19:32:29 UTC (rev 87304)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer : Laurent Carlier 
+# Contributor: Christoph Zeiler 
+
+pkgname=performous
+pkgver=0.7.0
+pkgrel=5
+pkgdesc='A free game like "Singstar", "Rockband" or "Stepmania"'
+arch=('i686' 'x86_64')
+url="http://performous.org/";
+license=('GPL')
+depends=('boost-libs' 'imagemagick' 'glew' 'libxml++' 'portaudio' 'portmidi' 
'librsvg' 'ffmpeg') # opencv
+makedepends=('cmake' 'pkgconfig' 'help2man' 'boost' 'mesa')
+optdepends=('performous-freesongs: free songs for performous')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/performous-$pkgver.tar.bz2
+performous-0.7.0-cmake.patch)
+md5sums=('60f3f72b51a630a4aa996484aedb9526'
+ '7da8aef3f4dd28e19f95957ae9ac2bb1')
+
+build() {
+  cd performous-${pkgver}
+
+  patch -Np0 -i ../performous-0.7.0-cmake.patch
+
+  mkdir -p build
+  cd build
+
+  cmake -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_PREFIX=/usr ..
+
+  make
+}
+
+package() {
+  cd performous-${pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: performous/repos/community-testing-i686/performous-0.7.0-cmake.patch 
(from rev 87277, 
performous/repos/community-staging-i686/performous-0.7.0-cmake.patch)
===
--- community-testing-i686/performous-0.7.0-cmake.patch 
(rev 0)
+++ community-testing-i686/performous-0.7.0-cmake.patch 2013-03-29 19:32:29 UTC 
(rev 87304)
@@ -0,0 +1,155 @@
+From: Julian Ospald 
+Date: Thu Jan 24 13:13:50 UTC 2013
+Subject: build system
+
+   - fix opencv module to prefer pkg-config results
+   - fix some module and macro names and try to use
+   system modules as much as possible (ALSA Boost Gettext Jpeg Png Tiff Z)
+
+--- cmake/Modules/FindOpenCV.cmake
 cmake/Modules/FindOpenCV.cmake
+@@ -57,13 +57,21 @@
+ include(FindPkgConfig)
+ if(PKG_CONFIG_FOUND)
+   pkg_check_modules(OPENCV_PKGCONF opencv)
+-  set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX})
+-  if(EXISTS "${OpenCV_DIR}")
+-  set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv")
+-  if(EXISTS "${OpenCV_configScript_DIR}")
+-set(OpenCV_configScript 
"${OpenCV_configScript_DIR}/OpenCVConfig.cmake")
+-  endif(EXISTS "${OpenCV_configScript_DIR}")
+-  endif(EXISTS "${OpenCV_DIR}")
++  # prefer pkg-config values
++  if(OPENCV_PKGCONF_FOUND)
++set(OpenCV_LIBS ${OPENCV_PKGCONF_LDFLAGS})
++  set(OpenCV_FOUND true)
++  set(OpenCV_INCLUDE_DIR ${OPENCV_PKGCONF_INCLUDE_DIRS})
++  set(OpenCV_VERSION ${OPENCV_PKGCONF_VERSION})
++  else(OPENCV_PKGCONF_FOUND)
++set(OpenCV_DIR ${OPENCV_PKGCONF_PREFIX})
++if(EXISTS "${OpenCV_DIR}")
++set(OpenCV_configScript_DIR "${OpenCV_DIR}/share/opencv")
++if(EXISTS "${OpenCV_configScript_DIR}")
++  set(OpenCV_configScript 
"${OpenCV_configScript_DIR}/OpenCVConfig.cmake")
++endif(EXISTS "${OpenCV_configScript_DIR}")
++endif(EXISTS "${OpenCV_DIR}")
++  endif(OPENCV_PKGCONF_FOUND)
+ endif(PKG_CONFIG_FOUND)
+   endif(NOT WIN32)
+ endif(NOT EXISTS "${OpenCV_DIR}")
+@@ -72,7 +80,7 @@
+ ##
+ ## Find OpenCV libraries
+ ##
+-if(EXISTS "${OpenCV_DIR}")
++if(EX