net-p2p/qbittorrent: sync live ebuild with latest release
authorMichael Palimaka <kensington@gentoo.org>
Fri, 22 Dec 2017 11:28:30 +0000 (22:28 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 22 Dec 2017 11:35:23 +0000 (22:35 +1100)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

net-p2p/qbittorrent/qbittorrent-9999.ebuild

index a946e1511962b89f44d533bfb6eb4410ee7b3266..24631e72b86eaeafd534772387c4b8e9447413d7 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils gnome2-utils xdg-utils
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
 HOMEPAGE="https://www.qbittorrent.org/"
@@ -34,6 +34,7 @@ RDEPEND="
        dbus? ( dev-qt/qtdbus:5 )
        X? (
                dev-qt/qtgui:5
+               dev-qt/qtsvg:5
                dev-qt/qtwidgets:5
        )"
 DEPEND="${RDEPEND}
@@ -51,3 +52,13 @@ src_configure() {
        )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}