Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/thunar-vcs-plugin/, profiles/
Date: Sat, 02 Jun 2018 09:07:22
Message-Id: 1527930432.0e842bea781c6730c281d5ccde856b2ce60ea40c.mgorny@gentoo
1 commit: 0e842bea781c6730c281d5ccde856b2ce60ea40c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 2 09:03:10 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 2 09:07:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e842bea
7
8 xfce-extra/thunar-vcs-plugin: Bump to 0.1.90 (GTK+3 port)
9
10 profiles/package.mask | 1 +
11 xfce-extra/thunar-vcs-plugin/Manifest | 1 +
12 .../thunar-vcs-plugin-0.1.90.ebuild | 50 ++++++++++++++++++++++
13 3 files changed, 52 insertions(+)
14
15 diff --git a/profiles/package.mask b/profiles/package.mask
16 index d1ff9ba1690..a4915d46e02 100644
17 --- a/profiles/package.mask
18 +++ b/profiles/package.mask
19 @@ -495,6 +495,7 @@ games-kids/crayon-physics
20 >=xfce-extra/thunar-archive-plugin-0.4.0
21 >=xfce-extra/thunar-media-tags-plugin-0.3.0
22 >=xfce-extra/thunar-shares-plugin-0.3.0
23 +>=xfce-extra/thunar-vcs-plugin-0.1.90
24
25 # Andreas Sturmlechner <asturm@g.o> (16 Nov 2017)
26 # Depends on dead Qt4. Last-rites on hold for chance of Qt5-port. Bug #620702
27
28 diff --git a/xfce-extra/thunar-vcs-plugin/Manifest b/xfce-extra/thunar-vcs-plugin/Manifest
29 index 3d11647ec9e..da364f691cb 100644
30 --- a/xfce-extra/thunar-vcs-plugin/Manifest
31 +++ b/xfce-extra/thunar-vcs-plugin/Manifest
32 @@ -1 +1,2 @@
33 DIST thunar-vcs-plugin-0.1.5.tar.bz2 478866 BLAKE2B 9bf2b060d88a4379f02c0e8af1829f4cf621e2590f7885f59d9af56d825c1d9d218c56c3b97420087b46eece0eb6c15146f6630569928c8523fa34bcfdbbcc22 SHA512 0315613fe97d5cb2fa9589af49bdb5074f20c83b52d5f7d4a151091839679b4617e8e0b20df85914b7bcef2464173dc1bd2bc182312364c7d5a94171aba28983
34 +DIST thunar-vcs-plugin-0.1.90.tar.bz2 537001 BLAKE2B 0f2a77af75a33fe514892a1eb7f1df92be6e50d5c0aeae5f9350db648b10b868b3ff0421614ab7de681ff445d5a1f8ac9a5749e235c06cc3a039cd89b382fd7d SHA512 6231bb863d9b884cd27f26e6cabbc3f8d3b39dc162f867932923408636bb96621bb60aa1bfa9b4637f5eed694e623cd911e855dde00d382b2a1bf36bb6b44e63
35
36 diff --git a/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.90.ebuild b/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.90.ebuild
37 new file mode 100644
38 index 00000000000..ef9f9a686aa
39 --- /dev/null
40 +++ b/xfce-extra/thunar-vcs-plugin/thunar-vcs-plugin-0.1.90.ebuild
41 @@ -0,0 +1,50 @@
42 +# Copyright 1999-2018 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=6
46 +
47 +inherit gnome2-utils
48 +
49 +DESCRIPTION="Adds Subversion and GIT actions to the context menu of thunar"
50 +HOMEPAGE="https://goodies.xfce.org/projects/thunar-plugins/thunar-vcs-plugin"
51 +SRC_URI="mirror://xfce/src/thunar-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~x86"
56 +IUSE="+git +subversion"
57 +
58 +RDEPEND=">=dev-libs/glib-2.32:2=
59 + >=x11-libs/gtk+-3.20:3=
60 + >=xfce-base/exo-0.11.4:=
61 + >=xfce-base/libxfce4util-4.12:=
62 + >=xfce-base/thunar-1.7:=
63 + git? ( dev-vcs/git )
64 + subversion? (
65 + >=dev-libs/apr-0.9.7:=
66 + >=dev-vcs/subversion-1.5:=
67 + )"
68 +DEPEND="${RDEPEND}
69 + dev-util/intltool
70 + virtual/pkgconfig"
71 +
72 +src_configure() {
73 + local myconf=(
74 + $(use_enable subversion)
75 + $(use_enable git)
76 + )
77 + econf "${myconf[@]}"
78 +}
79 +
80 +src_install() {
81 + default
82 + find "${D}" -name '*.la' -delete || die
83 +}
84 +
85 +pkg_postinst() {
86 + gnome2_icon_cache_update
87 +}
88 +
89 +pkg_postrm() {
90 + gnome2_icon_cache_update
91 +}