aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-06-06 17:11:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-06-06 18:36:36 +0200
commit741e0eade29064b362f638a43fc8254ff7ca6d14 (patch)
treecbf06caf66851ca095a0370bfa370360e4bef2c7 /kde-apps/kmix
parentkde-apps/kdenlive: 23.04.2 version bump (diff)
downloadkde-741e0eade29064b362f638a43fc8254ff7ca6d14.tar.gz
kde-741e0eade29064b362f638a43fc8254ff7ca6d14.tar.bz2
kde-741e0eade29064b362f638a43fc8254ff7ca6d14.zip
kde-apps/kmix: 23.04.2 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.2.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
new file mode 100644
index 0000000000..2622f474f1
--- /dev/null
+++ b/kde-apps/kmix/Manifest
@@ -0,0 +1 @@
+DIST kmix-23.04.2.tar.xz 1196820 BLAKE2B e7fdc869bcc63f8f1c4faf50d78923fb31f28db37427633382b93064c1b3494156d8694d569d4354578c134d5a250ede7c9de21ffa95bf280b7cc089dc0a3a0a SHA512 fc6c165306cf27dd5a13b3d461cdf78376fa967ab8a4a392f691dc0c3aa029319e3d1e687b4380a8db3ffdafb62ff7bd6ca730cb6ee819ccfe43821dfd90e973
diff --git a/kde-apps/kmix/kmix-23.04.2.ebuild b/kde-apps/kmix/kmix-23.04.2.ebuild
new file mode 100644
index 0000000000..735f7812bc
--- /dev/null
+++ b/kde-apps/kmix/kmix-23.04.2.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.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"
+
+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
+}