app-admin/keepassxc: Revbump to depend on x11-misc/xsel
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 7 Mar 2019 22:31:19 +0000 (23:31 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 7 Mar 2019 22:31:19 +0000 (23:31 +0100)
Closes: https://bugs.gentoo.org/667092
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild [moved from app-admin/keepassxc/keepassxc-2.3.4.ebuild with 85% similarity]

similarity index 85%
rename from app-admin/keepassxc/keepassxc-2.3.4.ebuild
rename to app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild
index 623e428fb79de16cce150e1b8c785041d18f4497..222a7249efa65e4eb0f7f996b582fb64649f27f8 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
+EAPI=7
 
-inherit cmake-utils gnome2-utils xdg-utils
+inherit cmake-utils xdg
 
 DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
 HOMEPAGE="https://keepassxc.org"
@@ -47,6 +47,11 @@ DEPEND="
        dev-qt/qtconcurrent:5
 "
 
+# Not a runtime dependency but still needed (see bug #667092)
+PDEPEND="
+       x11-misc/xsel
+"
+
 PATCHES=(
        "${FILESDIR}/${PN}-2.3.3-qt-5.11-edit-entry-widget-includes.patch" #655844
 )
@@ -72,14 +77,14 @@ src_configure() {
        cmake-utils_src_configure
 }
 
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
+       xdg_pkg_postinst
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
+       xdg_pkg_postrm
 }