2019-01-07 15:52:26 +00:00
|
|
|
# Template file for 'musikcube'
|
|
|
|
pkgname=musikcube
|
2019-01-26 05:20:59 +00:00
|
|
|
version=0.62.2
|
2019-01-24 11:30:02 +00:00
|
|
|
revision=1
|
2019-01-07 15:52:26 +00:00
|
|
|
build_style=cmake
|
2019-01-24 11:30:02 +00:00
|
|
|
configure_args="-DNO_NCURSESW=1 -DENABLE_SNDIO=true"
|
2019-01-07 15:52:26 +00:00
|
|
|
makedepends="boost-devel libogg-devel libmicrohttpd-devel ffmpeg-devel
|
|
|
|
libressl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel
|
2019-01-24 11:30:02 +00:00
|
|
|
libvorbis-devel libcurl-devel ncurses-devel libev-devel taglib-devel
|
|
|
|
sndio-devel"
|
2019-01-07 15:52:26 +00:00
|
|
|
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"
|
2019-01-26 05:20:59 +00:00
|
|
|
checksum=ccb0310c88766be25cc90d5ab6faa17e26ffdb1b3c7eca9362b2808c40f98cd3
|
2019-01-07 15:52:26 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|