summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-01-03 14:54:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-01-05 19:01:34 +0100
commit1bdef00eb12169a970713bb127c593995d831635 (patch)
treec0fac17fc6d2fa4df53df8d4a6627da409dc8c70 /kde-apps/kmix
parentkde-apps/kdenlive: 22.12.1 version bump (diff)
downloadgentoo-1bdef00eb12169a970713bb127c593995d831635.tar.gz
gentoo-1bdef00eb12169a970713bb127c593995d831635.tar.bz2
gentoo-1bdef00eb12169a970713bb127c593995d831635.zip
kde-apps/kmix: 22.12.1 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.12.1.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index 35df1cf59264..9777afca6f46 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1,2 +1,3 @@
DIST kmix-22.08.3.tar.xz 1164040 BLAKE2B caf126eaaccd564afcfe3663ec4cb92e7ebd29f418e4980afb57c79a6af51c4dab4f435e5b4b66b485c34be1b8b94b16c2192dc913e00a014c091766899c49d1 SHA512 6556a924dd91ac57c8ff5c3bbdd322bb7dd2194a0ab68979b7e1e914dc390656bfe00ddc29c9302b190a54a056749d2aece3b31673034ebeed8c50153d4e8c89
DIST kmix-22.12.0.tar.xz 1193396 BLAKE2B dbb2548e8e299c92723940ea9918b6550ab0b32eb9c8b4b22405feafe7eefc401f32869a84b4923dd0b4ffb6e5876a0712d3f1c329a5172ed6333e74441557d1 SHA512 1c3d4012167eaa25ca7a6fecdad756732353f6b1c37a70e40b800f5559bb89c0bb4a55038175d7e925c592cc9d49e80b87c74b91ef73f4335a9d4d1dc3661dfb
+DIST kmix-22.12.1.tar.xz 1194660 BLAKE2B e55ed4cd8bf4df59c79e99ef433493c712837f729aa7fbf301d697cb25db16ecb0bb359d1d60c73eec4f37cf1b980e834c9514ef527e7bf6fe7da118ca47f8d0 SHA512 445dd030e236a06ee8d0de557e7c88d61f38cd661058e61487a262c7ffaaacce2e69955a66fe7d5c23656f75bee010c3dd4f8ee652c0bd9a5f407178dcf216c3
diff --git a/kde-apps/kmix/kmix-22.12.1.ebuild b/kde-apps/kmix/kmix-22.12.1.ebuild
new file mode 100644
index 000000000000..34858692ca98
--- /dev/null
+++ b/kde-apps/kmix/kmix-22.12.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="false"
+KFMIN=5.101.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
+}