media-sound/ncpamixer - 1.3.8 (gentoo)

Search

Package Information

Description:
ncurses PulseAudio Mixer
Homepage:
https://github.com/fulhax/ncpamixer
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.3.8 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="ncurses PulseAudio Mixer"
HOMEPAGE="https://github.com/fulhax/ncpamixer"
SRC_URI="https://github.com/fulhax/ncpamixer/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+man +unicode"

DEPEND="
	media-libs/libpulse:=
	sys-libs/ncurses:=[unicode(+)?]
"
RDEPEND="${DEPEND}"
BDEPEND="
	man? ( app-text/lowdown )
"

CMAKE_USE_DIR="${S}/src"

src_configure() {
	local mycmakeargs=(
		-DUSE_WIDE=$(usex unicode)
		-DBUILD_MANPAGES=no
	)

	cmake_src_configure
}

src_compile() {
	cmake_src_compile

	use man && lowdown -s -tman src/man/ncpamixer.1.md -o ncpamixer.1
}

src_install() {
	cmake_src_install

	use man && doman ncpamixer.1
	dodoc "${S}"/README.md
}

USE Flags

man
Default: Enabled (+)
unicode
Default: Enabled (+)

Dependencies

DEPEND

	media-libs/libpulse:=
	sys-libs/ncurses:=[unicode(+)?]

RDEPEND

	media-libs/libpulse:=
	sys-libs/ncurses:=[unicode(+)?]

BDEPEND

	man? ( app-text/lowdown )

Manifest for 1.3.8

Type File Size Source URLs
DIST ncpamixer-1.3.8.tar.gz 24514 bytes https://github.com/fulhax/ncpamixer/archive/refs/tags/1.3.8.tar.gz