diff options
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r-- | kde-apps/kmix/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kmix/kmix-23.08.5.ebuild | 75 |
2 files changed, 77 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest index ba6189f08fb0..d34425fa8246 100644 --- a/kde-apps/kmix/Manifest +++ b/kde-apps/kmix/Manifest @@ -1,4 +1,6 @@ AUX kmix-23.04.2-autostart_disable.patch 1151 BLAKE2B 9f9609a39f66e97d7a6427fae6aaf14c0f65755b05ddfe55d05ad49f42463960d4e9a9f97eae9a38311174b376c8e182336ec4bed793f36a02cd2aa71bda3d42 SHA512 5d1ded259efc871d4b4d9b6fd43aff29970f9c04579cdd1419563a08761cb4fbb9d16642cb648d547aeec7c53b26976d49e30e2e0c8cae23b3bb2d7ba1fa6b9b DIST kmix-23.08.4.tar.xz 1208572 BLAKE2B ffa5abccc79e3c0cb5f72ef89f726ef4d068227edecfa89ad93f55f7f0f2cd9291aa5a404a266a2ebac2ddbc645f96d2d0d0ae510a43fe288c32c222bbb7011c SHA512 a981c93080748b854b35fa0048b7fc0878237e114f2c59d86ba479b456b6d537af381cfe4c8c1698776eb25f1eecb7eb3075ec3c3df86c24c4f3f5a1a3bd374b +DIST kmix-23.08.5.tar.xz 1208736 BLAKE2B 952a9780e2f64509e59266b2b5292a043f6200a96df0413f16feca93891077cb330789a8b9f15c3501c9280419f5241b1fed507d8230e46cfc52daa3672f4325 SHA512 33dbf387b66d98352066bed5897e913dac5bf4163481dd4f9a06a4d4716108fa35c13a1c6e0d518c5c854cd2847c83bd91678ba70558f29a8adb87304ac8f3dc EBUILD kmix-23.08.4.ebuild 2265 BLAKE2B ab301920be91d81ed404e69e1aa772c86f3eb7448674c501464971b75fdb6ac49b3915027066a055306d6e5995e89976e2e7f4c622e0ecfa2366d1b0ff8ee2ec SHA512 ff65f563b4ea8ad595099c9e0ed4ab8aa18dfef24790649930876f51b833bf97eb4190a6dd290adc6f84ea176e09ec592ec59ecd49964e883572e6969284ba6b +EBUILD kmix-23.08.5.ebuild 2268 BLAKE2B aec96e6f8a672b61d523976c6c1c732efadf1cf56bd60a1d21ee207c8af7be5e8fa6361f070dfaec1b63835979ac53b5aad7dcd4fd788673200070ead2eae5b5 SHA512 68dd9ef48d28e81b2fb1c5882cd7dfb5dbd8d49951e51e2e98d3d8b1694d9eac41cedc807160da8a6bf6d8b7428ce93e809169b302b720228c73e1130e649dae MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-apps/kmix/kmix-23.08.5.ebuild b/kde-apps/kmix/kmix-23.08.5.ebuild new file mode 100644 index 000000000000..1f5307f0d415 --- /dev/null +++ b/kde-apps/kmix/kmix-23.08.5.ebuild @@ -0,0 +1,75 @@ +# 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=5.106.0 +QTMIN=5.15.9 +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" + +# kde-frameworks/kwindowsystem[X]: Unconditional use of KX11Extras +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[X] + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + alsa? ( >=media-libs/alsa-lib-1.0.14a ) + plasma? ( >=kde-plasma/libplasma-${KFMIN}:5 ) + pulseaudio? ( + media-libs/libcanberra + media-libs/libpulse + ) +" +RDEPEND="${DEPEND} + kde-plasma/kde-cli-tools:* +" + +PATCHES=( "${FILESDIR}/${PN}-23.04.2-autostart_disable.patch" ) # TODO: upstream + +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 "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 +} |