mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
pkgname=performous
|
|
pkgver=1.1
|
|
pkgrel=4
|
|
pkgdesc='A free game like Singstar™, Rockband™ or Stepmania™'
|
|
arch=('x86_64')
|
|
url="http://$pkgname.org/"
|
|
license=('GPL2' 'custom: Menu song: CC:BY-SA.')
|
|
screenshot="http://performous.org/screenshots/Performous-0.4.0-Windows.jpg"
|
|
depends=('boost-libs' 'cairo' 'ffmpeg' 'glew' 'jack' 'libjpeg' 'libepoxy' 'libpng' 'librsvg' 'libxml++' 'opencv>=3.1.0' 'portaudio' 'portmidi' 'sdl2')
|
|
makedepends=('boost' 'cmake' 'help2man' 'tar')
|
|
optdepends=('performous-songs: some songs for Performous')
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/performous/${pkgname}/archive/${pkgver}.tar.gz
|
|
'cast-basic_istream-to-bool.patch')
|
|
sha256sums=('17d47da4092ffa0dc2087f69b8b9d4f920aa7d16ee80020bb5445f95d22b6a71'
|
|
'87ead053ac4e58253af0d9a9b2278071211560e67f9ec74976f12443239c249c')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
mkdir -p build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|