Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/caja-extensions/
Date: Wed, 20 May 2020 20:38:28
Message-Id: 1590007088.45557a84fe2ba4a28f93d96d9fa44368a905934e.pacho@gentoo
1 commit: 45557a84fe2ba4a28f93d96d9fa44368a905934e
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 20 20:38:08 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 20:38:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45557a84
7
8 mate-extra/caja-extensions: Newer gupnp is also supported by 0.24.x
9
10 Bug: https://bugs.gentoo.org/710470
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 .../caja-extensions-1.24.0-r1.ebuild | 73 ++++++++++++++++++++++
15 1 file changed, 73 insertions(+)
16
17 diff --git a/mate-extra/caja-extensions/caja-extensions-1.24.0-r1.ebuild b/mate-extra/caja-extensions/caja-extensions-1.24.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..5e99d5ebdcf
20 --- /dev/null
21 +++ b/mate-extra/caja-extensions/caja-extensions-1.24.0-r1.ebuild
22 @@ -0,0 +1,73 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +MATE_LA_PUNT="yes"
29 +
30 +inherit mate
31 +
32 +if [[ ${PV} != 9999 ]]; then
33 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
34 +fi
35 +
36 +DESCRIPTION="Several Caja extensions"
37 +LICENSE="GPL-2+"
38 +SLOT="0"
39 +
40 +SENDTO="cdr gajim +mail pidgin upnp"
41 +IUSE="image-converter +open-terminal share +wallpaper xattr ${SENDTO}"
42 +
43 +COMMON_DEPEND=">=dev-libs/glib-2.50:2
44 + >=mate-base/caja-1.21.3
45 + x11-libs/gdk-pixbuf:2
46 + >=x11-libs/gtk+-3.22:3
47 + gajim? (
48 + >=dev-libs/dbus-glib-0.60
49 + >=sys-apps/dbus-1
50 + )
51 + open-terminal? ( >=mate-base/mate-desktop-1.17.0 )
52 + pidgin? ( >=dev-libs/dbus-glib-0.60 )
53 + upnp? ( >=net-libs/gupnp-0.13:0= )
54 + xattr? ( sys-apps/attr )"
55 +
56 +RDEPEND="${COMMON_DEPEND}
57 + cdr? ( >=app-cdr/brasero-2.32.1:= )
58 + gajim? ( net-im/gajim )
59 + image-converter? (
60 + || (
61 + media-gfx/imagemagick
62 + media-gfx/graphicsmagick[imagemagick]
63 + )
64 + )
65 + pidgin? ( net-im/pidgin )"
66 +
67 +DEPEND="${COMMON_DEPEND}
68 + dev-libs/libxml2
69 + dev-util/gtk-doc
70 + dev-util/gtk-doc-am
71 + >=sys-devel/gettext-0.19.8:*
72 + virtual/pkgconfig:*
73 + !!mate-extra/mate-file-manager-open-terminal
74 + !!mate-extra/mate-file-manager-sendto
75 + !!mate-extra/mate-file-manager-image-converter
76 + !!mate-extra/mate-file-manager-share"
77 +
78 +src_configure() {
79 + local sendto_plugins="removable-devices"
80 + use cdr && sendto_plugins+=",caja-burn"
81 + use mail && sendto_plugins+=",emailclient"
82 + use pidgin && sendto_plugins+=",pidgin"
83 + use gajim && sendto_plugins+=",gajim"
84 + use upnp && sendto_plugins+=",upnp"
85 +
86 + mate_src_configure \
87 + --enable-sendto \
88 + --with-sendto-plugins=${sendto_plugins}\
89 + --disable-gksu \
90 + $(use_enable image-converter) \
91 + $(use_enable open-terminal) \
92 + $(use_enable share) \
93 + $(use_enable wallpaper) \
94 + $(use_enable xattr xattr-tags)
95 +}