summaryrefslogtreecommitdiff
path: root/community/performous
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-18 02:17:27 -0800
committerroot <root@rshg054.dnsready.net>2012-11-18 02:17:27 -0800
commitab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (patch)
tree7f0d9cf1b60a9b65a36c3f58ab2164c62cb378f1 /community/performous
parent071ecd58a9b69020ec170e7f89009a603e885371 (diff)
Sun Nov 18 02:15:18 PST 2012
Diffstat (limited to 'community/performous')
-rw-r--r--community/performous/PKGBUILD39
1 files changed, 8 insertions, 31 deletions
diff --git a/community/performous/PKGBUILD b/community/performous/PKGBUILD
index a6e25c9f7..6150853ed 100644
--- a/community/performous/PKGBUILD
+++ b/community/performous/PKGBUILD
@@ -1,49 +1,26 @@
-# $Id: PKGBUILD 78938 2012-10-27 23:45:17Z ebelanger $
+# $Id: PKGBUILD 80212 2012-11-17 17:48:39Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=performous
-pkgver=0.6.1
-pkgrel=17
+pkgver=0.7.0
+pkgrel=1
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' 'opencv' 'librsvg')
+depends=('boost-libs' 'imagemagick' 'glew' 'libxml++' 'portaudio' 'portmidi' 'librsvg' 'ffmpeg') # opencv
makedepends=('cmake' 'pkgconfig' 'help2man' 'boost>=1.50' 'mesa')
optdepends=('performous-freesongs: free songs for performous')
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/Performous-$pkgver-Source.tar.bz2
- boost-filesystem-v3.patch
- ffmpeg-0.11.patch
- png15.patch
- fix-boost-1.50-xtime.patch)
-md5sums=('451a759de77984b5a699e91107fe52e2'
- '42a8c825d80b0de16bd5752d2a80e585'
- '07e52e926595d053155bbfb7168e308f'
- '89157d5e21b0efd09fcbeee299d23c7e'
- '6b43ab7f1c3e2cacd3540242634eabb3')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/performous-$pkgver.tar.bz2)
+md5sums=('60f3f72b51a630a4aa996484aedb9526')
build() {
- cd ${srcdir}/Performous-${pkgver}-Source
-
- # fix to built against boost 1.46 and later, upstream (git) now support v3
- patch -Np1 -i ../boost-filesystem-v3.patch
- # fix with ffmpeg-0.11
- patch -Np1 -i ../ffmpeg-0.11.patch
- # fix for libpng 1.5
- patch -Np1 -i ../png15.patch
- # fix glib2.0 building
- # #error "Only <glib.h> can be included directly."
- sed -i -e 's#/gconvert.h#.h#g' game/unicode.cc
- # boost 1.50 fix
- patch -Np1 -i ../fix-boost-1.50-xtime.patch
+ cd ${srcdir}/performous-${pkgver}
mkdir -p build
cd build
- # fix config loading with libxml++
- export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
-
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
@@ -51,7 +28,7 @@ build() {
}
package() {
- cd ${srcdir}/Performous-${pkgver}-Source/build
+ cd ${srcdir}/performous-${pkgver}/build
make DESTDIR="$pkgdir" install
}