1 |
commit: 66a4a85f57c608aa7e8be61b6a32a89ecf770f84 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 20:44:45 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 20:53:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a4a85f |
7 |
|
8 |
mate-extra/caja-dropbox: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild | 97 ---------------------- |
13 |
1 file changed, 97 deletions(-) |
14 |
|
15 |
diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 13c899c9f5c..00000000000 |
18 |
--- a/mate-extra/caja-dropbox/caja-dropbox-1.24.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,97 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_7 ) |
27 |
-MATE_LA_PUNT="yes" |
28 |
- |
29 |
-inherit mate python-single-r1 linux-info toolchain-funcs user |
30 |
- |
31 |
-if [[ ${PV} != 9999 ]]; then |
32 |
- KEYWORDS="amd64 x86" |
33 |
-fi |
34 |
- |
35 |
-DESCRIPTION="Store, Sync and Share Files Online" |
36 |
-LICENSE="CC-BY-ND-3.0 GPL-3+ public-domain" |
37 |
-SLOT="0" |
38 |
- |
39 |
-IUSE="debug" |
40 |
-REQUIRED_USE=${PYTHON_REQUIRED_USE} |
41 |
- |
42 |
-COMMON_DEPEND="${PYTHON_DEPS} |
43 |
- dev-libs/atk |
44 |
- >=dev-libs/glib-2.50:2 |
45 |
- $(python_gen_cond_dep ' |
46 |
- dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] |
47 |
- ') |
48 |
- >=mate-base/caja-1.19.1 |
49 |
- mate-extra/caja-extensions |
50 |
- media-libs/fontconfig:1.0 |
51 |
- media-libs/freetype:2 |
52 |
- x11-libs/cairo |
53 |
- x11-libs/gdk-pixbuf:2 |
54 |
- >=x11-libs/gtk+-3.22:3 |
55 |
- x11-libs/libXinerama |
56 |
- x11-libs/pango |
57 |
-" |
58 |
- |
59 |
-RDEPEND="${COMMON_DEPEND} |
60 |
- net-misc/dropbox |
61 |
-" |
62 |
- |
63 |
-DEPEND="${COMMON_DEPEND} |
64 |
- dev-python/docutils |
65 |
- virtual/pkgconfig:* |
66 |
-" |
67 |
- |
68 |
-CONFIG_CHECK="~INOTIFY_USER" |
69 |
- |
70 |
-pkg_setup() { |
71 |
- python-single-r1_pkg_setup |
72 |
- check_extra_config |
73 |
- enewgroup dropbox |
74 |
-} |
75 |
- |
76 |
-MATE_FORCE_AUTORECONF=true |
77 |
- |
78 |
-src_prepare() { |
79 |
- # Use system dropbox. |
80 |
- sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \ |
81 |
- -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \ |
82 |
- -i caja-dropbox.in || die |
83 |
- |
84 |
- sed -e 's|\[rst2man\]|\[rst2man\.py\]|' -i configure.ac || die |
85 |
- |
86 |
- mate_src_prepare |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- mate_src_configure \ |
91 |
- --disable-static \ |
92 |
- $(use_enable debug) |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- python_fix_shebang caja-dropbox.in |
97 |
- |
98 |
- mate_src_install |
99 |
- |
100 |
- local extensiondir="$($(tc-getPKG_CONFIG) --variable=extensiondir libcaja-extension)" |
101 |
- [ -z ${extensiondir} ] && die "pkg-config unable to get caja extensions dir" |
102 |
- |
103 |
- # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D. |
104 |
- extensiondir="${extensiondir#${EPREFIX}}" |
105 |
- use prefix || fowners root:dropbox "${extensiondir}"/libcaja-dropbox.so |
106 |
- fperms o-rwx "${extensiondir}"/libcaja-dropbox.so |
107 |
-} |
108 |
- |
109 |
-pkg_postinst() { |
110 |
- mate_pkg_postinst |
111 |
- |
112 |
- elog |
113 |
- elog "Add any users who wish to have access to the dropbox caja" |
114 |
- elog "plugin to the group 'dropbox'. You need to setup a Dropbox account" |
115 |
- elog "before using this plugin. Visit ${HOMEPAGE} for more information." |
116 |
- elog |
117 |
-} |