86 lines
2.3 KiB
Bash
86 lines
2.3 KiB
Bash
# Template file for 'musikcube'
|
|
pkgname=musikcube
|
|
version=3.0.4
|
|
revision=1
|
|
build_style=cmake
|
|
make_cmd=make
|
|
configure_args="-DNO_NCURSESW=1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgme-devel libogg-devel libmicrohttpd-devel ffmpeg6-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="Orphaned <orphan@voidlinux.org>"
|
|
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=25bb95b8705d8c79bde447e7c7019372eea7eaed9d0268510278e7fcdb1378a5
|
|
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
|
|
}
|
|
}
|