46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 'musikcube'
|
|
pkgname=musikcube
|
|
version=0.90.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DNO_NCURSESW=1 -DENABLE_SNDIO=true"
|
|
hostmakedepends="pkg-config"
|
|
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=e55e4ea8f84f92f18a572d1e12a8f68d88228b04324507e49d833b21e042f5bf
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS='-latomic'"
|
|
fi
|
|
|
|
#XXX: Otherwise xbps-install ffmpeg-devel will complain about unresolving shlibs
|
|
# SDL2-2.0.10_3: broken, unresolvable shlib `libGL.so.1'
|
|
makedepends+=" libglvnd"
|
|
|
|
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
|
|
}
|
|
}
|