diff options
author | Marco Leise <marco.leise@gmx.de> | 2023-08-15 04:35:10 +0200 |
---|---|---|
committer | Marco Leise <marco.leise@gmx.de> | 2023-08-15 04:35:10 +0200 |
commit | 141119b4678d642ab0ced7bdd312e74b290c60b5 (patch) | |
tree | 5c29616bb7e69b271bace4cc47dbcc174818f342 /net-misc | |
parent | dmd.eclass: specify compiler path when selfhosting (diff) | |
parent | net-misc/onedrivegui: add 1.0.3, drop 1.0.2 (diff) | |
download | dlang-141119b4678d642ab0ced7bdd312e74b290c60b5.tar.gz dlang-141119b4678d642ab0ced7bdd312e74b290c60b5.tar.bz2 dlang-141119b4678d642ab0ced7bdd312e74b290c60b5.zip |
Merge branch 'onedrivegui'
Signed-off-by: Marco Leise <marco.leise@gmx.de>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/onedrivegui/Manifest | 1 | ||||
-rw-r--r-- | net-misc/onedrivegui/files/OneDriveGUI | 2 | ||||
-rw-r--r-- | net-misc/onedrivegui/files/OneDriveGUI.desktop | 7 | ||||
-rw-r--r-- | net-misc/onedrivegui/metadata.xml | 7 | ||||
-rw-r--r-- | net-misc/onedrivegui/onedrivegui-1.0.3.ebuild | 33 | ||||
-rw-r--r-- | net-misc/onedrivegui/onedrivegui-9999.ebuild | 30 |
6 files changed, 80 insertions, 0 deletions
diff --git a/net-misc/onedrivegui/Manifest b/net-misc/onedrivegui/Manifest new file mode 100644 index 0000000..7231fc6 --- /dev/null +++ b/net-misc/onedrivegui/Manifest @@ -0,0 +1 @@ +DIST onedrivegui.tar.gz 102208 BLAKE2B 1a2ce7b260411eeff3a0ff599e41f1dc1f94e2dee6b3c3a6c25c846201e839cfa3819b21b22c19a62f836cb23615d24499efb3ec5d8c093e9181b9983ad272d1 SHA512 79b012384530124e6c66eb544a9f2f12ff002118f49f7d1b9dd769c75914b2295703ae63b048ee29fa640603486db4c589b0e7e2fb9496087304f2e9490e2668 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.3.ebuild b/net-misc/onedrivegui/onedrivegui-1.0.3.ebuild new file mode 100644 index 0000000..9e13b33 --- /dev/null +++ b/net-misc/onedrivegui/onedrivegui-1.0.3.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" + +RDEPEND="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" +} |