43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Template file for 'musikcube'
|
|
pkgname=musikcube
|
|
version=0.63.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DNO_NCURSESW=1 -DENABLE_SNDIO=true"
|
|
makedepends="boost-devel libogg-devel libmicrohttpd-devel ffmpeg-devel
|
|
libressl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel
|
|
libvorbis-devel libcurl-devel ncurses-devel libev-devel taglib-devel
|
|
sndio-devel"
|
|
short_desc="Terminal-based music player in c++"
|
|
maintainer="eater <=@eater.me>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://musikcube.com/"
|
|
distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz"
|
|
checksum=4604d70a62cc8804a2db9ee48b966a15c185271968ba7cbf2fae4f53ef031df1
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
armv[56]*)
|
|
makedepends+=" libatomic-devel"
|
|
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS='-latomic'"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
musikcube-devel_package() {
|
|
depends="musikcube-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
musikcube-sndio_package() {
|
|
depends="musikcube-${version}_${revision}"
|
|
short_desc+=" - sndio output plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libsndioout.so
|
|
}
|
|
}
|