summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 13:42:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 15:12:48 +0200
commit3e6ab45e6dd34b8708ef19aac83d3c1ee8bbff6f (patch)
tree1b472e3bc6a394db560c777eabb10cedbc396f4f /kde-apps/kmix
parentkde-apps/kdenlive: 22.08.2 version bump (diff)
downloadgentoo-3e6ab45e6dd34b8708ef19aac83d3c1ee8bbff6f.tar.gz
gentoo-3e6ab45e6dd34b8708ef19aac83d3c1ee8bbff6f.tar.bz2
gentoo-3e6ab45e6dd34b8708ef19aac83d3c1ee8bbff6f.zip
kde-apps/kmix: 22.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r--kde-apps/kmix/Manifest1
-rw-r--r--kde-apps/kmix/kmix-22.08.2.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index 798cf7eba519..784c06e6cbf4 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1,2 +1,3 @@
DIST kmix-22.04.3.tar.xz 1164232 BLAKE2B 04e61cf2aeb3196e9a27a1df4c9d1ecc43c5812e07c0b955c2f3099abc9119f9f01b5d27b0deef73610fccae11d64af19e53713bf6b9ca4aee2f26e5129ff4bd SHA512 f36b31efa9bb6830157a31d951dc0c14620cf977da7f45bd85bc3df93621ba83cbb39f314ed4e1e9e1c15ae935085849888f8be37f2707ca4831a8c14368907d
DIST kmix-22.08.1.tar.xz 1163704 BLAKE2B 1f566a61e3ef1e635eb912ee62184dc99925d2bd039602b58344fc0d504ded6cff060bf1e58e89705b54ee34f5154a557093bf7d1400663ff7c40516288f5793 SHA512 3208dd30a57d2c4c17e6ba36cacd8faf835c51e06427ef532958ed964f8cebe2658ee68d85dbd7ba5b17c5f4fd07d53354c4c068093ff5b52285bd5fdc15e95b
+DIST kmix-22.08.2.tar.xz 1163664 BLAKE2B ee3868cf90eceb1ed76dedd985ecdac592b796d78d9e201054d18fcf1e9f33d44159094cdd1a9f58cdda2fda2dfe6666e56c290fd0bfbba733d74a5ad5bb3383 SHA512 2ea8b282635e1117ee19fe039070fcb013a333034ffee222b3113a95683c14528231db73b9514ace933a532d0307acd3204f54a475ca0510e8ca506be91f7a0a
diff --git a/kde-apps/kmix/kmix-22.08.2.ebuild b/kde-apps/kmix/kmix-22.08.2.ebuild
new file mode 100644
index 000000000000..af9ca0f2537e
--- /dev/null
+++ b/kde-apps/kmix/kmix-22.08.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="false"
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit ecm gear.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 ~riscv ~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-libs/libpulse
+ )
+"
+RDEPEND="${DEPEND}
+ kde-plasma/kde-cli-tools:5
+"
+
+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
+}