summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-08 10:27:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-08 14:03:48 +0200
commit64aa333e5583d97e0c79fbaab9e0d081306746c7 (patch)
treeafc45113905a61843b091a2cea9bc284100a34be /kde-frameworks/knotifications
parentkde-apps/kpat: Add FRAMEWORKS_MINIMAL,QT_MINIMAL defs (diff)
downloadgentoo-64aa333e5583d97e0c79fbaab9e0d081306746c7.tar.gz
gentoo-64aa333e5583d97e0c79fbaab9e0d081306746c7.tar.bz2
gentoo-64aa333e5583d97e0c79fbaab9e0d081306746c7.zip
kde-frameworks: Add KDE Frameworks 5.50.0
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'kde-frameworks/knotifications')
-rw-r--r--kde-frameworks/knotifications/Manifest1
-rw-r--r--kde-frameworks/knotifications/knotifications-5.50.0.ebuild46
-rw-r--r--kde-frameworks/knotifications/metadata.xml1
3 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/knotifications/Manifest b/kde-frameworks/knotifications/Manifest
index 20fe104a09c1..54e5a3943691 100644
--- a/kde-frameworks/knotifications/Manifest
+++ b/kde-frameworks/knotifications/Manifest
@@ -1,2 +1,3 @@
DIST knotifications-5.46.0.tar.xz 100756 BLAKE2B 39eb614b73e148388d8983e70e88cacbd0c1cde37471fb7364dfeed81ded8e23492cda65b77f827012baa6ce0eee5509665abad49cdb03c58650b030949207aa SHA512 d8caf9929e8dfd6889bd48721fdb8784737f4e4037e80885a817e89f63c0d165df137a2a5d44de399a586e754f70a19e235f1d58fdaa568c586f242e6755f2ec
DIST knotifications-5.49.0.tar.xz 100848 BLAKE2B c0dfd314bf12b8384ddc0f5e6187ec49146c77b5aa1936071fd3a856e0c4167c573cefdba09a4e3478b17e8d390b37bd63b6a7723fc7c8bee04ba15fa21d5df5 SHA512 4d3e2dd118999696fbf6d2a46080341995031232e4613dc8bdeef75f73372b2ba7de92d2ce0535909da972ea1c5716fc739e7e90ae5d8eda40a0dcc1dbf9b75c
+DIST knotifications-5.50.0.tar.xz 102596 BLAKE2B d1d3f09981bc8abeac2f1eefd2617a957227bd6045e8e2aebb7622a92e814442bf48ca995ec01b713fb5bc81e7c4d1f9f96d4fc50afa0dc4410e15b915440d86 SHA512 3128717e747baf8a3fecc3147ebfbd256fe1f330e1199222f276eabd17321c8e63272f0b252bdbf3372f712436046e4f7a725abfcee5345a9c1f823da218ab28
diff --git a/kde-frameworks/knotifications/knotifications-5.50.0.ebuild b/kde-frameworks/knotifications/knotifications-5.50.0.ebuild
new file mode 100644
index 000000000000..943d10a40bd6
--- /dev/null
+++ b/kde-frameworks/knotifications/knotifications-5.50.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="false"
+inherit kde5
+
+DESCRIPTION="Framework for notifying the user of an event"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="dbus nls phonon speech X"
+
+RDEPEND="
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ dbus? ( dev-libs/libdbusmenu-qt[qt5(+)] )
+ !phonon? ( media-libs/libcanberra )
+ phonon? ( media-libs/phonon[qt5(+)] )
+ speech? ( $(add_qt_dep qtspeech) )
+ X? (
+ $(add_qt_dep qtx11extras)
+ x11-libs/libX11
+ x11-libs/libXtst
+ )
+"
+DEPEND="${RDEPEND}
+ nls? ( $(add_qt_dep linguist-tools) )
+ X? ( x11-base/xorg-proto )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package dbus dbusmenu-qt5)
+ $(cmake-utils_use_find_package !phonon Canberra)
+ $(cmake-utils_use_find_package speech Qt5TextToSpeech)
+ $(cmake-utils_use_find_package X X11)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-frameworks/knotifications/metadata.xml b/kde-frameworks/knotifications/metadata.xml
index be95fa52795f..68ff6fccee87 100644
--- a/kde-frameworks/knotifications/metadata.xml
+++ b/kde-frameworks/knotifications/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
+ <flag name="phonon">Play notification sounds via <pkg>media-libs/phonon</pkg> instead of <pkg>media-libs/libcanberra</pkg></flag>
<flag name="speech">Enable text-to-speech notification support</flag>
</use>
</pkgmetadata>