diff --git a/media-sound/ncpamixer/Manifest b/media-sound/ncpamixer/Manifest new file mode 100644 index 0000000000..ced470e6aa --- /dev/null +++ b/media-sound/ncpamixer/Manifest @@ -0,0 +1 @@ +DIST 1.3.3.1.tar.gz 21805 BLAKE2B 89d2399672fa9f9f18e2f2bce17b9fd5d74fcd367c54f126de94f884948d6ab3ada8fb807813c841688a926ef71ab6fa52bc50222cf810b54c5167aeb5c346d6 SHA512 4c40992a7731859a855fc80ee012e4ead7a7f47e537163378565125acaad0beacd1a8583710d1d7f2f700c09c7563edfe734757ba1302d0e5c1e286b22af7890 diff --git a/media-sound/ncpamixer/metadata.xml b/media-sound/ncpamixer/metadata.xml new file mode 100644 index 0000000000..4817093d14 --- /dev/null +++ b/media-sound/ncpamixer/metadata.xml @@ -0,0 +1,14 @@ + + + + + octiabrina@myrvogna.net + Octiabrina Terrien-Puig + + + fulhax/ncpamixer + + + Add ncurses wide characters support + + diff --git a/media-sound/ncpamixer/ncpamixer-1.3.3.1.ebuild b/media-sound/ncpamixer/ncpamixer-1.3.3.1.ebuild new file mode 100644 index 0000000000..f6a2bed9a7 --- /dev/null +++ b/media-sound/ncpamixer/ncpamixer-1.3.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A ncurses mixer for PulseAudio inspired by pavucontrol" +HOMEPAGE="https://github.com/fulhax/ncpamixer" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/fulhax/ncpamixer.git" + inherit git-r3 +else + SRC_URI="https://github.com/fulhax/ncpamixer/archive/${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+wide" + +DEPEND=" + media-sound/pulseaudio + sys-libs/ncurses +" +RDEPEND="${DEPEND}" + +CMAKE_USE_DIR="${S}/src" + +src_configure() { + local mycmakeargs=( + -DUSE_WIDE="$(usex wide)" + ) + + cmake_src_configure +} diff --git a/media-sound/ncpamixer/ncpamixer-9999.ebuild b/media-sound/ncpamixer/ncpamixer-9999.ebuild new file mode 100644 index 0000000000..f6a2bed9a7 --- /dev/null +++ b/media-sound/ncpamixer/ncpamixer-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A ncurses mixer for PulseAudio inspired by pavucontrol" +HOMEPAGE="https://github.com/fulhax/ncpamixer" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/fulhax/ncpamixer.git" + inherit git-r3 +else + SRC_URI="https://github.com/fulhax/ncpamixer/archive/${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+wide" + +DEPEND=" + media-sound/pulseaudio + sys-libs/ncurses +" +RDEPEND="${DEPEND}" + +CMAKE_USE_DIR="${S}/src" + +src_configure() { + local mycmakeargs=( + -DUSE_WIDE="$(usex wide)" + ) + + cmake_src_configure +}