-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-sound/pwvucontrol: new package, add 0.4.7
- Loading branch information
1 parent
0e203a9
commit b51a4cf
Showing
5 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST pwvucontrol-0.4.7.tar.xz 21750052 BLAKE2B f20cae83f0a429c322eca491b671ef729d6eb71a9764fd5381ca8b8123e14a762e0ed29a84b5cd28af62a0127ffe1d93cee9ed79542529e78f6d224bc53e6f26 SHA512 63e34c8ddcec2c625d734999dae23349125e2149ca075feddac373acb789aeeb4baaa1c5c7a2efdd4565e8b3f5f512ef7464eb967df60a979d021d745ef0dbde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"> | ||
<name>Benjamin Neff</name> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">saivert/pwvucontrol</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright 2025 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit meson cargo gnome2-utils | ||
|
||
WIREPLUMBER_RS_COMMIT="6e48383a85aecfca22dac3ffc589fb3f25404eda" | ||
|
||
DESCRIPTION="Pipewire Volume Control" | ||
HOMEPAGE="https://github.com/saivert/pwvucontrol" | ||
SRC_URI="https://github.com/saivert/${PN}/releases/download/${PV}/${P}.tar.xz" | ||
|
||
LICENSE="GPL-3" | ||
# Dependent crate licenses | ||
LICENSE+=" | ||
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 | ||
Unicode-DFS-2016 | ||
" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
DEPEND=" | ||
>=dev-libs/glib-2.66 | ||
gui-libs/gtk:4 | ||
>=gui-libs/libadwaita-1.2 | ||
media-video/pipewire | ||
>=media-video/libwireplumber-compat-0.4.15:0.4 | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_configure() { | ||
meson_src_configure | ||
|
||
# Use vendored crates with gentoo cargo config for offline build | ||
rm -rf "${WORKDIR}/cargo_home/gentoo" | ||
ln -s "${WORKDIR}/${P}/vendor" "${WORKDIR}/cargo_home/gentoo" | ||
ln -s "${WORKDIR}/cargo_home" "${BUILD_DIR}/cargo-home" | ||
|
||
# Added from .cargo/config to also replace git crates | ||
cat <<-EOF >> "${WORKDIR}/cargo_home/config.toml" | ||
[source."git+https://github.com/arcnmx/wireplumber.rs.git?rev=${WIREPLUMBER_RS_COMMIT}"] | ||
git = "https://github.com/arcnmx/wireplumber.rs.git" | ||
rev = "${WIREPLUMBER_RS_COMMIT}" | ||
replace-with = "gentoo" | ||
EOF | ||
} | ||
|
||
src_compile() { | ||
meson_src_compile | ||
} | ||
|
||
src_install() { | ||
meson_src_install | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_gconf_install | ||
gnome2_schemas_update | ||
xdg_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_gconf_uninstall | ||
gnome2_schemas_update | ||
xdg_icon_cache_update | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
BDEPEND=>=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array || ( dev-lang/rust-bin:1.84.0 dev-lang/rust:1.84.0 dev-lang/rust-bin:1.83.0 dev-lang/rust:1.83.0 dev-lang/rust-bin:1.82.0 dev-lang/rust:1.82.0 dev-lang/rust-bin:1.81.0 dev-lang/rust:1.81.0 dev-lang/rust-bin:1.80.1 dev-lang/rust:1.80.1 dev-lang/rust-bin:1.79.0 dev-lang/rust:1.79.0 dev-lang/rust-bin:1.78.0 dev-lang/rust:1.78.0 dev-lang/rust-bin:1.77.1 dev-lang/rust:1.77.1 dev-lang/rust-bin:1.76.0 dev-lang/rust:1.76.0 dev-lang/rust-bin:1.75.0 dev-lang/rust:1.75.0 dev-lang/rust-bin:1.74.1 dev-lang/rust:1.74.1 dev-lang/rust-bin:1.71.1 dev-lang/rust:1.71.1 ) | ||
DEFINED_PHASES=compile configure install postinst postrm setup test unpack | ||
DEPEND=>=dev-libs/glib-2.66 gui-libs/gtk:4 >=gui-libs/libadwaita-1.2 media-video/pipewire >=media-video/libwireplumber-compat-0.4.15:0.4 | ||
DESCRIPTION=Pipewire Volume Control | ||
EAPI=8 | ||
HOMEPAGE=https://github.com/saivert/pwvucontrol | ||
INHERIT=meson cargo gnome2-utils | ||
IUSE=debug | ||
KEYWORDS=~amd64 | ||
LICENSE=GPL-3 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 Unicode-DFS-2016 | ||
RDEPEND=>=dev-libs/glib-2.66 gui-libs/gtk:4 >=gui-libs/libadwaita-1.2 media-video/pipewire >=media-video/libwireplumber-compat-0.4.15:0.4 | ||
SLOT=0 | ||
SRC_URI=https://github.com/saivert/pwvucontrol/releases/download/0.4.7/pwvucontrol-0.4.7.tar.xz | ||
_eclasses_=toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 meson 99466844dd8d4fcfb07578a76f5a9922 rust 44c8464f6266787f32aab8b1f056a28b rust-toolchain 3f822985d9297438ed2443aa1fbdf33e cargo b5f350ebe96460cff090d0f2ae7e698a xdg-utils 42869b3c8d86a70ef3cf75165a395e09 gnome2-utils a8cf148ec7f5ae0b1f1d33ae5f7f9e88 | ||
_md5_=b802e78ffb5330bc66812596b36fbb89 |