Commit: 373a2922e59afaee0c51e5d918cd520f52429f7a Parent: bb46eb8d5a91273cfd0d9a08668c9080aced4456 Author: Randy Palamar Date: Mon, 30 Dec 2024 14:42:41 -0700 add media-sound/ncpamixer for arm64 keyword Diffstat:
A | media-sound/ncpamixer/Manifest | | | 1 | + |
A | media-sound/ncpamixer/metadata.xml | | | 11 | +++++++++++ |
A | media-sound/ncpamixer/ncpamixer-1.3.8.ebuild | | | 48 | ++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/media-sound/ncpamixer/Manifest b/media-sound/ncpamixer/Manifest @@ -0,0 +1 @@ +DIST ncpamixer-1.3.8.tar.gz 24514 BLAKE2B b7f4e10479f5aa18a0e7ddaa7e8b0c943c763a8d7e9d7422356236c5f45f3cb2be19f0e88da774a483c75db09517c7c7f74e09f7a5fa2c43dfc833883889fa31 SHA512 a50147861f0cabee40b24143f8e1e34290aa74622a46afa751352d691398ea87979a3a1e6c2f44cca8f02428135354b2b485f6fc21b388955a750155a1763cfb diff --git a/media-sound/ncpamixer/metadata.xml b/media-sound/ncpamixer/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <upstream> + <remote-id type="github">fulhax/ncpamixer</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/ncpamixer/ncpamixer-1.3.8.ebuild b/media-sound/ncpamixer/ncpamixer-1.3.8.ebuild @@ -0,0 +1,48 @@ +# 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 ~arm64" +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 +}