diff --git a/app-office/insync/Manifest b/app-office/insync/Manifest index 9731bd4..ea04293 100644 --- a/app-office/insync/Manifest +++ b/app-office/insync/Manifest @@ -1,3 +1,3 @@ -DIST insync_3.4.3.40990-bionic_amd64.deb 131444916 BLAKE2B 49823b3708134db2d179fd10921b1229705ffb900a10be73527b9967fc91c5137a84f6b7b4c300eace40196c14ab554968d981d54c790df89d47d50529becfda SHA512 a1ba09fe7fba0b9427a6881b32e44246a221b4ff0f165d1c44c5c87cbb2a5880e0b72c8afa9087f1d05334da72803b8f2c0263d790210188391120f57f0d0c28 -EBUILD insync-3.4.3.40990.ebuild 906 BLAKE2B d2bfbfd3f11c981110d395db987356f33ec18d79a966c7758b454b12484ff002063e46424378c0b823d967336d713e70da296e8991d99831275158bbd9f6da97 SHA512 d15d0315fed5e5c71c477294213bd1f02f92924a096719f45063f3122b5a6b40492665e6e23b4ded3e469a644a2d99d2c97b2546c60720a317cc844c62076d63 +DIST insync-3.4.3.40990-fc30.x86_64.rpm 129659913 BLAKE2B 72512fc54faed87caf044df51d90a107795751dfbec8c3ff3f936b3a733cffca7d04a8ce21d992191f0133da3b4e6efe3d5bb356be2cf3fe4a336ceab02ce15e SHA512 befa3fd38934dcec75f3f4008934f2b1424326f01a802d8775b473757ebda17b414d588c99148efef767beec6eb83f78f6c9710c0b14c13bc20e3dcc517776fc +EBUILD insync-3.4.3.40990.ebuild 1256 BLAKE2B a2350db2fdd4db3976af6e965a1e6195717b229e613b85e5f7aceacb5f9a25eb2b2ef44d8115fefc9f48b260b72f62d2d8b6927a5994b9ce43f710f2809e2c87 SHA512 dd1cd43afbab24557f60c9c39f942ae568532aa6fe49517f754d0353a6c4cf329657f33aeccccba6fb6193173a62826592d99994fdc9d69336e4c133134032f1 MISC metadata.xml 448 BLAKE2B 84447caacd839a0cacdcc5be69d40026ffd28f206a240ffe50732ac62b8080eb339b6ebc463eed89a60d4de117a16d77f6dfca6f1c5bcb73334832d079ce139a SHA512 67b598d881f90f3b117ba43ba7e98ab2b1af85de948fec9bdd1a74556c4f3d321cc9afd8fa919e4d2454b4102717ab74601b1c5b3ceeab8379ac7f682370e8a6 diff --git a/app-office/insync/insync-3.4.3.40990.ebuild b/app-office/insync/insync-3.4.3.40990.ebuild index 7852101..906629a 100644 --- a/app-office/insync/insync-3.4.3.40990.ebuild +++ b/app-office/insync/insync-3.4.3.40990.ebuild @@ -1,46 +1,60 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI=7 -inherit xdg-utils font gnome2-utils eutils -KEYWORDS="~amd64" +inherit rpm xdg-utils DESCRIPTION="Insync extends Google Drive & OneDrive's web functionality to your desktop by integrating tightly with Linux so you can get work done" HOMEPAGE="https://www.insynchq.com/" -SRC_URI="https://d2t3ff60b2tol4.cloudfront.net/builds/${PN}_${PV}-bionic_amd64.deb" +SRC_URI="http://s.insynchq.com/builds/insync-${PV}-fc30.x86_64.rpm" + +RESTRICT="strip" + +LICENSE="as-is" SLOT="0" -RESTRICT="strip mirror" # mirror as explained at bug #547372 -LICENSE="insynchq-EULA" +KEYWORDS="~amd64" IUSE="" -VRDEPEND=" - x11-misc/xdg-utils/xdg-utils - dev-libs/nss - app-crypt/gnupg -" - DEPEND=" + >=sys-libs/glibc-2.29 " +RDEPEND="${DEPEND}" +BDEPEND="" -S="${WORKDIR}" +PATCHES=( + "${FILESDIR}/insync-3-fix-ca-path.patch" + "${FILESDIR}/insync-3-lib64.patch" +) -src_prepare() { - unpack ./control.tar.gz - unpack ./data.tar.gz - - eapply_user +src_unpack() { + rpm_src_unpack + mkdir -p "${S}" + mv "${WORKDIR}"/usr "${S}"/ } src_install() { - doins -r usr - dosym /usr/lib/insync/insync /usr/bin/insync - fperms 0755 /usr/lib/insync/insync + cp -pPR "${WORKDIR}"/"${P}"/usr/ "${D}"/ || die "Installation failed" + mv "${D}"/usr/lib "${D}"/usr/lib64 + rm -Rf "${D}"/usr/lib64/.build-id + gunzip "${D}"/usr/share/man/man1/insync.1.gz + + echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70-${PN}" || die + + insinto "/etc/revdep-rebuild" && doins "${T}/70-${PN}" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update } pkg_postrm() { - /usr/bin/gtk-update-icon-cache + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update } +