1 |
commit: f86b965e3acb05498cc1fc1c84dd9aecf9dfc3d5 |
2 |
Author: Marco Leise <marco.leise <AT> gmx <DOT> de> |
3 |
AuthorDate: Sat Dec 21 18:15:04 2019 +0000 |
4 |
Commit: Marco Leise <marco.leise <AT> gmx <DOT> de> |
5 |
CommitDate: Mon Dec 23 16:50:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f86b965e |
7 |
|
8 |
onedrive-2.3.12 |
9 |
|
10 |
Signed-off-by: Marco Leise <marco.leise <AT> gmx.de> |
11 |
|
12 |
net-misc/onedrive/Manifest | 1 + |
13 |
net-misc/onedrive/onedrive-2.3.12.ebuild | 63 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest |
17 |
index 3dd3a34..e0bb0f4 100644 |
18 |
--- a/net-misc/onedrive/Manifest |
19 |
+++ b/net-misc/onedrive/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST onedrive-2.3.10.tar.gz 656374 BLAKE2B fad1b26de532c0033544fb9ea1eda5c2bd3c9bbbe84db59f02f3f5484b604f8510e8807466403861ac060a56679425400e36d1d31f2030e55149400676079997 SHA512 94fe4c963e71c2e4c8f295eaa3242e4177320b21531d38faa74558a045c0c8e544a35d8b31da3549f94af46f68ab0738a0b60c4bf0ddff051d836fd514c5cd32 |
22 |
DIST onedrive-2.3.11.tar.gz 659720 BLAKE2B 2f02f650d8f5dba629af6e7fcf770e2909d032b200f2296e1f7c130462b61e9cd6edfb5a085a9e191f5b1a7ca8f68fa3f3688820deb6ddc093491fddef4afa0d SHA512 fcaf2f107e7a72dcd9d6af7a6fe4770d9ef34cc63168e331f2bdba57133c2a2e79a436a862cae1b04fde880ecf155c4fc4d26d48f31dde5b87f7ce04f518ef25 |
23 |
+DIST onedrive-2.3.12.tar.gz 661491 BLAKE2B ebf4cc3455b90244b5d361849cfab6b269c42112a07a77c726cd67d6255edfca3af482a43dec079a4119c9d5a4f75304d39e8790712e8bf35c07eb975b284315 SHA512 edf7c51a2e312e30467b23c70acf4e78f563fc124f2444fd9c14f90aa528c3417372f8e0b958e519b749370d3ed248d96840c5de4569ab9838ce3ae8b73ef3e6 |
24 |
|
25 |
diff --git a/net-misc/onedrive/onedrive-2.3.12.ebuild b/net-misc/onedrive/onedrive-2.3.12.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..31052e8 |
28 |
--- /dev/null |
29 |
+++ b/net-misc/onedrive/onedrive-2.3.12.ebuild |
30 |
@@ -0,0 +1,63 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="Free Client for OneDrive on Linux" |
37 |
+HOMEPAGE="https://github.com/abraunegg/onedrive" |
38 |
+LICENSE="GPL-3" |
39 |
+ |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+RDEPEND=" |
43 |
+ >=dev-db/sqlite-3.7.15:3 |
44 |
+ net-misc/curl |
45 |
+ libnotify? ( x11-libs/libnotify ) |
46 |
+" |
47 |
+DEPEND=" |
48 |
+ ${RDEPEND} |
49 |
+ virtual/pkgconfig |
50 |
+" |
51 |
+SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> ${P}.tar.gz" |
52 |
+DLANG_VERSION_RANGE="2.082-" |
53 |
+DLANG_PACKAGE_TYPE="single" |
54 |
+IUSE="debug libnotify" |
55 |
+ |
56 |
+inherit dlang systemd bash-completion-r1 |
57 |
+ |
58 |
+d_src_configure() { |
59 |
+ # LDC is supported without wrapper |
60 |
+ if [[ "${DLANG_VENDOR}" == "LDC" ]]; then |
61 |
+ export DC=${DC} |
62 |
+ export DCFLAGS=${DCFLAGS} |
63 |
+ else |
64 |
+ export DC=${DMD} |
65 |
+ export DCFLAGS=${DMDFLAGS} |
66 |
+ fi |
67 |
+ econf --disable-version-check --enable-completions $(use_enable debug) $(use_enable libnotify notifications) \ |
68 |
+ --with-zsh-completion-dir=/usr/share/zsh/site-functions --with-bash-completion-dir="$(get_bashcompdir)" \ |
69 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
70 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install |
75 |
+ # log directory |
76 |
+ keepdir /var/log/onedrive |
77 |
+ fperms 775 /var/log/onedrive |
78 |
+ fowners root:users /var/log/onedrive |
79 |
+ # init script |
80 |
+ dobin contrib/init.d/onedrive_service.sh |
81 |
+ newinitd contrib/init.d/onedrive.init onedrive |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ elog "OneDrive Free Client needs to be authorized to access your data before the" |
86 |
+ elog "first use. To do so, run onedrive in a terminal for the user in question and" |
87 |
+ elog "follow the steps on screen." |
88 |
+ elog |
89 |
+ ewarn "The 'skilion' version contains a significant number of defect's in how the" |
90 |
+ ewarn "local sync state is managed. When upgrading from the 'skilion' version to this" |
91 |
+ ewarn "version, it is advisable to stop any service / onedrive process from running" |
92 |
+ ewarn "and then remove your configuration directory (~/.config/onedrive/)." |
93 |
+} |