Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-apps/copyq/
Date: Tue, 28 Apr 2020 07:45:18
Message-Id: 1588059846.d2bc2a37258fca2e0f4eab52cecfc809509f07c0.juippis@gentoo
1 commit: d2bc2a37258fca2e0f4eab52cecfc809509f07c0
2 Author: Gino McCarty <onigino <AT> protonmail <DOT> com>
3 AuthorDate: Sun Apr 19 22:38:05 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 07:44:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bc2a37
7
8 x11-apps/copyq: Version bump to 3.10.0
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=696406
11 Signed-off-by: Gino McCarty <onigino <AT> protonmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-apps/copyq/Manifest | 1 +
15 x11-apps/copyq/copyq-3.10.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 61 insertions(+)
17
18 diff --git a/x11-apps/copyq/Manifest b/x11-apps/copyq/Manifest
19 index cd543f535d1..bf21a31cf9a 100644
20 --- a/x11-apps/copyq/Manifest
21 +++ b/x11-apps/copyq/Manifest
22 @@ -1,2 +1,3 @@
23 +DIST CopyQ-3.10.0.tar.gz 2832904 BLAKE2B 78866a3ecbd1ed4d1ab06db552ef517234c1354609ef2bc18f8c4d8fa22342c7479a5bde79b9333f896dee4fe18543e47657c780b821f45121e0413c597b45aa SHA512 6cae338a144d7f92850ce88c991ed99222613c57540ced49dab719e43af884bbd9d15e6e8f074c6af94b0ac2ecd1b355eff8b83ec99f688c0f93fa19f253d653
24 DIST CopyQ-3.7.2.tar.gz 2882944 BLAKE2B 3fd90b719b931ad9d92cca97f3ad284dc454ea5644907fa61b51b70eef5c42f41d52323346c0d24611c99cd2004a0528111125726d5cefe64f2cc9ead22d1f94 SHA512 dff6530375ea674502b754866c0011f3436796fc0535dc9cd317640b8cab4620e821b440df62d229a3d1dba371a7ae0c4a03e5d3366dd845218ab1516196d730
25 DIST CopyQ-3.8.0.tar.gz 2909764 BLAKE2B 73b5f1b088bdea6db7a1141d8b029329210c18f980caf8ff52746894d672885c0940b7eeea2e66ed4d7957ea83649780860fd97e93f8eb02aad4cb8d3e687472 SHA512 ae22e5e00a2624b5fb551790ccda82f4a10a026cfd16d6526b370a0a210a939f2a11d0729f2b735e201085083514ff9eff8cda69ee2d360766fbfb7ea49b6c5e
26
27 diff --git a/x11-apps/copyq/copyq-3.10.0.ebuild b/x11-apps/copyq/copyq-3.10.0.ebuild
28 new file mode 100644
29 index 00000000000..4bcda78587f
30 --- /dev/null
31 +++ b/x11-apps/copyq/copyq-3.10.0.ebuild
32 @@ -0,0 +1,60 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake xdg-utils
39 +
40 +MY_P=CopyQ-${PV}
41 +
42 +DESCRIPTION="Clipboard manager with advanced features"
43 +HOMEPAGE="https://github.com/hluk/CopyQ"
44 +SRC_URI="https://github.com/hluk/CopyQ/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="test webkit"
50 +
51 +RESTRICT="!test? ( test )"
52 +
53 +RDEPEND="
54 + dev-qt/qtcore:5
55 + dev-qt/qtgui:5
56 + dev-qt/qtnetwork:5
57 + dev-qt/qtscript:5
58 + dev-qt/qtsvg:5
59 + dev-qt/qtwidgets:5
60 + dev-qt/qtx11extras:5
61 + x11-libs/libX11
62 + x11-libs/libXfixes
63 + x11-libs/libXtst
64 + webkit? ( dev-qt/qtwebkit:5 )
65 +"
66 +DEPEND="${RDEPEND}
67 + dev-qt/linguist-tools:5
68 + test? ( dev-qt/qttest:5 )
69 +"
70 +S=${WORKDIR}/$MY_P
71 +
72 +src_configure() {
73 + # CMakeLists.txt concatenates INSTALL_PREFIX with INSTALL_MANDIR leading to /usr/usr
74 + local mycmakeargs=(
75 + -DPLUGIN_INSTALL_PREFIX="/usr/$(get_libdir)/${PN}/plugins"
76 + -DWITH_QT5=ON
77 + -DWITH_TESTS=$(usex test)
78 + -DWITH_WEBKIT=$(usex webkit)
79 + -DCMAKE_INSTALL_MANDIR="share/man"
80 + )
81 + cmake_src_configure
82 +}
83 +
84 +pkg_postinst() {
85 + xdg_desktop_database_update
86 + xdg_icon_cache_update
87 +}
88 +
89 +pkg_postrm() {
90 + xdg_desktop_database_update
91 + xdg_icon_cache_update
92 +}