diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-27 06:06:27 +0000 |
commit | 8d5dbd847cbc704a6a06405856e94b461011afe3 (patch) | |
tree | 4d26462d027b14926335894749d2e01d982234d0 /gnome-extra/nautilus-dropbox | |
parent | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff) |
gentoo resync : 27.03.2021
Diffstat (limited to 'gnome-extra/nautilus-dropbox')
-rw-r--r-- | gnome-extra/nautilus-dropbox/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/nautilus-dropbox/nautilus-dropbox-2020.03.04.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest index 6f102a6c871b..d1b4ebbf8535 100644 --- a/gnome-extra/nautilus-dropbox/Manifest +++ b/gnome-extra/nautilus-dropbox/Manifest @@ -1,4 +1,6 @@ AUX nautilus-dropbox-2019-system-rst2man.patch 464 BLAKE2B c0f25a56ee504a6070efdae70670e1a925a1718cfb5e1345d3acfdb0face02d1278d10f2f7172e172056834f99f309d50bbf5899f37fa6023e743042f6ffd7b8 SHA512 98c9e85a491991fd2afee3a12c8be4ab708ee47a42d08d4a11daefc1e964cb3031ffb94a27ab7758b3f1c71f7343dd4b0a49d24cb8aa2848baf65f83879a6cfb DIST nautilus-dropbox-2019.02.14.tar.bz2 381416 BLAKE2B 0765196974d88caa477d962311efe05941cd2d25e35fa028720c8abed5120fea5abede74f39e00cb2ac9eb08d6d4bbdf1d1fe6db8d604c1803570209e654d55a SHA512 c5758d97fa40af1b27388c23289e5d1d98ef1c6db04ed7fb5cfee387723f72c34f3583fb6e0158a39f30d5ff649cb2de6d92fc4ad6e976e301dc239bda9d554b +DIST nautilus-dropbox-2020.03.04.tar.bz2 387351 BLAKE2B ff25716ef10759e014cffec8a7e9b1a40931686d6de3c69e9060c77cbf3aee65ffeed91ba809ba8cffc372f284180c74a8cb5b0ca4b342aa137d9e574a2a1abf SHA512 8f26165a48d1767b3bccb34f95f19357e8fd209f383270ac2d40f773df139d640c3fb33db28cf1fa7e2d7063a7a37b15ed7f4f22f85019e05885c097cea39a48 EBUILD nautilus-dropbox-2019.02.14.ebuild 1348 BLAKE2B 47bad42c76c9dc763e2ff956b74c58ce37d9adfcfd53ec39299fc157aabf46677dc8ad3f309dff84223a51e28a54388bbfde391c0987a833ce3aaed70b2d887a SHA512 bc706d9ba742f574f105364922bfa96645aaa701e2891d037236d2f3ca649719776d8b6680a9f771745a589e972fd1d65e8c591f103d635ba96489a4e222f761 +EBUILD nautilus-dropbox-2020.03.04.ebuild 1393 BLAKE2B a80af45d8842c6968845d99cb5960b280778e279742592ce347bc54333efee605efcb58a2d59823c694e575fb80e6a684483a7fd3fcefb6a2d712e570b4bdb1c SHA512 576ec079ec212a6ba01c326fc2d20f77187ebf71cbd7a2fc9c0bd8d244a9249ad6b8a36a16a61e54ac91f88615bd51bfaca5d9d159feee9557bcfe9e98e99a57 MISC metadata.xml 582 BLAKE2B eb358f22a425af53f12ca27a47f82d8eae8b3bd0529f36492e70d1335337a1bd0c7f430494d2431e19ea3305f8e29decfd7c056ab5d9fe8069fbff00e567b38c SHA512 24032cabaf2db87514114e49410d67eda72e5365486941bd76507ae7a4645142b493ec88fdf47952603e36d84d5089606fa0bcc5f1d9a6cdd8831e457f15688e diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-2020.03.04.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-2020.03.04.ebuild new file mode 100644 index 000000000000..e882654d4eb2 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-2020.03.04.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit autotools python-single-r1 xdg-utils + +DESCRIPTION="Dropbox Nautilus Extension" +HOMEPAGE="https://github.com/dropbox/nautilus-dropbox" +SRC_URI="https://linux.dropboxstatic.com/packages/${P}.tar.bz2" + +LICENSE="GPL-3 CC-BY-ND-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' ) + dev-libs/glib:2 + gnome-base/nautilus + net-misc/dropbox" + +DEPEND="${RDEPEND}" + +BDEPEND=" + $(python_gen_cond_dep 'dev-python/docutils[${PYTHON_MULTI_USEDEP}]' ) + virtual/pkgconfig" + +# use system rst2man +PATCHES=( "${FILESDIR}/nautilus-dropbox-2019-system-rst2man.patch" ) + +src_prepare() { + default + + # use system dropbox + sed \ + -e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \ + -e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \ + -i dropbox.in || die + AT_NOELIBTOOLIZE=yes eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --disable-static +} + +src_install() { + default + + # removes files which conflicts with system dropbox + rm -r "${D}/usr/share/applications" || die + rm -r "${D}/usr/bin" || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |