summaryrefslogtreecommitdiff
path: root/x11-libs/snorenotify
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-libs/snorenotify
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-libs/snorenotify')
-rw-r--r--x11-libs/snorenotify/Manifest5
-rw-r--r--x11-libs/snorenotify/files/snorenotify-0.7.0-desktop.patch41
-rw-r--r--x11-libs/snorenotify/metadata.xml8
-rw-r--r--x11-libs/snorenotify/snorenotify-0.7.0-r1.ebuild58
4 files changed, 112 insertions, 0 deletions
diff --git a/x11-libs/snorenotify/Manifest b/x11-libs/snorenotify/Manifest
new file mode 100644
index 000000000000..31ccf97ca6e1
--- /dev/null
+++ b/x11-libs/snorenotify/Manifest
@@ -0,0 +1,5 @@
+AUX snorenotify-0.7.0-desktop.patch 1517 SHA256 7ace5e23e51473b2ec2cfe906740ad43a899e52ab1bb0ca5887b78527fd6b7a7 SHA512 be7663b95e7884f9b77891bf175ae87bae33d2aeec1076538428785aa496b60a7dbe5f48aae8ab443100cba4cd90f4638545df80184df9d98f2c0222775da072 WHIRLPOOL c87999e0c7d4ce360e57d2ec45ce0cf31c4db8d3fcbbe80edc4860da183f08f31a86022d2f7e69546f1966258d3bd1e55f46e8e9e21c91cde2a199c7e45e77ef
+DIST snorenotify-0.7.0.tar.xz 200032 SHA256 6d411ba6e31a73db56d298195f8336f66f8fe4fffd64d5fde3f14090e68ee64b SHA512 2030a7b6bc69d3803e83e1a6d26efa5bfdd3facf53dcaade6059b85cea3db879ea49b9e02dbce3b043b4ddded21509a6d5859a4002cfd57a870a0e39cd11011a WHIRLPOOL f9be5e7d22724e31d82b633bfc5943a0f767e567d68c4c98edcfb8dadd1797c7c3e8942ac88282d0bb40612e886d70d5874a1c5407631001aa26fcb03c8da5e7
+EBUILD snorenotify-0.7.0-r1.ebuild 1089 SHA256 0ab45c2d5988a8397718b408e488c93b4e3871d36727621dd923820f2bcd59db SHA512 b2eb19dd00b0d66793953cfc7132bcb6de67d5cc788790d64bb7737f2bf03c40fa2a31fa2f31fa996f6b8bcd708bb5f2f0e7fbb64676a1a7273f2517637ecc74 WHIRLPOOL 1ecb767582fb234b8c106910ebb0705a8239af895d71bc4681afc661ab9d2519cb860cbee82f49333b66f5d29d73b6fa091eff906eef4cee63bb1f60523c8ed8
+MISC ChangeLog 1788 SHA256 1943a16438103fd496229a3e9dd43ee283c46208ffe68f9bbe79fc73ff8b3937 SHA512 9daaa87094d86ac32b8c1c1fd37c979ff01510eaac1025508a76c514ea52575465b0ee27e4bbc6d37c66d2777346dcdec73cc28bbc374569b4a23de26bc6e69a WHIRLPOOL 1da828b3a2b02e8961b662215aa4a92001e2385d0e17cf971745bbc615c95d60ca009756eccd8083ff2ba0c02036e0b24f6006cc0ea3c9a2b7e45dbd27aad556
+MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
diff --git a/x11-libs/snorenotify/files/snorenotify-0.7.0-desktop.patch b/x11-libs/snorenotify/files/snorenotify-0.7.0-desktop.patch
new file mode 100644
index 000000000000..914288d82348
--- /dev/null
+++ b/x11-libs/snorenotify/files/snorenotify-0.7.0-desktop.patch
@@ -0,0 +1,41 @@
+From 897a64b18f8727c951dac8ca91ebf43f2c18f908 Mon Sep 17 00:00:00 2001
+From: Javier Llorente <javier@opensuse.org>
+Date: Sat, 13 Feb 2016 12:20:03 +0100
+Subject: [PATCH] Fix desktop categories, remove version (see
+ desktop-entry-spec), add a newline at eof
+
+---
+ src/daemon/snorenotify.desktop.in | 3 +--
+ src/settings/snoresettings.desktop.in | 3 +--
+ 2 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/src/daemon/snorenotify.desktop.in b/src/daemon/snorenotify.desktop.in
+index 83f0e3f..9fc1876 100644
+--- a/src/daemon/snorenotify.desktop.in
++++ b/src/daemon/snorenotify.desktop.in
+@@ -1,8 +1,7 @@
+ [Desktop Entry]
+ Type=Application
+-Version=@SNORE_VERSION_MAJOR@.@SNORE_VERSION_MINOR@.@SNORE_VERSION_PATCH@
+ Name=SnoreNotify
+ Comment=A daemon redirecting desktop notifications to one or multiple additional backends.
+ Icon=snore
+ Exec=snorenotify
+-Categories=Qt;System;
+\ No newline at end of file
++Categories=Qt;Settings;Qt;Utility;DesktopSettings;
+diff --git a/src/settings/snoresettings.desktop.in b/src/settings/snoresettings.desktop.in
+index 823bb2d..497d119 100644
+--- a/src/settings/snoresettings.desktop.in
++++ b/src/settings/snoresettings.desktop.in
+@@ -1,8 +1,7 @@
+ [Desktop Entry]
+ Type=Application
+-Version=@SNORE_VERSION_MAJOR@.@SNORE_VERSION_MINOR@.@SNORE_VERSION_PATCH@
+ Name=SnoreSettings
+ Comment=Settings client for applications using libsnore.
+ Icon=snore
+ Exec=snoresettings
+-Categories=Qt;System;
+\ No newline at end of file
++Categories=Qt;Settings;Qt;Utility;DesktopSettings;
diff --git a/x11-libs/snorenotify/metadata.xml b/x11-libs/snorenotify/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/x11-libs/snorenotify/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-libs/snorenotify/snorenotify-0.7.0-r1.ebuild b/x11-libs/snorenotify/snorenotify-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..ad78029107e1
--- /dev/null
+++ b/x11-libs/snorenotify/snorenotify-0.7.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~arm x86"
+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 )
+"
+
+PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package sound Qt5Multimedia)
+ $(cmake-utils_use_find_package test Qt5Test)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ virtx cmake-utils_src_test
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}