Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/
Date: Mon, 02 Sep 2019 18:45:30
Message-Id: 1567449849.f0b437377703fa003d954a4894b0be2355e16450.floppym@gentoo
1 commit: f0b437377703fa003d954a4894b0be2355e16450
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 2 18:35:33 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 2 18:44:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b43737
7
8 net-p2p/transmission: EAPI 7
9
10 Package-Manager: Portage-2.3.75_p2, Repoman-2.3.17_p44
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 net-p2p/transmission/transmission-9999.ebuild | 34 ++++++++++++++++++---------
14 1 file changed, 23 insertions(+), 11 deletions(-)
15
16 diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild
17 index 312540191f4..caaf7e9c6ee 100644
18 --- a/net-p2p/transmission/transmission-9999.ebuild
19 +++ b/net-p2p/transmission/transmission-9999.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 -inherit cmake-utils gnome2-utils readme.gentoo-r1 systemd xdg-utils
28 +inherit cmake-utils readme.gentoo-r1 systemd xdg-utils
29
30 if [[ ${PV} == 9999 ]]; then
31 inherit git-r3
32 @@ -24,6 +24,18 @@ SLOT="0"
33 IUSE="ayatana gtk libressl lightweight nls mbedtls qt5 systemd test"
34 RESTRICT="!test? ( test )"
35
36 +BDEPEND="
37 + virtual/pkgconfig
38 + nls? (
39 + gtk? (
40 + dev-util/intltool
41 + sys-devel/gettext
42 + )
43 + qt5? (
44 + dev-qt/linguist-tools:5
45 + )
46 + )
47 +"
48 COMMON_DEPEND="
49 dev-libs/libb64:0=
50 >=dev-libs/libevent-2.0.10:=
51 @@ -36,6 +48,7 @@ COMMON_DEPEND="
52 >=net-libs/miniupnpc-1.7:=
53 >=net-misc/curl-7.16.3[ssl]
54 sys-libs/zlib:=
55 + nls? ( virtual/libintl )
56 gtk? (
57 >=dev-libs/dbus-glib-0.100
58 >=dev-libs/glib-2.32:2
59 @@ -52,7 +65,6 @@ COMMON_DEPEND="
60 systemd? ( >=sys-apps/systemd-209:= )
61 "
62 DEPEND="${COMMON_DEPEND}
63 - virtual/pkgconfig
64 nls? (
65 virtual/libintl
66 gtk? (
67 @@ -128,17 +140,17 @@ src_install() {
68 readme.gentoo_create_doc
69 }
70
71 -pkg_preinst() {
72 - gnome2_icon_savelist
73 -}
74 -
75 pkg_postrm() {
76 - xdg_desktop_database_update
77 - gnome2_icon_cache_update
78 + if use gtk || use qt5; then
79 + xdg_desktop_database_update
80 + xdg_icon_cache_update
81 + fi
82 }
83
84 pkg_postinst() {
85 - xdg_desktop_database_update
86 - gnome2_icon_cache_update
87 + if use gtk || use qt5; then
88 + xdg_desktop_database_update
89 + xdg_icon_cache_update
90 + fi
91 readme.gentoo_print_elog
92 }