summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-08-21 04:37:33 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-08-21 04:37:33 +1000
commitab07ca7a910f14ac41e39179346d799ea5a308d2 (patch)
tree332f690dadfedd4476b24198e4ae22da45da522a /kde-apps/kmix
parentkde5-meta-pkg.eclass: new eclass. (diff)
downloadgentoo-ab07ca7a910f14ac41e39179346d799ea5a308d2.tar.gz
gentoo-ab07ca7a910f14ac41e39179346d799ea5a308d2.tar.bz2
gentoo-ab07ca7a910f14ac41e39179346d799ea5a308d2.zip
kde-apps: version bump kdemultimedia packages.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-apps/kmix')
-rw-r--r--kde-apps/kmix/Manifest1
-rw-r--r--kde-apps/kmix/files/kmix-15.04.2-alsa-optional.patch26
-rw-r--r--kde-apps/kmix/kmix-15.08.0.ebuild53
3 files changed, 80 insertions, 0 deletions
diff --git a/kde-apps/kmix/Manifest b/kde-apps/kmix/Manifest
index c5d900570775..e361d606c2c4 100644
--- a/kde-apps/kmix/Manifest
+++ b/kde-apps/kmix/Manifest
@@ -1 +1,2 @@
+DIST kmix-15.08.0.tar.xz 388368 SHA256 9143f5d97c9766b1adac9d2f0846948b1748a1c4940c5b6f8bf93a5e571dbe26 SHA512 fc2d62af0d8c97deb16f26ef084ee438a05e22136b72689c4b23ab28d282a789cb30bede0cd1b57b440cf65720f858ebd21f1a65f836380782eb9db4cf7e6184 WHIRLPOOL 4532f498a3c9460787cd8522bd0dc4308e5cfde75feba948d279fbb19d2d21768a9cb8cb4507246cf89f52e2ea0a94a64063aa856e7713f5480cb09fc3a394c6
DIST kmix-4.14.3.tar.xz 379220 SHA256 d7dd97ad5ee005fa039696d88ce21a6ede2b5d795001f1d023899f5a848b6e94 SHA512 b4581a8f847618088b55710815c45a64fe22d1ea782aa57d8e724237cf4283a49d005e2c6389974e0587352d10da46718d7a696e4faafce63950288ab7b6cd62 WHIRLPOOL ac9ae7bb39d21de53eb2932720e2f0d7d6784b071343fd04a1c69de551b80a9993a6dc525c3c90643e6098bcfb6f3662dcfe4e5389194ed581cee066fca8d3e7
diff --git a/kde-apps/kmix/files/kmix-15.04.2-alsa-optional.patch b/kde-apps/kmix/files/kmix-15.04.2-alsa-optional.patch
new file mode 100644
index 000000000000..bbcb894d0439
--- /dev/null
+++ b/kde-apps/kmix/files/kmix-15.04.2-alsa-optional.patch
@@ -0,0 +1,26 @@
+--- a/CMakeLists.txt 2015-06-04 23:19:26.543647639 +0200
++++ b/CMakeLists.txt 2015-06-04 23:22:08.863655630 +0200
+@@ -79,7 +79,10 @@
+ endif()
+
+ find_package(Alsa)
+-alsa_configure_file(${CMAKE_BINARY_DIR}/config-alsa.h)
++if(ALSA_FOUND)
++ alsa_configure_file(${CMAKE_BINARY_DIR}/config-alsa.h)
++ add_definitions(-DHAVE_LIBASOUND2)
++endif(ALSA_FOUND)
+
+ add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} )
+ add_definitions(-DKDE_DEFAULT_DEBUG_AREA=67100)
+--- a/backends/kmix-backends.cpp 2015-06-04 23:11:58.084625559 +0200
++++ b/backends/kmix-backends.cpp 2015-06-04 23:12:34.194627337 +0200
+@@ -23,7 +23,9 @@
+ /* This code is being #include'd from mixer.cpp */
+
+ #include <config.h>
++#ifdef HAVE_LIBASOUND2
+ #include <config-alsa.h>
++#endif
+
+ #include "mixer_backend.h"
+ #include "core/mixer.h"
diff --git a/kde-apps/kmix/kmix-15.08.0.ebuild b/kde-apps/kmix/kmix-15.08.0.ebuild
new file mode 100644
index 000000000000..e759c93f741a
--- /dev/null
+++ b/kde-apps/kmix/kmix-15.08.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="false"
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Plasma mixer gui"
+HOMEPAGE="http://www.kde.org/applications/multimedia/kmix/"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa pulseaudio"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep kglobalaccel)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ alsa? ( >=media-libs/alsa-lib-1.0.14a )
+ pulseaudio? (
+ media-libs/libcanberra
+ >=media-sound/pulseaudio-0.9.12
+ )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.04.2-alsa-optional.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DKMIX_KF5_BUILD=ON
+ $(cmake-utils_use_find_package alsa Alsa)
+ $(cmake-utils_use_find_package pulseaudio Canberra)
+ $(cmake-utils_use_find_package pulseaudio PulseAudio)
+ )
+
+ kde5_src_configure
+}