summaryrefslogtreecommitdiff
path: root/community/performous/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/performous/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/performous/PKGBUILD')
-rw-r--r--community/performous/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/community/performous/PKGBUILD b/community/performous/PKGBUILD
new file mode 100644
index 000000000..5145f5624
--- /dev/null
+++ b/community/performous/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 94902 2013-08-01 06:55:27Z bpiotrowski $
+# Maintainer : Laurent Carlier <lordheavym@gmail.com>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+pkgname=performous
+pkgver=0.7.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' '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
+ fix-noisy-sound-output.patch
+ ffmpeg-2.0.patch)
+md5sums=('60f3f72b51a630a4aa996484aedb9526'
+ '7da8aef3f4dd28e19f95957ae9ac2bb1'
+ '820dc6d1a91c23f0ef56e2cd1759afb6'
+ '9f781162b6ebc77b68caa05e2941c527')
+
+prepare() {
+ cd performous-${pkgver}
+
+ # patch from gentoo
+ patch -Np0 -i ../performous-0.7.0-cmake.patch
+ # fix FS#33948 (merged upstream)
+ patch -Np1 -i ../fix-noisy-sound-output.patch
+ # fix building with ffmpeg-2.0
+ patch -Np1 -i ../ffmpeg-2.0.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
+}