commit:     4f307e218da5662dc5345ee219479e6e67362750
Author:     Octiabrina Terrien-Puig <octiabrina <AT> myrvogna <DOT> net>
AuthorDate: Fri Mar  5 09:59:20 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar  5 09:59:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f307e21

media-sound/ncpamixer: new package

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Octiabrina Terrien-Puig <octiabrina <AT> myrvogna.net>

 media-sound/ncpamixer/Manifest                 |  1 +
 media-sound/ncpamixer/metadata.xml             | 14 ++++++++++
 media-sound/ncpamixer/ncpamixer-1.3.3.1.ebuild | 37 ++++++++++++++++++++++++++
 media-sound/ncpamixer/ncpamixer-9999.ebuild    | 37 ++++++++++++++++++++++++++
 4 files changed, 89 insertions(+)

diff --git a/media-sound/ncpamixer/Manifest b/media-sound/ncpamixer/Manifest
new file mode 100644
index 00000000..ced470e6
--- /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 00000000..4817093d
--- /dev/null
+++ b/media-sound/ncpamixer/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Octiabrina Terrien-Puig</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">fulhax/ncpamixer</remote-id>
+       </upstream>
+       <use>
+               <flag name="wide">Add ncurses wide characters support</flag>
+       </use>
+</pkgmetadata>

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 00000000..f6a2bed9
--- /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 00000000..f6a2bed9
--- /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
+}

Reply via email to