public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marco Leise" <marco.leise@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/
Date: Wed,  7 Jul 2021 15:41:16 +0000 (UTC)	[thread overview]
Message-ID: <1625666759.2eb8259418a5aa86d66be7504daaa03e82ace8a5.mleise@gentoo> (raw)

commit:     2eb8259418a5aa86d66be7504daaa03e82ace8a5
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Wed Jul  7 14:05:59 2021 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Wed Jul  7 14:05:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2eb82594

onedrive-2.4.12

Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>

 net-misc/onedrive/Manifest               |  1 +
 net-misc/onedrive/onedrive-2.4.12.ebuild | 64 ++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-misc/onedrive/Manifest b/net-misc/onedrive/Manifest
index 153473c..b1ab92c 100644
--- a/net-misc/onedrive/Manifest
+++ b/net-misc/onedrive/Manifest
@@ -1 +1,2 @@
+DIST onedrive-2.4.12.tar.gz 1034187 BLAKE2B 5c9bf0a4c9fbf966762bee68f83af62021910d26052c258d8c805c9628f76d91181a56b2eb32bb1d8ad2d5c449d1bfb848a2b33e73c9b6ab92d0216abea89ff9 SHA512 e870b85716a1d86c4b589daeb790006e8b15fe83064337be73eb985f821a476f172fef4e7372b6f953190243a117fe71c959afae0039ee81b0ad2151317d93d2
 DIST onedrive-2.4.9.tar.gz 1016024 BLAKE2B c77bd74f6ab2a529aeed213e1dad66019ddc339c0e006f5c9c9933939eefbd4fb1800921bf078bca7989680ccfcc4c3ed905d584c8261905736e9175fd72faf6 SHA512 713abb3ddf7367c386efc1c2b1fb72115675befaef5c2627b1920cb707daecafe1af2358921be7f19b05f3e9df7cbb6014e2cf6367c61d27e72531f8afa0f4b4

diff --git a/net-misc/onedrive/onedrive-2.4.12.ebuild b/net-misc/onedrive/onedrive-2.4.12.ebuild
new file mode 100644
index 0000000..e6ca50f
--- /dev/null
+++ b/net-misc/onedrive/onedrive-2.4.12.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Free Client for OneDrive on Linux"
+HOMEPAGE="https://abraunegg.github.io/"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RDEPEND="
+	>=dev-db/sqlite-3.7.15:3
+	net-misc/curl
+	libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
+SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> ${P}.tar.gz"
+DLANG_VERSION_RANGE="2.082-"
+DLANG_PACKAGE_TYPE="single"
+IUSE="debug libnotify"
+
+inherit dlang systemd bash-completion-r1
+
+d_src_configure() {
+	# LDC is supported without wrapper
+	if [[ "${DLANG_VENDOR}" == "LDC" ]]; then
+		export DC=${DC}
+		export DCFLAGS=${DCFLAGS}
+	else
+		export DC=${DMD}
+		export DCFLAGS=${DMDFLAGS}
+	fi
+	econf --disable-version-check --enable-completions $(use_enable debug) $(use_enable libnotify notifications) \
+		--with-zsh-completion-dir=/usr/share/zsh/site-functions \
+		--with-bash-completion-dir="$(get_bashcompdir)" \
+		--with-fish-completion-dir=/usr/share/fish/completions \
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
+		--with-systemduserunitdir="$(systemd_get_userunitdir)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
+	# log directory
+	keepdir /var/log/onedrive
+	fperms 775 /var/log/onedrive
+	fowners root:users /var/log/onedrive
+	# init script
+	dobin contrib/init.d/onedrive_service.sh
+	newinitd contrib/init.d/onedrive.init onedrive
+}
+
+pkg_postinst() {
+	elog "OneDrive Free Client needs to be authorized to access your data before the"
+	elog "first use. To do so, run onedrive in a terminal for the user in question and"
+	elog "follow the steps on screen."
+	elog
+	ewarn "When upgrading from 2.3 you are required you to reauthorise your client."
+	ewarn "This is due to changing the client identifier to assist with resolving"
+	ewarn "the correct handling of 429 error responses (activityLimitReached)"
+}


             reply	other threads:[~2021-07-07 15:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 15:41 Marco Leise [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  7:58 [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/ Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-05-03 16:06 Horodniceanu Andrei
2024-05-03 16:06 Horodniceanu Andrei
2024-05-03 16:06 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2023-07-22 11:46 Marco Leise
2023-07-22 11:46 Marco Leise
2023-01-13 14:50 Marco Leise
2023-01-13 14:50 Marco Leise
2022-12-19 11:53 Marco Leise
2022-10-13 16:03 Marco Leise
2022-07-23 12:20 Marco Leise
2022-07-15  4:37 Marco Leise
2022-05-09 23:22 Marco Leise
2022-03-24 18:15 Marco Leise
2022-02-08 21:39 Marco Leise
2021-01-25 17:23 Marco Leise
2020-11-16  4:05 Marco Leise
2020-08-15 18:01 Marco Leise
2020-05-30 16:47 Marco Leise
2020-05-08 17:23 Marco Leise
2020-04-19 12:58 Marco Leise
2020-01-06 23:14 Marco Leise
2019-12-23 16:56 Marco Leise
2019-11-30 12:01 Marco Leise

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625666759.2eb8259418a5aa86d66be7504daaa03e82ace8a5.mleise@gentoo \
    --to=marco.leise@gmx.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox