Performous 0.7.0

parent 5f38aec9
...@@ -5,55 +5,34 @@ ...@@ -5,55 +5,34 @@
pkgname=performous pkgname=performous
_pkgname=Performous _pkgname=Performous
pkgver=0.6.1 pkgver=0.7.0
pkgrel=1 pkgrel=1
pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™.' pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://$" url="http://$"
license=('GPL2' 'custom: Menu song: CC:BY-SA.') license=('GPL2' 'custom: Menu song: CC:BY-SA.')
depends=('boost' 'sdl' 'jack' 'imagemagick' 'ffmpeg' 'glew' 'libxml++' 'portaudio' 'portmidi' depends=('boost-libs' 'cairo' 'ffmpeg' 'glew' 'imagemagick' 'jack' 'libjpeg' 'libpng' 'librsvg' 'libxml++' 'opencv' 'portaudio' 'portmidi' 'sdl')
'opencv' 'librsvg' 'libjpeg' 'libpng' 'cairo') makedepends=('boost' 'cmake' 'help2man' 'tar')
makedepends=('cmake' 'help2man') optdepends=('performous-songs: some songs for Performous')
optdepends=('performous-songs: some songs for Performous.')
changelog=ChangeLog changelog=ChangeLog
source=($pkgname/files/$pkgname/$pkgver/$_pkgname-$pkgver-Source.tar.bz2 source=("$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
boost-filesystem-v3.patch:: md5sums=('60f3f72b51a630a4aa996484aedb9526')
build() { build() {
cd $srcdir/$_pkgname-$pkgver-Source cd $srcdir/$pkgname-$pkgver
mkdir -p build && cd build
# Fixes.
patch -Np1 -i ../boost-filesystem-v3.patch # Build against boost 1.46 and later, upstream (git) now support v3.
patch -Np1 -i ../ffmpeg-0.8.patch # Fix for FFMPEG 0.8.
patch -Np1 -i ../png15.patch # Fix for PNG 1.5.
sed -e "s|#include <glib/gconvert.h>|#include <glib.h>|" -i "game/" # Fix for glib.
mkdir build && cd build
# Fix config loading with libxml++:
export LDFLAGS=${LDFLAGS/-Wl,--as-needed/}
cmake \ cmake \
.. ..
make make
} }
package() { package() {
cd $srcdir/$_pkgname-$pkgver-Source/build cd $srcdir/$pkgname-$pkgver/build
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# Licensing information: # Licensing information.
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/Authors.txt \ cd ..
$pkgdir/usr/share/licenses/$pkgname/Authors.txt install -Dm644 docs/Authors.txt $pkgdir/usr/share/licenses/$pkgname/Authors.txt
install -Dm644 $srcdir/$_pkgname-$pkgver-Source/docs/License.txt \ install -Dm644 docs/License.txt $pkgdir/usr/share/licenses/$pkgname/License.txt
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment