diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-10 23:51:07 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-12 22:43:54 +0100 |
commit | ae8bad73ca132935425d38870b52a2a494ad4b70 (patch) | |
tree | 03b21a9563cd5f7ff49d5e748401f883b71b3f8f /kde-apps/kmix | |
parent | kde-apps/kdenlive: 24.12.0 version bump (diff) | |
download | gentoo-ae8bad73ca132935425d38870b52a2a494ad4b70.tar.gz gentoo-ae8bad73ca132935425d38870b52a2a494ad4b70.tar.bz2 gentoo-ae8bad73ca132935425d38870b52a2a494ad4b70.zip |
kde-apps/kmix: 24.12.0 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-24.12.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest index 8bf8929ca20e..b46fc6123ef5 100644 --- a/kde-apps/kmix/Manifest +++ b/kde-apps/kmix/Manifest @@ -1 +1,2 @@ DIST kmix-24.08.3.tar.xz 1165348 BLAKE2B 92245222971622d9e83821d92bcbfb3d37e00fafd008f20767883f2066fbbb2cf524bc5b902dad6684365a63914f8b9f735c74769920bc12de9f7f1b86a4977e SHA512 bde6df3707e10f4f1f3bdaf9553184ba6cc455d9063c6cd762c5dcb514be53f703c7a982c75383756f1c117a94839c19ce8161df833f505953a182ed306a793c +DIST kmix-24.12.0.tar.xz 1166316 BLAKE2B 4d26c51a79b34e73281c3553cd686c5da069bc388a444a74d3469dd9f1c0ef9df5028483d3c1ac148306a8609e09f05ca5386ff9f02859f00982be72c9019cf5 SHA512 60c3ec568568c936eaf63258474b63cf4dc509bd871f8e82cc8b8c2e53d3ed0f7bf7f517dd7d7ba13b76cad475e7f7025406e7e6db499148598bbb1318597d39 diff --git a/kde-apps/kmix/kmix-24.12.0.ebuild b/kde-apps/kmix/kmix-24.12.0.ebuild new file mode 100644 index 000000000000..16a9bf5aa12e --- /dev/null +++ b/kde-apps/kmix/kmix-24.12.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="false" +KFMIN=6.5.0 +QTMIN=6.7.2 +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="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="alsa pulseaudio" + +# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets,xml] + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/kglobalaccel-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6[X] + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 + alsa? ( >=media-libs/alsa-lib-1.0.14a ) + pulseaudio? ( + media-libs/libcanberra + media-libs/libpulse + ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-23.04.2-autostart_disable.patch" ) # TODO: upstream + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package alsa ALSA) + $(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 "therefore, autostart by default was disabled for KMix." + elog + elog "Should you prefer to still use 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 + fi + elog "KMix will be shown as [Volume Control] after manually starting it once" + elog "and will be autostarted after configuring such in KMix startup settings." + ecm_pkg_postinst +} |