diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-10-07 20:51:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-10-07 21:56:23 +0200 |
commit | b21a638d595b5e3d7938adf2ec0c95609e4fdee8 (patch) | |
tree | e873210098e2c3660b1d96081db7f1dc4276dd96 /kde-apps/kmix | |
parent | kde-apps/kdenlive: 21.08.2 version bump (diff) | |
download | gentoo-b21a638d595b5e3d7938adf2ec0c95609e4fdee8.tar.gz gentoo-b21a638d595b5e3d7938adf2ec0c95609e4fdee8.tar.bz2 gentoo-b21a638d595b5e3d7938adf2ec0c95609e4fdee8.zip |
kde-apps/kmix: 21.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r-- | kde-apps/kmix/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kmix/kmix-21.08.2.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest index d053157547fb..82f373d2c1be 100644 --- a/kde-apps/kmix/Manifest +++ b/kde-apps/kmix/Manifest @@ -1,2 +1,3 @@ DIST kmix-21.04.3.tar.xz 1161920 BLAKE2B 2b59ed9ae41daedf1a3e581e98bee02cda4b6499cbbdeca3431f68e79119b6cfe88686a02af06009e24ad1894c9e49aca00415b5beee784211c6caa45b106971 SHA512 9577c5e9de3dc34e9301d52ec1ec436fdf4856d89fbb5ba735f83d3ea2af57ef308884ba5e18e7b989b503e3f73bb87428d9873d9034778d6d7fcbf47750b8e6 DIST kmix-21.08.1.tar.xz 1163664 BLAKE2B a1117e4ef73f598dd7872a9d8df5bb43fbf79cba3d2a336917c626727d1fb001bb9d2ecf8f5549cdf2ccff2a36a577be1eabd837559c22df240d66d0e66ad2dd SHA512 aa082a0cfe97f5ff79feaba6458108734d97e32fb5c3feb4b31842125db1d1f42e16a8e47aebdf5ffb6dc0f87dcee295472f500bb240e963e07aa6b2b85887cd +DIST kmix-21.08.2.tar.xz 1163720 BLAKE2B c731685836bec29f8216c7d489dc35760e05f22746eb1d33b058ee65c52c0b66e008e3ebf2e439294346a81c27a11489a3c59c1df7299456b2f382f31baaa7df SHA512 0c759e97da40f81eefaa6993655591c9f9233f6d8fd6dae3e69fe63aeb70c9ef9aec71dca7938bc7ed2ee7ba963f2280ae22313979f0726e6474e20d0faa4628 diff --git a/kde-apps/kmix/kmix-21.08.2.ebuild b/kde-apps/kmix/kmix-21.08.2.ebuild new file mode 100644 index 000000000000..efa82bcb2a51 --- /dev/null +++ b/kde-apps/kmix/kmix-21.08.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="false" +KFMIN=5.84.0 +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Volume control gui based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/kmix/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="alsa plasma pulseaudio" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + alsa? ( >=media-libs/alsa-lib-1.0.14a ) + plasma? ( >=kde-frameworks/plasma-${KFMIN}:5 ) + pulseaudio? ( + media-libs/libcanberra + >=media-sound/pulseaudio-0.9.12 + ) +" +RDEPEND="${DEPEND} + kde-plasma/kde-cli-tools:5 + pulseaudio? ( || ( + media-video/pipewire + media-sound/pulseaudio-daemon + media-sound/pulseaudio[daemon(+)] + ) ) +" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package alsa ALSA) + -DBUILD_DATAENGINE=$(usex plasma) + $(cmake_use_find_package pulseaudio Canberra) + $(cmake_use_find_package pulseaudio PulseAudio) + ) + + ecm_src_configure +} + +pkg_postinst() { + if use pulseaudio && has_version kde-plasma/plasma-pa; then + elog "In KDE Plasma, kde-plasma/plasma-pa is the default audio volume handler." + elog "Should you prefer this to be kde-apps/kmix instead, do the following:" + elog " - In system tray, right click on [Show hidden items]" + elog " - Select [Configure System Tray]" + elog " - In [Entries], search for [Audio Volume] and set it to [Disabled]" + elog "KMix will be shown as [Volume Control]." + fi + ecm_pkg_postinst +} |