commit:     285998d2b787e7db8aadae8d152ae258690d171b
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Fri Mar  7 21:36:55 2025 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Tue Mar 11 17:43:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=285998d2

net-misc/onedrivegui-bin: improve ebuild

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>

 net-misc/onedrivegui-bin/Manifest                  |  4 +-
 .../onedrivegui-bin-1.0.3-r2.ebuild                | 39 ------------------
 .../onedrivegui-bin-1.0.3-r3.ebuild                | 46 ++++++++++++++++++++++
 .../onedrivegui-bin-1.1.1-r1.ebuild                | 39 ------------------
 .../onedrivegui-bin-1.1.1-r2.ebuild                | 46 ++++++++++++++++++++++
 5 files changed, 94 insertions(+), 80 deletions(-)

diff --git a/net-misc/onedrivegui-bin/Manifest 
b/net-misc/onedrivegui-bin/Manifest
index 4469776..bfe280c 100644
--- a/net-misc/onedrivegui-bin/Manifest
+++ b/net-misc/onedrivegui-bin/Manifest
@@ -1,4 +1,4 @@
-DIST OneDriveGUI-1.0.3.png 223536 BLAKE2B 
cf6f73221f33c9bd76882afe336dffb174455fb8274d7759e30c3946058aab4b608503f21e9cfb81a1bef5eeef303b2f612a60515d08d576547d40dfe2693eb4
 SHA512 
44e153af1361907abd67474c99db352293a7c2388148b1841af3c3c95e64aba484542811bcb6d51c70bab45ab9b1a0d80e0e8bce153278d8a1c1afd588900f42
-DIST OneDriveGUI-1.1.1.png 223715 BLAKE2B 
90ee6d65f6bfb28b7a48ccd1ef41e57ac41fdb3c2df9e1848f63953b582c5e071132fcb31085c5a95551ccf731e4fc3c04f9a7937273b3aa059764a575e82352
 SHA512 
9b8b5fae0effb9fd3b8f3669c40adf3245dc69a0d42c87061d65a9032a7ac696ac7b02ed7abeabfb4a4aaa05fd2f043b24b436d3d15bb881fd8bf51d56c6271a
+DIST OneDriveGUI-1.0.3.png 1041 BLAKE2B 
34ed0e2fcce31a7dff2209c607daa62e0f1095fb0f96a09b017f4555a179516ab746a2383b9f051a8593d407d461e2f09e80cc79f1f18967d2458489f81cbbb9
 SHA512 
b1ffaf70e597062dadcd062b5254c3126195150a2597aaf25109ab67f87544e26fa58dc38bd7e545d40c9f17418d43199772120624d248a7cc509c560abab633
+DIST OneDriveGUI-1.1.1.png 1041 BLAKE2B 
34ed0e2fcce31a7dff2209c607daa62e0f1095fb0f96a09b017f4555a179516ab746a2383b9f051a8593d407d461e2f09e80cc79f1f18967d2458489f81cbbb9
 SHA512 
b1ffaf70e597062dadcd062b5254c3126195150a2597aaf25109ab67f87544e26fa58dc38bd7e545d40c9f17418d43199772120624d248a7cc509c560abab633
 DIST onedrivegui-bin-1.0.3.AppImage 74478784 BLAKE2B 
2ce9d3fdf307f60decdd889584be93b4955d403e4d1f2a1789b61dac4c1d60c76e0cc79633ee839e3ebbba55c1549af603e21e6e4200fc2958e609641a5f402f
 SHA512 
8a9bba9e344929b756bcb3627fcc0e5d35bd835ffc05c545628ba1f9c94f1f4657cda8ef93babc80f826472e73b6d0dc0b4a5ff7eba62b501c2d570f0e5b9b29
 DIST onedrivegui-bin-1.1.1.AppImage 63317184 BLAKE2B 
9a20c7d1ac0ed14b0ae864053ddf523c8d5eb148d58b3c7575c411d6237a47647cadda3107c5e20a2212a5c620af251579dcf8371b1a353fbbb6ab7da4399ccc
 SHA512 
4752bca3b3bf80122f65f84f2df3b742c368e50aad1dc181e43742de94d8b02c7280c5f464580efe0a671967cd12875a8b26a420dee244bd129bbcec1a63e5d5

diff --git a/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r2.ebuild 
b/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r2.ebuild
deleted file mode 100644
index 1c7eff1..0000000
--- a/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-M_PN=OneDriveGUI
-
-DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
-HOMEPAGE="https://github.com/bpozdena/OneDriveGUI";
-
-inherit desktop xdg-utils
-SRC_URI="
-    
https://github.com/bpozdena/${M_PN}/releases/download/v${PV}/${M_PN}-${PV}_fix150-x86_64.AppImage
 -> ${PN}-${PV}.AppImage
-    
https://github.com/bpozdena/${M_PN}/blob/v${PV}/src/resources/images/OneDriveGUI.png
 -> OneDriveGUI-${PV}.png
-"
-S="${WORKDIR}"
-
-RDEPEND="
-    <=net-misc/onedrive-2.5
-    sys-fs/fuse:0
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-RESTRICT="strip"
-
-src_install() {
-    #Install binary and alias command
-    newbin "${DISTDIR}/${PN}-${PV}.AppImage" OneDriveGUI
-
-    #Icon and Desktop File
-    newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png
-    domenu "${FILESDIR}/OneDriveGUI.desktop"
-}
-
-pkg_postinst() {
-    xdg_desktop_database_update
-}

diff --git a/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r3.ebuild 
b/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r3.ebuild
new file mode 100644
index 0000000..b61fa0c
--- /dev/null
+++ b/net-misc/onedrivegui-bin/onedrivegui-bin-1.0.3-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+M_PN=OneDriveGUI
+
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI";
+
+inherit desktop xdg-utils
+SRC_URI="
+       
https://github.com/bpozdena/${M_PN}/releases/download/v${PV}/${M_PN}-${PV}_fix150-x86_64.AppImage
 -> ${P}.AppImage
+       
https://raw.githubusercontent.com/bpozdena/${M_PN}/refs/tags/v${PV}/src/resources/images/${M_PN}.png
 -> OneDriveGUI-${PV}.png
+"
+S="${WORKDIR}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+       <net-misc/onedrive-2.5
+       !net-misc/onedrivegui
+       sys-fs/fuse:0
+"
+
+RESTRICT="strip test"
+
+src_install() {
+       #Install binary and alias command
+       newbin "${DISTDIR}/${P}.AppImage" OneDriveGUI
+
+       #Icon and Desktop File
+       newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png
+       domenu "${FILESDIR}/OneDriveGUI.desktop"
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

diff --git a/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r1.ebuild 
b/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r1.ebuild
deleted file mode 100644
index f364019..0000000
--- a/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-M_PN=OneDriveGUI
-
-DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
-HOMEPAGE="https://github.com/bpozdena/OneDriveGUI";
-
-inherit desktop xdg-utils
-SRC_URI="
-    
https://github.com/bpozdena/${M_PN}/releases/download/v${PV}/${M_PN}-${PV}_fix150-x86_64.AppImage
 -> ${PN}-${PV}.AppImage
-    
https://github.com/bpozdena/${M_PN}/blob/v${PV}/src/resources/images/OneDriveGUI.png
 -> OneDriveGUI-${PV}.png
-"
-S="${WORKDIR}"
-
-RDEPEND="
-    >=net-misc/onedrive-2.5
-    sys-fs/fuse:0
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-RESTRICT="strip"
-
-src_install() {
-    #Install binary and alias command
-    newbin "${DISTDIR}/${PN}-${PV}.AppImage" OneDriveGUI
-
-    #Icon and Desktop File
-    newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png
-    domenu "${FILESDIR}/OneDriveGUI.desktop"
-}
-
-pkg_postinst() {
-    xdg_desktop_database_update
-}

diff --git a/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r2.ebuild 
b/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r2.ebuild
new file mode 100644
index 0000000..ffdba55
--- /dev/null
+++ b/net-misc/onedrivegui-bin/onedrivegui-bin-1.1.1-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+M_PN=OneDriveGUI
+
+DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account 
support."
+HOMEPAGE="https://github.com/bpozdena/OneDriveGUI";
+
+inherit desktop xdg-utils
+SRC_URI="
+       
https://github.com/bpozdena/${M_PN}/releases/download/v${PV}a/${M_PN}-${PV}-x86_64.AppImage
 -> ${P}.AppImage
+       
https://raw.githubusercontent.com/bpozdena/${M_PN}/refs/tags/v${PV}/src/resources/images/${M_PN}.png
 -> OneDriveGUI-${PV}.png
+"
+S="${WORKDIR}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+       >=net-misc/onedrive-2.5
+       !net-misc/onedrivegui
+       sys-fs/fuse:0
+"
+
+RESTRICT="strip test"
+
+src_install() {
+       #Install binary and alias command
+       newbin "${DISTDIR}/${P}.AppImage" OneDriveGUI
+
+       #Icon and Desktop File
+       newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png
+       domenu "${FILESDIR}/OneDriveGUI.desktop"
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to