diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-13 02:01:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-13 02:01:50 +0000 |
commit | 2a3e0d61b3d88306b6fae46756f9ba7d230222ae (patch) | |
tree | a0d3259dd259861a49a2d3e6e9220beaa8ec39c2 /kde-apps/kmix | |
parent | 39c32f4d5dca9f6293fccb69e9d50baf494c8de4 (diff) |
gentoo auto-resync : 13:12:2024 - 02:01:50
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r-- | kde-apps/kmix/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kmix/kmix-24.12.0.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest index 87a4a6d6700c..a6efcf81c672 100644 --- a/kde-apps/kmix/Manifest +++ b/kde-apps/kmix/Manifest @@ -1,5 +1,7 @@ AUX kmix-23.04.2-autostart_disable.patch 1151 BLAKE2B 9f9609a39f66e97d7a6427fae6aaf14c0f65755b05ddfe55d05ad49f42463960d4e9a9f97eae9a38311174b376c8e182336ec4bed793f36a02cd2aa71bda3d42 SHA512 5d1ded259efc871d4b4d9b6fd43aff29970f9c04579cdd1419563a08761cb4fbb9d16642cb648d547aeec7c53b26976d49e30e2e0c8cae23b3bb2d7ba1fa6b9b AUX kmix-24.05.2-revert-kcm_pulseaudio-dep.patch 3237 BLAKE2B 5587e62301a0f4c9ee70ed227472ef12cbfd8a6fbaf9446c312131ed7cd51434c641b872ef8aba0ce71b0300a2040e93cbb19674003d684405e747218dc5cbb7 SHA512 f9bb9a81269ab42b89bd3599ee14df4cb5ef6f645aae6039e3f25107ce0eb57c53b74049d52613bb2a52e3552b23fc300b73e5d07dadbea4652af1bdc99cd8fe DIST kmix-24.08.3.tar.xz 1165348 BLAKE2B 92245222971622d9e83821d92bcbfb3d37e00fafd008f20767883f2066fbbb2cf524bc5b902dad6684365a63914f8b9f735c74769920bc12de9f7f1b86a4977e SHA512 bde6df3707e10f4f1f3bdaf9553184ba6cc455d9063c6cd762c5dcb514be53f703c7a982c75383756f1c117a94839c19ce8161df833f505953a182ed306a793c +DIST kmix-24.12.0.tar.xz 1166316 BLAKE2B 4d26c51a79b34e73281c3553cd686c5da069bc388a444a74d3469dd9f1c0ef9df5028483d3c1ac148306a8609e09f05ca5386ff9f02859f00982be72c9019cf5 SHA512 60c3ec568568c936eaf63258474b63cf4dc509bd871f8e82cc8b8c2e53d3ed0f7bf7f517dd7d7ba13b76cad475e7f7025406e7e6db499148598bbb1318597d39 EBUILD kmix-24.08.3.ebuild 2342 BLAKE2B 9a3924d53a8a1f656d950fee80e270de3b25b689147a59e8fdf2a5580c5d3991a60f1c6e0786adee492f9d48ca61f85d85a7b15cb8a1036d1ea9c942c33d0c80 SHA512 bfcabfea41a46dea0cbe30c83e84f18fb9cea9f19a503c28cd6c3fe8703928eb78e288cfe8fb597fd5f84b64b9600e116e3baa9786f8de7a93a5266ac33bc115 +EBUILD kmix-24.12.0.ebuild 2168 BLAKE2B 9ede10dc98fd0c35316fa012afc6585be7c6f328cf7c2c8959dc941c309939b8e71ccbdf682372c8a89462d7e9eff506405acbded6ea40f946e55fd7eaa6cb05 SHA512 6042d6bf4d2eb424887be47e0b177acff3b66092b3f7f0bed145ad03c810a57f6f0db42a3d1f03017e24d23a33a7436713a93aa7fabcc2b8ac1008db6628cfcf MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 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 +} |