summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 09:02:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-11 17:58:58 +0200
commitd6b953aec3b3cac68aa58eddb9eeb85cf2211cf0 (patch)
tree927aa8d54e40a37cdc8cf4d7ec3d20b6cc4e1bef /kde-apps/kmix
parentkde-apps/kdenlive: 23.04.1 version bump (diff)
downloadgentoo-d6b953aec3b3cac68aa58eddb9eeb85cf2211cf0.tar.gz
gentoo-d6b953aec3b3cac68aa58eddb9eeb85cf2211cf0.tar.bz2
gentoo-d6b953aec3b3cac68aa58eddb9eeb85cf2211cf0.zip
kde-apps/kmix: 23.04.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-23.04.1.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index 628ae11697cc..231b561249d5 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1,2 +1,3 @@
DIST kmix-22.12.3.tar.xz 1196164 BLAKE2B c01b50de2e9fd60e34d3e1cb884596f6a7691111bb524fad266af188c111e8f5a2f0e69185ee2c5552d7a5c9fc5add000d7287ad2d5fedced594d00d5d1ff501 SHA512 4c244e042b85ffdcee65cb78fe8dead317ba45135d7f4cb82d019a7bae8ecd0ec641f40278cea1e99ea374e03b6a61a9c0541a518f4d3871344fcb472cac58c6
DIST kmix-23.04.0.tar.xz 1196680 BLAKE2B 11c1a59d0de2b5e071f5259d2f514bd1b5e3afbb1ebf4195bccc673aa56cbeead29bfe715f38707ff1908498fb93126c2167a624d35eebf9a13c847880e33c64 SHA512 a9c0d0890cf29312cbfbbb4c556fbcc6fa40a48a698a8eee09db588fcd9e441982c96c1d4f7ed986ff0cde3264a7b19ad368e8dfefd8daa3b87fd59f206bb481
+DIST kmix-23.04.1.tar.xz 1196772 BLAKE2B 203999cd8709be1a4690ea0a03e58aea0cadb4944b5b8443fce282747bb8dbf45079dd2a6ce96f3702584e0888332d7f047c756debef794177c9082dfefe351c SHA512 f3acf43b8d63f43940f08e30aa4e37db42075c2e2765c79c8a647b102013a9e9b48358dc9cb76d21de84857c4cc481b209d0a39d28f9a336c5da01d474bad26b
diff --git a/kde-apps/kmix/kmix-23.04.1.ebuild b/kde-apps/kmix/kmix-23.04.1.ebuild
new file mode 100644
index 000000000000..507a2af353bc
--- /dev/null
+++ b/kde-apps/kmix/kmix-23.04.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.104.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
+}