86 lines
2.3 KiB
Bash
86 lines
2.3 KiB
Bash
# Template file for 'musikcube'
|
|
pkgname=musikcube
|
|
version=3.0.0
|
|
revision=2
|
|
build_style=cmake
|
|
make_cmd=make
|
|
configure_args="-DNO_NCURSESW=1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgme-devel libogg-devel libmicrohttpd-devel ffmpeg-devel
|
|
openssl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel
|
|
libvorbis-devel libcurl-devel ncurses-devel libev-devel taglib-devel
|
|
sndio-devel pipewire-devel ncurses-libtinfo-devel libopenmpt-devel
|
|
portaudio-devel asio $(vopt_if elogind elogind-devel)"
|
|
short_desc="Terminal-based music player in c++"
|
|
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://musikcube.com/"
|
|
changelog="https://raw.githubusercontent.com/clangen/musikcube/master/CHANGELOG.txt"
|
|
distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz"
|
|
checksum=b857980c214f86f17cc288eda4562b51683cd42a843a4a4d8d8e60169cf87345
|
|
build_options="elogind"
|
|
desc_option_elogind="Support MPRIS interface via elogind"
|
|
build_options_default="elogind"
|
|
|
|
export CMAKE_GENERATOR="Unix Makefiles"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
musikcube-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
musikcube-alsa_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - alsa output plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libalsaout.so
|
|
}
|
|
}
|
|
|
|
musikcube-pipewire_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - pipewire output plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libpipewireout.so
|
|
}
|
|
}
|
|
|
|
musikcube-portaudio_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - portaudio output plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libportaudioout.so
|
|
}
|
|
}
|
|
|
|
musikcube-sndio_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - sndio output plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libsndioout.so
|
|
}
|
|
}
|
|
|
|
musikcube-gme_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - gme decoder plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libgmedecoder.so
|
|
}
|
|
}
|
|
|
|
musikcube-openmpt_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - openmpt decoder plugin"
|
|
pkg_install() {
|
|
vmove usr/lib/musikcube/plugins/libopenmptdecoder.so
|
|
}
|
|
}
|