summaryrefslogtreecommitdiff
path: root/mate-extra/caja-dropbox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
commiteccb70a7f91b2d22582587f26d1a28bb31408b45 (patch)
tree3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /mate-extra/caja-dropbox
parenta2810985afabcc31d3eace5e61d8ea25b852ba17 (diff)
gentoo resync : 18.05.2019
Diffstat (limited to 'mate-extra/caja-dropbox')
-rw-r--r--mate-extra/caja-dropbox/Manifest2
-rw-r--r--mate-extra/caja-dropbox/caja-dropbox-1.22.1.ebuild90
2 files changed, 92 insertions, 0 deletions
diff --git a/mate-extra/caja-dropbox/Manifest b/mate-extra/caja-dropbox/Manifest
index 90cac3715ca2..6f58064e9b0b 100644
--- a/mate-extra/caja-dropbox/Manifest
+++ b/mate-extra/caja-dropbox/Manifest
@@ -1,3 +1,5 @@
DIST caja-dropbox-1.22.0.tar.xz 313492 BLAKE2B ce14fc1f466e8da9e5d13b576602a9815bdf32c88b5e55a03f0fe20d17845030b383151194340d20c658e99dda0eff1b51c633e6adf2a1c60f3fcaa69f9e54d9 SHA512 d21f44c0e0f7f28a963fb8611e6992b3ea58ba2ad5910e440d286ab447f2f91e4776496569eb271ed25cb2628e35d2bd80d12bf832bc76011241f6b09903a8b2
+DIST caja-dropbox-1.22.1.tar.xz 309600 BLAKE2B a54778bae439a52babd4b9c88ed77ef9cebf01cb5e396e9e2dae0e74b1d55bb6b575d301133593b130af86ecb06f35fd2d11c3b7e3d67a7e741798ad701d788d SHA512 e7e9107c7654fac910762727782f35e3039b45e737341937d225126b2f63f8911f99281097b2488d3b79c0ed09fff4270b4c557166b94a722a2b1cd30fea2a2c
EBUILD caja-dropbox-1.22.0-r1.ebuild 1979 BLAKE2B f24e1780de82e2b460fb975e64d44e57d5ec991ea52ad9e89c4f41acc23fb28bfd337c83d7b68b4532dccc76accb45b41552783acc465128b6d33a3674bab220 SHA512 504927581945733b0f7940480a21596e5befe85ff720d5555b5cc41df7f419c010683b2ca9e45880b8300da067d197ee19ed7a4dcbc89e8f8619da5a67950c29
+EBUILD caja-dropbox-1.22.1.ebuild 1981 BLAKE2B c99aac37e67beed943ccbd6c620dbdad6ab0013213df748f0936290b46d45f94c330c3b301ceea32d8976ee32a5ce1ca7dd7d8794629e7a5496bc1c42f3a8ebf SHA512 9c0354a1138d20cd3b54651f0a4d64df597f05dbb35db7e662d26e853ca4e276954f530125363c3438758c0160c8d1059ace3f98b7e6bb1d3da28d8724f51341
MISC metadata.xml 341 BLAKE2B b530aa03ccd9e514d43bd1014500548a5931fcd30e288bdc9b6c56e9b4fa8dc42dd4a31074efe3b8ecb5f2f55aab3da8e7edd30fa5f3c1645cc088e594da7761 SHA512 3ef87b907e90f2093cece194a580099964f434ec7a1d43e961f0c00adeaeca085fc6e141f25f4ef7da0399e71093b4e2c12f52d0c29cd2aa3768354380ec1c37
diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.22.1.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.22.1.ebuild
new file mode 100644
index 000000000000..f2887fb1aedd
--- /dev/null
+++ b/mate-extra/caja-dropbox/caja-dropbox-1.22.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+MATE_LA_PUNT="yes"
+
+inherit mate python-single-r1 linux-info user
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Store, Sync and Share Files Online"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="debug"
+
+COMMON_DEPEND="
+ dev-libs/atk
+ >=dev-libs/glib-2.50:2
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ >=mate-base/caja-1.19.1
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXinerama
+ x11-libs/pango"
+
+RDEPEND="${COMMON_DEPEND}
+ net-misc/dropbox"
+
+DEPEND="${COMMON_DEPEND}
+ dev-python/docutils
+ virtual/pkgconfig:*"
+
+CONFIG_CHECK="~INOTIFY_USER"
+
+pkg_setup () {
+ python-single-r1_pkg_setup
+ check_extra_config
+ enewgroup dropbox
+}
+
+MATE_FORCE_AUTORECONF=true
+
+src_prepare() {
+ # Use system dropbox.
+ sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \
+ -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \
+ -i caja-dropbox.in || die
+
+ sed -e 's|\[rst2man\]|\[rst2man\.py\]|' -i configure.ac || die
+
+ mate_src_prepare
+}
+
+src_configure() {
+ mate_src_configure \
+ --disable-static \
+ $(use_enable debug)
+}
+
+src_install () {
+ python_fix_shebang caja-dropbox.in
+
+ mate_src_install
+
+ local extensiondir="$(pkg-config --variable=extensiondir libcaja-extension)"
+ [ -z ${extensiondir} ] && die "pkg-config unable to get caja extensions dir"
+
+ # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D.
+ extensiondir="${extensiondir#${EPREFIX}}"
+ use prefix || fowners root:dropbox "${extensiondir}"/libcaja-dropbox.so
+ fperms o-rwx "${extensiondir}"/libcaja-dropbox.so
+}
+
+pkg_postinst () {
+ mate_pkg_postinst
+
+ elog
+ elog "Add any users who wish to have access to the dropbox caja"
+ elog "plugin to the group 'dropbox'. You need to setup a Dropbox account"
+ elog "before using this plugin. Visit ${HOMEPAGE} for more information."
+ elog
+}