Gentoo Archives: gentoo-commits

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