From: "Horodniceanu Andrei" <a.horodniceanu@proton.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/
Date: Wed, 23 Jul 2025 17:05:28 +0000 (UTC) [thread overview]
Message-ID: <1753289805.fa8b5a6c8d4db12e653a04a008b18a72b797f91c.a.horodniceanu@gentoo> (raw)
commit: fa8b5a6c8d4db12e653a04a008b18a72b797f91c
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Jul 23 16:56:45 2025 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Wed Jul 23 16:56:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=fa8b5a6c
net-misc/onedrive: backport ::gentoo fixes
Closes: https://github.com/gentoo/dlang/issues/139
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
net-misc/onedrive/onedrive-2.5.6.ebuild | 44 ++++++++++++++++++++++-----------
1 file changed, 29 insertions(+), 15 deletions(-)
diff --git a/net-misc/onedrive/onedrive-2.5.6.ebuild b/net-misc/onedrive/onedrive-2.5.6.ebuild
index a156ae6..ac0efae 100644
--- a/net-misc/onedrive/onedrive-2.5.6.ebuild
+++ b/net-misc/onedrive/onedrive-2.5.6.ebuild
@@ -4,45 +4,58 @@
EAPI=8
DLANG_COMPAT=( dmd-2_{106..109} ldc2-1_{35..40} )
-inherit bash-completion-r1 dlang-single systemd
+inherit dlang-single optfeature prefix shell-completion systemd
DESCRIPTION="Free Client for OneDrive on Linux"
HOMEPAGE="https://abraunegg.github.io/"
SRC_URI="https://codeload.github.com/abraunegg/onedrive/tar.gz/v${PV} -> ${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# no straight forward way to run unittests. Probably need to do DFLAGS=-unittest econf
-IUSE="debug libnotify"
-RESTRICT=test
+IUSE="libnotify"
+RESTRICT="test"
REQUIRED_USE=${DLANG_REQUIRED_USE}
RDEPEND="
${DLANG_DEPS}
>=dev-db/sqlite-3.7.15:3
net-misc/curl
+ sys-apps/dbus
libnotify? ( x11-libs/libnotify )
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${DLANG_DEPS}
virtual/pkgconfig
"
-BDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+ hprefixify contrib/init.d/onedrive.init
+ # Add EPREFIX to the system config path (/etc)
+ hprefixify -w '/string systemConfigDirBase/' src/config.d
+ default
+}
src_configure() {
- DCFLAGS="${DCFLAGS} ${DLANG_LDFLAGS}" 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)" \
+ myeconfargs=(
+ $(use_enable libnotify notifications)
+ --with-bash-completion-dir="$(get_bashcompdir)"
+ --with-zsh-completion-dir="$(get_zshcompdir)"
+ --with-fish-completion-dir="$(get_fishcompdir)"
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
--with-systemduserunitdir="$(systemd_get_userunitdir)"
+ --enable-completions
+ --disable-version-check
+ # Adds -g and -debug. There are only a few instructions guarded by debug
+ --disable-debug
+ )
+ DCFLAGS="${DCFLAGS} ${DLANG_LDFLAGS}" econf "${myeconfargs[@]}"
}
src_install() {
- emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
+ emake DESTDIR="${D}" docdir="${EPREFIX}"/usr/share/doc/${PF} install
# log directory
keepdir /var/log/onedrive
fperms 775 /var/log/onedrive
@@ -66,4 +79,5 @@ pkg_postinst() {
break
fi
done
+ optfeature "Single Sign-On via Intune" sys-apps/intune-portal
}
next reply other threads:[~2025-07-23 17:05 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-23 17:05 Horodniceanu Andrei [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-28 9:30 [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrive/ Horodniceanu Andrei
2025-08-15 11:20 Horodniceanu Andrei
2025-08-08 17:03 Horodniceanu Andrei
2025-08-08 17:03 Horodniceanu Andrei
2025-07-23 17:05 Horodniceanu Andrei
2025-07-23 16:33 Gonçalo Negrier Duarte
2025-03-08 17:14 Horodniceanu Andrei
2025-01-03 20:34 Horodniceanu Andrei
2024-12-18 11:20 Horodniceanu Andrei
2024-08-30 7:58 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-07-07 15:41 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=1753289805.fa8b5a6c8d4db12e653a04a008b18a72b797f91c.a.horodniceanu@gentoo \
--to=a.horodniceanu@proton.me \
--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