blob: ebd43972732b40ab64cb4afcf56af12045358a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Sich <little_sich@tuta.io>
# Contributor: Andrew Lin <andrewlin16 at gmail dot com>
# Contributor: Ian D. Scott <ian@perebruin.com>
pkgname=zxtune-git
pkgver=r5075.r2.g44be56ac0
pkgrel=1
pkgdesc="Portable toolkit for ZX-Spectrum music playing"
arch=('i686' 'x86_64')
url="http://zxtune.bitbucket.io"
license=('GPL3')
depends=('boost-libs' 'zlib' 'qt5-base')
optdepends=(
'alsa-lib: for ALSA output support'
'lame: for conversion to .mp3 format'
'libvorbis: for conversion to .ogg format'
'flac: for conversion to .flac format'
'curl: for accessing data via network schemes'
)
makedepends=('make' 'boost' 'git' 'gcc')
provides=('zxtune')
conflicts=('zxtune-bin')
options=(!strip !docs !libtool !emptydirs !zipman makeflags)
source=('git+https://bitbucket.org/zxtune/zxtune.git')
md5sums=('SKIP')
_qt5_options="qt.includes=/usr/include/qt tools.uic=uic-qt5 tools.moc=moc-qt5 tools.rcc=rcc-qt5"
pkgver() {
cd zxtune
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/zxtune"
make platform=linux system.zlib=1 release=1 ${_qt5_options} -C apps/bundle
}
package() {
cd "${srcdir}/zxtune"
make DESTDIR="${pkgdir}" platform=linux release=1 install_linux -C apps/bundle
}
|