summaryrefslogtreecommitdiff
path: root/x11-misc/qtnotifydaemon
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-misc/qtnotifydaemon
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/qtnotifydaemon')
-rw-r--r--x11-misc/qtnotifydaemon/Manifest6
-rw-r--r--x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch32
-rw-r--r--x11-misc/qtnotifydaemon/metadata.xml11
-rw-r--r--x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild35
4 files changed, 84 insertions, 0 deletions
diff --git a/x11-misc/qtnotifydaemon/Manifest b/x11-misc/qtnotifydaemon/Manifest
new file mode 100644
index 000000000000..6f102cc77aa0
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/Manifest
@@ -0,0 +1,6 @@
+AUX qtnotifydaemon-1.0.14-build.patch 702 SHA256 7051ab49f53c2fd16e202323ff78678a817599953045ee9fa22583c0ce6e6f8e SHA512 4d71408894f071433d70d0f305606402ecb780f1cb7857b2cb9715e3b0ac524fea3561c247da009bdf745e2e0284f2f7bd8ac15a38283f8c8cef4d7a811ec0f4 WHIRLPOOL fd6d4fb90957ea94d2351cf1401c458ddaae605246194d34b4ad30055783132661e9a88a634376dc556f7ed22d9922b8d920808b16f2b12449cdfaa9361d2537
+DIST qtnotifydaemon_1.0.14.orig.tar.gz 1136779 SHA256 1e5a91c8b1f4a9954842a69c2e41bf8fbccad4dcdc115797863098f800be54b5 SHA512 409f911be7d0e55f8a9f23db67ad6eefac1d215c598f54bab35bd704feee3a68ae21a3c416bd8848aacbdd82ca751ea1170c566d5615d4ac8a30adb87d487b8f WHIRLPOOL b73f19aa3e18dec8dd952768b14a0fb5defeee0c58c27fce50ca53bb5602c5fe8dfe15f79c5e727657ae35efae20e38e9720953e1f102c0c46717f475f830445
+EBUILD qtnotifydaemon-1.0.14.ebuild 720 SHA256 cbe93b7e1cac3f5e0d14d6af59be065a49c5cfde3f7f4eab371e9911f4d83b10 SHA512 b61b1bd3c9fd7bc7bac3bc0a41e012abe8d131220401883a53c13d308662ab4247a60dd41f36164dfae77f54fe6b34872de47089616bc2b011ed9cd6a0874d21 WHIRLPOOL dc90fc1f7cba7fe5cb557c831acdf1e88a3ad31f940061b88c6431ba9664545b8bada8dbb6755ee51f7060f471989d17db4a6b225eddcd62afb5411df87d40d3
+MISC ChangeLog 2868 SHA256 6e320d0b5589af1145a684d9729f5a5d3aa565f9dfc415bb8a8f0aa8e92effc0 SHA512 2bf00f5d6251a12417989c5ac17828c05b88292bef1f84881e594b88d03a42a80df06ff7124eee5c170643dfb5ee1fc6f61780ff20ff7c546ad4acd5a8d4baca WHIRLPOOL c497dd52f6a1d3b0ecd5b0f5a990052ebedb7bb416314cdc434bd213482fd18083279a4bb30c3e7ba790ff3176b0ecaa720b114cda391eb761dcbc667a4d040f
+MISC ChangeLog-2015 1041 SHA256 0145acdb26417062baa03a9816e13a0b858777f2479207316aed40cdb8c56762 SHA512 ffb372eb5a2dc3f9bf12b13cb648ac2109d3cfb26223428d55815b9a28a2a4a4bfd906faf123cd66d434075a8a57ee71d69df769578379b8dd45b9f336ce268b WHIRLPOOL a2fbffc60e7be4796631d7abbb8501db62c3d912d199d1373c626df44cfd74243bd73b5d0644deb71f94f7314d1439d70dae4301af2e5dfdfcf3d4e696f936fd
+MISC metadata.xml 370 SHA256 3940f49072fa8bda7a46394afc69c57faf67c85a5e8ecb4af708b1142d09c203 SHA512 a6b29318e28e1955a5d9edd58eaac7bf498a8836605572eeae61ed8a7ccf0009ff681a3f04b9d2b35bc092d47f187ef1ee0582e98021e5eabd2f2dbde9a48649 WHIRLPOOL 0e1b7c59e48b9a79d0f3ea859ba703f829072a09ba06e71d9333db197a705679daba6873fa68cf2cb4c8673d22d68da5475cfb6a606cc9048c3d6f9e1bc6f29d
diff --git a/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch b/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch
new file mode 100644
index 000000000000..0aebc851c727
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/files/qtnotifydaemon-1.0.14-build.patch
@@ -0,0 +1,32 @@
+Fixes build with GCC 4.7, as well as the gold linker.
+
+--- main.cpp
++++ main.cpp
+@@ -22,6 +22,7 @@
+ #include <signal.h>
+ #include <sys/stat.h>
+ #include <pwd.h>
++#include <unistd.h>
+ #include "dbus.h"
+ #include "notifywidget.h"
+ #include "notifyarea.h"
+--- notifyarea.cpp
++++ notifyarea.cpp
+@@ -22,6 +22,7 @@
+ #include <QSystemTrayIcon> //alex
+ #include <QDesktopWidget>
+ #include <fstream>
++#include <unistd.h>
+ #include "notifyarea.h"
+ #include "notifywidget.h"
+ #include "dbus.h"
+--- qtnotifydaemon.pro
++++ qtnotifydaemon.pro
+@@ -13,6 +13,7 @@
+ INCLUDEPATH += .
+ QT += dbus
+ RESOURCES += images.qrc
++LIBS += -lX11
+
+ # Input
+ SOURCES += main.cpp notifywidget.cpp dbus.cpp notifyarea.cpp message.cpp
diff --git a/x11-misc/qtnotifydaemon/metadata.xml b/x11-misc/qtnotifydaemon/metadata.xml
new file mode 100644
index 000000000000..ca9e297c939d
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">qtnotifydaemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild b/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild
new file mode 100644
index 000000000000..a210a436ee83
--- /dev/null
+++ b/x11-misc/qtnotifydaemon/qtnotifydaemon-1.0.14.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit qt4-r2
+
+DESCRIPTION="A flexible and configurable notification daemon"
+HOMEPAGE="https://sourceforge.net/projects/qtnotifydaemon/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4
+ dev-qt/qt3support:4
+ !x11-misc/notification-daemon
+ !x11-misc/notify-osd"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+src_install() {
+ dobin ${PN}
+
+ insinto /usr/share/dbus-1/services
+ doins org.freedesktop.Notifications.service
+
+ doman debian/${PN}.1
+}