-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
AUX fix-ca-path.patch 274 BLAKE2B fa526417ec9fd7a81a6a77ecfe728502d35f6206dbd3225e96085832732254c8ab5fc1182ae21d2f78931506c2eeb581a7fae458270b1be01025830c76f838e2 SHA512 e335f45604ada20a9bf0f9930ecf8b93e3835a4a9c460220029ba4785f7d51d3281d7b052d148ecf6fb7d313fa268a669bd308f6290a2a0e7ec67cb6376362d8 | ||
AUX lib64.patch 142 BLAKE2B 8575e88af0c4f29dea35b5c41d812effdb37168c55e4927e35d156bcc5a1714aa06bcc7d9117f29f44250869e0ccebec9a73b62b6a2a2b95f4620c134f9049a5 SHA512 e204a272b5012b0bd9e88d89c898979f8b58ceb70259f30ae7ec769ae47ef61fc282f1f1a90ff276bf6a4c4f0c47d4c20bbcd323720b993a4d182d7ae2e515e5 | ||
DIST insync-3.2.0.40833-fc30.x86_64.rpm 140146159 BLAKE2B 10765156a8549786e5a70bd57b4e332cc308748e240d180b00c34daa599c7a2117b49eb075844efe2a7e358035a44488c07bffd9c476d7b28337d65391990cc4 SHA512 0665b45dbd0392667bd5df0b249e8ffd9a871a76d2d9b85caf01e5b7d3b11c69af6f69e56ac21ef0a54e3012c4ccf7f8e98d29ed6077a20ff448ff3c4a56ecdc | ||
EBUILD insync-3.2.0.ebuild 1186 BLAKE2B 53c10e6384bcd7d7b37d5240fb761dcef0c738c8d827125a70fedcf6506195e0d049f2c566226eff48015a6fce2cc2d91c6069d7bf06f8366086bfa22090948e SHA512 3d9deee4b7a363bfdb5ff20e5ffe614183d1569caa777c2670c2d256a32659becd1b50501235ef28f5fb9e30589491dd4c92ced2e6ddedd5e789140838030e74 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/usr/share/applications/insync.desktop | ||
+++ b/usr/share/applications/insync.desktop | ||
@@ -6,6 +6,6 @@ GenericName=Insync | ||
Comment=Launch Insync | ||
Icon=insync | ||
Categories=Network; | ||
-Exec=insync start | ||
+Exec=insync start --ca-path=/etc/ssl/certs | ||
TryExec=insync | ||
Terminal=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- a/usr/bin/insync | ||
+++ b/usr/bin/insync | ||
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
-cd /usr/lib/insync | ||
+cd /usr/lib64/insync | ||
LC_TIME=C exec ./insync "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit rpm xdg-utils | ||
|
||
DESCRIPTION="Advanced cross-platform Google Drive client" | ||
HOMEPAGE="https://www.insynchq.com/" | ||
|
||
MAGIC="40833" | ||
MAIN_INSTALLER_STRING="http://s.insynchq.com/builds/insync-${PV}.${MAGIC}-fc30" | ||
|
||
SRC_URI=" | ||
amd64? ( ${MAIN_INSTALLER_STRING}.x86_64.rpm )" | ||
|
||
LICENSE="as-is" | ||
SLOT="0" | ||
KEYWORDS="amd64 x86" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/fix-ca-path.patch" | ||
"${FILESDIR}/lib64.patch" | ||
) | ||
|
||
src_unpack() { | ||
rpm_src_unpack | ||
mkdir -p "${S}" | ||
mv "${WORKDIR}"/usr "${S}"/ | ||
} | ||
|
||
src_install() { | ||
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() { | ||
xdg_desktop_database_update | ||
xdg_mimeinfo_database_update | ||
xdg_icon_cache_update | ||
} |