summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-06-08 20:58:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-06-09 13:17:52 +0200
commitba2c38bea80cdd273b0e3a189bbc3b506cc37bff (patch)
treeaf37603ea93ae46654211c0b675fe83b20a60a62 /kde-apps
parentkde-apps/kdenlive: 22.04.2 version bump (diff)
downloadgentoo-ba2c38bea80cdd273b0e3a189bbc3b506cc37bff.tar.gz
gentoo-ba2c38bea80cdd273b0e3a189bbc3b506cc37bff.tar.bz2
gentoo-ba2c38bea80cdd273b0e3a189bbc3b506cc37bff.zip
kde-apps/kmix: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kmix/Manifest1
-rw-r--r--kde-apps/kmix/kmix-22.04.2.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index a108eeaec0bb..0519e21c3060 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1,2 +1,3 @@
DIST kmix-21.12.3.tar.xz 1163936 BLAKE2B fa318120c8285a126c29b8ba1f76c6b093b77a32b5bf85a30b476562093e9048b70f9abf2bf8e75403cb095f6c8c27e74f4ed6eb7f9dbdff05b6660b9d422123 SHA512 6f8976d234defbccfc509e7d6d275bfa0f0da7b13757ed2ba951ac9fda0dcd9cad412517c41b8d3d803032898f668047de069581a4c386a3fa3e7db9bb96c0eb
DIST kmix-22.04.1.tar.xz 1163664 BLAKE2B acf46df2f36297538d86169dbe3498a8abb92fea50c41fe7b7ace65675b5d326835bb4bdc99fffd492b847504f6f074ed00b8d82ea7208fd58cdb8f34878af64 SHA512 c4a789bfb8d62f63cdcdb7a83ece5646bd22e05b5e2cc655017d28b71c8afa83890eb83011530006452ce4355e11f42d033b4b76712ea9d42ad963c1eab477b8
+DIST kmix-22.04.2.tar.xz 1163816 BLAKE2B 8ddd2d6c4a17062859c6248c6ce27fcc582244e4532686d736a76dbc7ee28c2e1682309c956e67c907746bfcf395b9012d49e4dfd93b3d8da5489aff9ca4eb96 SHA512 89505ea03541aeeea493d153dadff8a23e4593802c1c77e9be3d819560eab9f7ede2fda280ba052d035911d773bfdbf3bb988393f181917cf2e856d90938e65b
diff --git a/kde-apps/kmix/kmix-22.04.2.ebuild b/kde-apps/kmix/kmix-22.04.2.ebuild
new file mode 100644
index 000000000000..9eb4e3156b49
--- /dev/null
+++ b/kde-apps/kmix/kmix-22.04.2.ebuild
@@ -0,0 +1,73 @@
+# 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.92.0
+QTMIN=5.15.3
+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 ~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-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
+}