diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-09-02 14:35:33 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-09-02 14:44:09 -0400 |
commit | f0b437377703fa003d954a4894b0be2355e16450 (patch) | |
tree | 09fc48670e7b5402ccf5e90a6af9e4f68e56e694 /net-p2p | |
parent | www-client/opera: Version 63.0.3368.66 (diff) | |
download | gentoo-f0b437377703fa003d954a4894b0be2355e16450.tar.gz gentoo-f0b437377703fa003d954a4894b0be2355e16450.tar.bz2 gentoo-f0b437377703fa003d954a4894b0be2355e16450.zip |
net-p2p/transmission: EAPI 7
Package-Manager: Portage-2.3.75_p2, Repoman-2.3.17_p44
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/transmission/transmission-9999.ebuild | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild index 312540191f40..caaf7e9c6ee6 100644 --- a/net-p2p/transmission/transmission-9999.ebuild +++ b/net-p2p/transmission/transmission-9999.ebuild @@ -1,9 +1,9 @@ # 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 readme.gentoo-r1 systemd xdg-utils +inherit cmake-utils readme.gentoo-r1 systemd xdg-utils if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -24,6 +24,18 @@ SLOT="0" IUSE="ayatana gtk libressl lightweight nls mbedtls qt5 systemd test" RESTRICT="!test? ( test )" +BDEPEND=" + virtual/pkgconfig + nls? ( + gtk? ( + dev-util/intltool + sys-devel/gettext + ) + qt5? ( + dev-qt/linguist-tools:5 + ) + ) +" COMMON_DEPEND=" dev-libs/libb64:0= >=dev-libs/libevent-2.0.10:= @@ -36,6 +48,7 @@ COMMON_DEPEND=" >=net-libs/miniupnpc-1.7:= >=net-misc/curl-7.16.3[ssl] sys-libs/zlib:= + nls? ( virtual/libintl ) gtk? ( >=dev-libs/dbus-glib-0.100 >=dev-libs/glib-2.32:2 @@ -52,7 +65,6 @@ COMMON_DEPEND=" systemd? ( >=sys-apps/systemd-209:= ) " DEPEND="${COMMON_DEPEND} - virtual/pkgconfig nls? ( virtual/libintl gtk? ( @@ -128,17 +140,17 @@ src_install() { readme.gentoo_create_doc } -pkg_preinst() { - gnome2_icon_savelist -} - pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update + if use gtk || use qt5; then + xdg_desktop_database_update + xdg_icon_cache_update + fi } pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update + if use gtk || use qt5; then + xdg_desktop_database_update + xdg_icon_cache_update + fi readme.gentoo_print_elog } |