summaryrefslogtreecommitdiff
path: root/kde-apps/kmix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-22 12:04:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-22 12:04:32 +0100
commit5b52b99ca475070991d8e8d1dff674ffe6ffdea9 (patch)
treecf4bb45c00280387facfe6360387dbb2f8526bf3 /kde-apps/kmix
parent2cf667d4c687ef89fe0fc530e2a5bc8518941728 (diff)
gentoo auto-resync : 22:04:2023 - 12:04:32
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r--kde-apps/kmix/Manifest2
-rw-r--r--kde-apps/kmix/kmix-23.04.0.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index 89c3343e7152..273b62a52c94 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1,3 +1,5 @@
DIST kmix-22.12.3.tar.xz 1196164 BLAKE2B c01b50de2e9fd60e34d3e1cb884596f6a7691111bb524fad266af188c111e8f5a2f0e69185ee2c5552d7a5c9fc5add000d7287ad2d5fedced594d00d5d1ff501 SHA512 4c244e042b85ffdcee65cb78fe8dead317ba45135d7f4cb82d019a7bae8ecd0ec641f40278cea1e99ea374e03b6a61a9c0541a518f4d3871344fcb472cac58c6
+DIST kmix-23.04.0.tar.xz 1196680 BLAKE2B 11c1a59d0de2b5e071f5259d2f514bd1b5e3afbb1ebf4195bccc673aa56cbeead29bfe715f38707ff1908498fb93126c2167a624d35eebf9a13c847880e33c64 SHA512 a9c0d0890cf29312cbfbbb4c556fbcc6fa40a48a698a8eee09db588fcd9e441982c96c1d4f7ed986ff0cde3264a7b19ad368e8dfefd8daa3b87fd59f206bb481
EBUILD kmix-22.12.3.ebuild 1923 BLAKE2B bf0e1f81402aa1a2431fa57567e3fb26cf1b4f0bbed94d880aeafd5c5f3b3bfaf9b23311a74f43e2130e5e432ec522b5f39d2a82ced85a9517d5bfdce6a59872 SHA512 0e3aee57cbe2a900a399ecd4879b435f80a9116bc9063aa4f0357eeaacec6862db1a2d9bfd70124beef9cf0083d9e90b129f07565485d62f03822ea512450db9
+EBUILD kmix-23.04.0.ebuild 1926 BLAKE2B 589e86e51299552b4dc0c3cb301add3abe75e18dd32791bdf91cbd889a8b836125d3c46dc79ed1f03bb517b747a018c4997bf42b591415a875b8d283da26c5b3 SHA512 0c76cece0130b67ff14eeed639379cdb9755fa2e73b16891a314e6650f40c756762472032703bdbdc25258bdfac30bee3e3754e4e6dc56a7eb5b52c2eb16d3c8
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/kde-apps/kmix/kmix-23.04.0.ebuild b/kde-apps/kmix/kmix-23.04.0.ebuild
new file mode 100644
index 000000000000..507a2af353bc
--- /dev/null
+++ b/kde-apps/kmix/kmix-23.04.0.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
+}