summaryrefslogtreecommitdiff
path: root/user/cmus/APKBUILD
blob: a6f7ac0755b9e2900f57b970be3b23df89ac7e27 (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Contributor: Mira Ressel <aranea@aixah.de>
# Maintainer: 
pkgname=cmus
pkgver=2.8.0
pkgrel=1
pkgdesc="An ncurses based music player with plugin support for many formats"
url="https://cmus.github.io/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
depends=""
makedepends="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev libao-dev libcddb-dev
	libcdio-paranoia-dev libmad-dev libmodplug-dev libvorbis-dev ncurses-dev
	opusfile-dev pulseaudio-dev wavpack-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
	ppc-libatomic.patch
	"

build() {
	./configure prefix=/usr \
		CONFIG_AAC=y \
		CONFIG_ALSA=y \
		CONFIG_AO=y \
		CONFIG_ARTS=n \
		CONFIG_BASS=n \
		CONFIG_CDDB=y \
		CONFIG_CDIO=y \
		CONFIG_COREAUDIO=n \
		CONFIG_CUE=y \
		CONFIG_DISCID=n \
		CONFIG_FFMPEG=y \
		CONFIG_FLAC=y \
		CONFIG_JACK=n \
		CONFIG_MAD=y \
		CONFIG_MIKMOD=n \
		CONFIG_MODPLUG=y \
		CONFIG_MP4=n \
		CONFIG_MPC=n \
		CONFIG_MPRIS=n \
		CONFIG_OPUS=y \
		CONFIG_OSS=y \
		CONFIG_PULSE=y \
		CONFIG_ROAR=n \
		CONFIG_SAMPLERATE=n \
		CONFIG_SNDIO=n \
		CONFIG_SUN=n \
		CONFIG_TREMOR=n \
		CONFIG_VORBIS=y \
		CONFIG_VTX=n \
		CONFIG_WAV=y \
		CONFIG_WAVEOUT=n \
		CONFIG_WAVPACK=y \
		USE_FALLBACK_IP=n

	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc  cmus-2.8.0.tar.gz
1993e5c891d1f88105373a448cf3841cdded4aeef5268ea0591f5940228f9eb5a638cd16e37d5127dcdf76bfd15563c632f780834ee3c0748d2e5015bc292285  ppc-libatomic.patch"