30 lines
940 B
Bash
30 lines
940 B
Bash
# Template file for 'PAmix'
|
|
pkgname=PAmix
|
|
version=1.6
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args='-DWITH_UNICODE=1 -DNCURSESW_H_INCLUDE=ncurses.h'
|
|
hostmakedepends="pkg-config automake autoconf-archive"
|
|
makedepends="pulseaudio-devel ncurses-devel"
|
|
conf_files="/etc/pamix.conf"
|
|
short_desc="Ncurses/Curses Pulseaudio mixer in C++ similar to Pavucontrol"
|
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/patroclos/PAmix"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=b63522889d70920d64229c66e2ab6929950476538443af297f6b242f7e9dc406
|
|
patch_args=-Np0
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
*-musl) broken="Parts of ncurses, not available on musl";;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
# REMARKS:
|
|
# Named PAmix instead of pamix to match upstream and prevent misassociation
|
|
# with Pluggable Authentication Modules
|
|
# configure_args as suggested by https://github.com/patroclos/PAmix/issues/37
|