summaryrefslogtreecommitdiff
path: root/x11-misc/qlipper
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/qlipper
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/qlipper')
-rw-r--r--x11-misc/qlipper/Manifest6
-rw-r--r--x11-misc/qlipper/files/qlipper-5.0.0-build.patch54
-rw-r--r--x11-misc/qlipper/metadata.xml11
-rw-r--r--x11-misc/qlipper/qlipper-5.0.0.ebuild40
4 files changed, 111 insertions, 0 deletions
diff --git a/x11-misc/qlipper/Manifest b/x11-misc/qlipper/Manifest
new file mode 100644
index 000000000000..a1af3ca81a7d
--- /dev/null
+++ b/x11-misc/qlipper/Manifest
@@ -0,0 +1,6 @@
+AUX qlipper-5.0.0-build.patch 1690 SHA256 0878edbec5ec10cd5a536b29ab0f5cb2a413d9eacca12eb4fcec3f7740d65b4d SHA512 b3c137e2a5ff8f838f238431f5b187d205937662003004205565e0d7367faf269e01b069428fec64e05a7f955ca55fedd3617f1974fee519ce033af70ea51b4f WHIRLPOOL 1e198e4902f5f5857abf15188b5e3841b235a709ae724a62ffd2362090eab12f39f4f55c1ea5f80d4525c7fe0f39ebd4e29a1879143c2890d5a1b38c191529fc
+DIST qlipper-5.0.0.tar.gz 94281 SHA256 50a0876335ff19d804b42f1550c68272c707c1259c66a548c4192ab65f20dc77 SHA512 d2bd834f33531a175201244bdd6e9436da16c6f77e1fdc79616c8c3faef531ae50d4cc3b072074fd5efa494cc7be30ffe617912cf54494a66a72420095b0c642 WHIRLPOOL ca6e9542e14b4ec15e7e15d9b2bb88fee0b34913010e6c058ab122a01f3a8e1532764137f6ba42c2ebd72361ff5653983737f84cbb8a9f8b37b5400ee8da4c22
+EBUILD qlipper-5.0.0.ebuild 774 SHA256 d348f8a8e5bfe9caef870a406ff21295600bef1cfaad26f429f55202d2a7b6f5 SHA512 214ef740bea26e7646f77fee465aba7f25f566783503e5b66556e537cfb29cdca6588614a4de1645c01d84fb7fdfd6830d0285f77d1debf1c6c80e8f6dff0b51 WHIRLPOOL 7a23c56e26fb8fd880c770dbdf0daf5b37030422393f162c08aaa1a4c133ebf6c3a0c3fc8152101ba43c22788e9064cf46ad30e2f8152c53eb5d8f97d4ed13d2
+MISC ChangeLog 3668 SHA256 c6a9b5fdc95196d5364b395ddc9959282c049036ef24422b8db0155b326f571b SHA512 775d9bb99964cae4da8f45f11a9376767330845ff54cd50cd300ebc85511eac65b2539bbd5428c173399edf20ec06863fefbe7399f1b6e1fe47a4fc7237e1281 WHIRLPOOL bffc67237b15ced0a78c0e52f22b5e4a4175c6b8c2fbce6c6d273ebaf75037a3b8a5e89ab8132db78727ef185a9424fd4617f239f1c06e392d3df0b23fabb8f1
+MISC ChangeLog-2015 1392 SHA256 afa30c42a362fccb46d8f8da9e54da44010a0ce862e71292d4c2dc00358ff869 SHA512 b6396093cb02d803838662a8616f6df8b76d7991d0e1861bf9966ecd8619444128f34d6047b791eefed290a97fb8a27fa95161c9e056e3a9962e49fc35fe5bb5 WHIRLPOOL b3721efe4ac3cba1918fcb87081824af768b58f968a0b93e722466d5d1713928c9bfb2b1cd8c8c6729787c0794142edb664a0cbf84cf6995122e49bf7f13e7d5
+MISC metadata.xml 326 SHA256 19c7e5cd1660bc9d5c919bd6a1c3189f2759d1096b0f34deab72e342b0dc554e SHA512 5a8bfb530bd363777d529b7b70eec99ba70e6ee41ad9f6fb5ba7fd4c9259ffd381d4343d7a1c6dce34fc1566f5cab4fd474bc3726bbee49edc92d78250d87775 WHIRLPOOL 3d78d1a0afd61779c40cab2b87d36c2320cd079eaa7e0cd09bf2723776678380ba7006f2938cf5bc5cea510df860a47f1edab96ea38aa9dc99227e7afcc520db
diff --git a/x11-misc/qlipper/files/qlipper-5.0.0-build.patch b/x11-misc/qlipper/files/qlipper-5.0.0-build.patch
new file mode 100644
index 000000000000..20f6b35c56a1
--- /dev/null
+++ b/x11-misc/qlipper/files/qlipper-5.0.0-build.patch
@@ -0,0 +1,54 @@
+From b3cb6a08c82deacb905459b66f16eda35f0c3779 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Wed, 9 Nov 2016 21:42:08 +1100
+Subject: [PATCH] Fix build with ENABLE_NETWORK_CLIPBOARD_SHARING enabled.
+
+qlippernetwork.cpp expects network-related variables to be available if
+ENABLE_NETWORK_CLIPBOARD_SHARING is defined, but qlippernetwork.h defined those
+variables if ENABLE_NETWORK_CLIPBOARD_SHARING was *un*defined.
+
+This also adds a missing include that is no longer available transitively via
+QtNetwork/QUdpSocket.
+---
+ src/qlippernetwork.h | 4 ++--
+ src/qlippertypes.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/qlippernetwork.h b/src/qlippernetwork.h
+index 9163cf8..ce1ac9a 100644
+--- a/src/qlippernetwork.h
++++ b/src/qlippernetwork.h
+@@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+ #define QLIPPERNETWORK_H
+
+ #include <QtCore/QObject>
+-#ifndef ENABLE_NETWORK_CLIPBOARD_SHARING
++#ifdef ENABLE_NETWORK_CLIPBOARD_SHARING
+ #include <QtNetwork/QUdpSocket>
+ #endif
+ #include "qlippertypes.h"
+@@ -38,7 +38,7 @@ public slots:
+ void sendData(const ClipboardContent &value);
+
+ private:
+-#ifndef ENABLE_NETWORK_CLIPBOARD_SHARING
++#ifdef ENABLE_NETWORK_CLIPBOARD_SHARING
+ QUdpSocket *m_socket;
+ QString m_id;
+ #endif
+diff --git a/src/qlippertypes.h b/src/qlippertypes.h
+index b55f0e1..c97c311 100644
+--- a/src/qlippertypes.h
++++ b/src/qlippertypes.h
+@@ -2,7 +2,7 @@
+ #define QLIPPERTYPES_H
+
+ #include <QMetaType>
+-
++#include <QHashIterator>
+
+ typedef QHash<QString,QByteArray> ClipboardContent;
+ typedef QHashIterator<QString,QByteArray> ClipboardContentIterator;
+--
+2.7.3
+
diff --git a/x11-misc/qlipper/metadata.xml b/x11-misc/qlipper/metadata.xml
new file mode 100644
index 000000000000..bfc5032dd997
--- /dev/null
+++ b/x11-misc/qlipper/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>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pvanek/qlipper</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/qlipper/qlipper-5.0.0.ebuild b/x11-misc/qlipper/qlipper-5.0.0.ebuild
new file mode 100644
index 000000000000..ac11c2bd92c9
--- /dev/null
+++ b/x11-misc/qlipper/qlipper-5.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Lightweight and cross-platform clipboard history applet"
+HOMEPAGE="https://github.com/pvanek/qlipper"
+SRC_URI="https://github.com/pvanek/qlipper/archive/5.0.0.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+# bundles x11-libs/libqxt but no qt5 system version is available yet
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}