media-sound/ncpamixer: new package

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
This commit is contained in:
Octiabrina Terrien-Puig
2021-03-05 10:59:20 +01:00
parent 70fe5319d0
commit 4f307e218d
4 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST 1.3.3.1.tar.gz 21805 BLAKE2B 89d2399672fa9f9f18e2f2bce17b9fd5d74fcd367c54f126de94f884948d6ab3ada8fb807813c841688a926ef71ab6fa52bc50222cf810b54c5167aeb5c346d6 SHA512 4c40992a7731859a855fc80ee012e4ead7a7f47e537163378565125acaad0beacd1a8583710d1d7f2f700c09c7563edfe734757ba1302d0e5c1e286b22af7890

View File

@@ -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>octiabrina@myrvogna.net</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>

View File

@@ -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
}

View File

@@ -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
}