summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-03-09 02:01:52 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-03-09 02:01:52 +0000
commit916ab4ab3a2314f0f7701d46d9ad3828af9e9735 (patch)
tree33306a650a000d6c96ec4522fe7be5ade15a171f /user
parent9e64d16d92cbead8153e8a65e60158d5c3d7a699 (diff)
parent4bb51f05294780a95b40c49b88bf169974ce5650 (diff)
downloadpackages-916ab4ab3a2314f0f7701d46d9ad3828af9e9735.tar.gz
packages-916ab4ab3a2314f0f7701d46d9ad3828af9e9735.tar.bz2
packages-916ab4ab3a2314f0f7701d46d9ad3828af9e9735.tar.xz
packages-916ab4ab3a2314f0f7701d46d9ad3828af9e9735.zip
Merge branch 'cmus' into 'master'
user/cmus: New package See merge request !187
Diffstat (limited to 'user')
-rw-r--r--user/cmus/APKBUILD63
1 files changed, 63 insertions, 0 deletions
diff --git a/user/cmus/APKBUILD b/user/cmus/APKBUILD
new file mode 100644
index 000000000..918cef34c
--- /dev/null
+++ b/user/cmus/APKBUILD
@@ -0,0 +1,63 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=cmus
+pkgver=2.8.0
+pkgrel=0
+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"
+
+build() {
+ cd "$builddir"
+ ./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() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+}
+
+sha512sums="cf359dfcefa833a5b10a2d16ac405672bea762b62b7177c115560127035682fba65c15b9a8710179a343d1f99212a0260b5c095542982202e2cd1bef5b0c17fc cmus-2.8.0.tar.gz"