public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrivegui/, net-misc/onedrivegui/files/
@ 2023-08-16  5:03 Marco Leise
  0 siblings, 0 replies; only message in thread
From: Marco Leise @ 2023-08-16  5:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6438749b30125ab4bbd05681237e29e8af9e1aab
Author:     Gonçalo Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Mon Jul 24 21:27:34 2023 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Mon Jul 24 21:27:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=6438749b

net-misc/onedrivegui: new package, add 1.0.2, 9999

Signed-off-by: Gonçalo Duarte <gonegrier.duarte <AT> gmail.com>

 net-misc/onedrivegui/Manifest                  |  1 +
 net-misc/onedrivegui/files/OneDriveGUI         |  2 ++
 net-misc/onedrivegui/files/OneDriveGUI.desktop |  7 ++++++
 net-misc/onedrivegui/metadata.xml              |  7 ++++++
 net-misc/onedrivegui/onedrivegui-1.0.2.ebuild  | 33 ++++++++++++++++++++++++++
 net-misc/onedrivegui/onedrivegui-9999.ebuild   | 30 +++++++++++++++++++++++
 6 files changed, 80 insertions(+)

diff --git a/net-misc/onedrivegui/Manifest b/net-misc/onedrivegui/Manifest
new file mode 100644
index 0000000..c5be263
--- /dev/null
+++ b/net-misc/onedrivegui/Manifest
@@ -0,0 +1 @@
+DIST onedrivegui.tar.gz 100431 BLAKE2B 39badff725e6f51ccb80f57fe646c20b1b4c81b931aea54130f47db3970770e22aa0c17650462da033f36e2dd97df44afeed892a8be535dac60999f3e0f8914b SHA512 153a276ba8245d33ee9a977cf887da54c50fedb4ddef237796125211adf1375e0339396a5d85c2fae81dde20c14e44ec02e6dfcb3b9f571d8b653868ad04687a

diff --git a/net-misc/onedrivegui/files/OneDriveGUI b/net-misc/onedrivegui/files/OneDriveGUI
new file mode 100644
index 0000000..4286f78
--- /dev/null
+++ b/net-misc/onedrivegui/files/OneDriveGUI
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/python /opt/OneDriveGUI/OneDriveGUI.py
\ No newline at end of file

diff --git a/net-misc/onedrivegui/files/OneDriveGUI.desktop b/net-misc/onedrivegui/files/OneDriveGUI.desktop
new file mode 100644
index 0000000..784f423
--- /dev/null
+++ b/net-misc/onedrivegui/files/OneDriveGUI.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=OneDriveGUI
+StartupNotify=true
+Exec=/usr/bin/python /opt/OneDriveGUI/OneDriveGUI.py
+Terminal=false
+Icon=OneDriveGUI
+Type=Application
\ No newline at end of file

diff --git a/net-misc/onedrivegui/metadata.xml b/net-misc/onedrivegui/metadata.xml
new file mode 100644
index 0000000..2b4bfb1
--- /dev/null
+++ b/net-misc/onedrivegui/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">bpozdena/OneDriveGUI</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild b/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
new file mode 100644
index 0000000..7a0d1c7
--- /dev/null
+++ b/net-misc/onedrivegui/onedrivegui-1.0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+M_PN=OneDriveGUI
+
+inherit desktop
+SRC_URI="https://github.com/bpozdena/OneDriveGUI/archive/refs/tags/v${PV}.tar.gz -> ${PN}.tar.gz"
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI"
+
+DEPEND="net-misc/onedrive
+	dev-python/requests
+	dev-python/pyside6[webengine(+)]
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${M_PN}-${PV}"
+
+src_install() {
+	#Install binary and alias command
+	insinto /opt/OneDriveGUI/ && doins -r "${S}/src/resources" && doins -r "${S}/src/ui" && doins -r "${S}/src/OneDriveGUI.py"
+	insinto /opt/bin/ && doins "${FILESDIR}/OneDriveGUI"
+	fperms +x /opt/OneDriveGUI/OneDriveGUI.py /opt/bin/OneDriveGUI
+
+	#Icon and Desktop File
+	doicon "${S}/src/resources/images/OneDriveGUI.ico"
+	domenu "${FILESDIR}/OneDriveGUI.desktop"
+}

diff --git a/net-misc/onedrivegui/onedrivegui-9999.ebuild b/net-misc/onedrivegui/onedrivegui-9999.ebuild
new file mode 100644
index 0000000..92da3df
--- /dev/null
+++ b/net-misc/onedrivegui/onedrivegui-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+M_PN=OneDriveGUI
+
+inherit desktop git-r3
+EGIT_REPO_URI="https://github.com/bpozdena/OneDriveGUI.git"
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI"
+
+DEPEND="net-misc/onedrive
+	dev-python/requests
+	dev-python/pyside6[webengine(+)]
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+src_install() {
+	#Install binary and alias command
+	insinto /opt/OneDriveGUI/ && doins -r "${S}/src/resources" && doins -r "${S}/src/ui" && doins -r "${S}/src/OneDriveGUI.py"
+	insinto /opt/bin/ && doins "${FILESDIR}/OneDriveGUI"
+	fperms +x /opt/OneDriveGUI/OneDriveGUI.py /opt/bin/OneDriveGUI
+
+	#Icon and Desktop File
+	doicon "${S}/src/resources/images/OneDriveGUI.ico"
+	domenu "${FILESDIR}/OneDriveGUI.desktop"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-16  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-16  5:03 [gentoo-commits] repo/user/dlang:master commit in: net-misc/onedrivegui/, net-misc/onedrivegui/files/ Marco Leise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox