summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-11-19 22:41:38 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-11-19 22:43:17 +1100
commit1e299a129186d2560ac44a93c542bc5bc29eadef (patch)
tree7be8a4df234ecd265c0b2c83dc0342ada00d520d /x11-libs/snorenotify/snorenotify-0.6.0.ebuild
parentmedia-libs/libpng: ppc stable wrt bug #565678 (diff)
downloadgentoo-1e299a129186d2560ac44a93c542bc5bc29eadef.tar.gz
gentoo-1e299a129186d2560ac44a93c542bc5bc29eadef.tar.bz2
gentoo-1e299a129186d2560ac44a93c542bc5bc29eadef.zip
x11-libs/snorenotify: new package
Package-Manager: portage-2.2.25
Diffstat (limited to 'x11-libs/snorenotify/snorenotify-0.6.0.ebuild')
-rw-r--r--x11-libs/snorenotify/snorenotify-0.6.0.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-libs/snorenotify/snorenotify-0.6.0.ebuild b/x11-libs/snorenotify/snorenotify-0.6.0.ebuild
new file mode 100644
index 00000000000..3afb7320029
--- /dev/null
+++ b/x11-libs/snorenotify/snorenotify-0.6.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils gnome2-utils virtualx
+
+DESCRIPTION="Multi platform Qt notification framework"
+HOMEPAGE="https://techbase.kde.org/Projects/Snorenotify"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="sound test"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwebsockets:5
+ dev-qt/qtwidgets:5
+ sound? ( dev-qt/qtmultimedia:5 )
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ kde-frameworks/extra-cmake-modules
+ test? ( dev-qt/qttest:5 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package sound Qt5Multimedia)
+ $(cmake-utils_use_find_package test Qt5Test)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ VIRTUALX_COMMAND="cmake-utils_src_test" virtualmake
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}