x11-apps/copyq: bump to 3.7.2
authorMaxim Koltsov <maksbotan@gentoo.org>
Tue, 25 Sep 2018 08:56:40 +0000 (11:56 +0300)
committerMaxim Koltsov <maksbotan@gentoo.org>
Wed, 2 Jan 2019 15:48:30 +0000 (18:48 +0300)
- add missing qtx11extras dependency
- update icon cache

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
x11-apps/copyq/Manifest
x11-apps/copyq/copyq-3.7.2.ebuild [moved from x11-apps/copyq/copyq-3.5.0.ebuild with 74% similarity]

index bcf3fb2265bdabaf08498cb90ffa6b78d21621c3..a9dfd0e3a5a8075106a76fd3f411b83e1367a92b 100644 (file)
@@ -1,2 +1,2 @@
-DIST CopyQ-3.5.0.tar.gz 3004460 BLAKE2B 30b2d732e87dd5ffea4d07adec14a377feddf2b7e89caf235e0a6bde5781419ec186bf40c687f14d658603ed3aebe43e5010a062560748a8dc00311f0f52a821 SHA512 9e662c8f80a59d58fbc8c51990682bfe61582ebdeba240e49996aab618b0a118422b0f2023952ef8cdf8e00f50ec4d7c67bd874abacf564226fb096dcc6d944d
+DIST CopyQ-3.7.2.tar.gz 2882944 BLAKE2B 3fd90b719b931ad9d92cca97f3ad284dc454ea5644907fa61b51b70eef5c42f41d52323346c0d24611c99cd2004a0528111125726d5cefe64f2cc9ead22d1f94 SHA512 dff6530375ea674502b754866c0011f3436796fc0535dc9cd317640b8cab4620e821b440df62d229a3d1dba371a7ae0c4a03e5d3366dd845218ab1516196d730
 DIST copyq-2.8.1.tar.gz 1573991 BLAKE2B 464c7fb462638ae717ee70dffcf5fb6eaf628dd4640c9db9d757769ac07479424fc953d81c92ed0e11015802432a9e556171994e8e2da7d0ce11868dcdf57cb6 SHA512 77602d39b0cb5fd0c8bd8d6c1ba5079e95ad72dc846c3e273556ffe029732e65bfd0951954de856c894bd7b6ebae816dfe7048040d77f7f3cd07faa922260b57
similarity index 74%
rename from x11-apps/copyq/copyq-3.5.0.ebuild
rename to x11-apps/copyq/copyq-3.7.2.ebuild
index 1607b43b01995f10573fea621971066a54e3e369..0c5b8ccd84f5169487c3b296132f9cd460f01246 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils gnome2-utils
 
 MY_P=CopyQ-${PV}
 
@@ -25,6 +25,7 @@ RDEPEND="
        dev-qt/qtscript:5
        dev-qt/qtsvg:5
        dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
        x11-libs/libX11
        x11-libs/libXfixes
        x11-libs/libXtst
@@ -37,11 +38,21 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}/$MY_P
 
 src_configure() {
+       # CMakeLists.txt concatenates INSTALL_PREFIX with INSTALL_MANDIR leading to /usr/usr
        local mycmakeargs=(
                -DPLUGIN_INSTALL_PREFIX="/usr/$(get_libdir)/${PN}/plugins"
                -DWITH_QT5=ON
                -DWITH_TESTS=$(usex test)
                -DWITH_WEBKIT=$(usex webkit)
+               -DCMAKE_INSTALL_MANDIR="share/man"
        )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}