net/onedrivegui: Update to 1.2.2

This commit is contained in:
Jose Alonso Cardenas Marquez
2025-09-28 20:25:33 -07:00
parent 8f43af1bee
commit c33efeef86
4 changed files with 14 additions and 19 deletions
+1 -3
View File
@@ -1,5 +1,5 @@
PORTNAME= onedrivegui
DISTVERSION= 1.2.1
DISTVERSION= 1.2.2
DISTVERSIONPREFIX= v
CATEGORIES= net python
@@ -31,8 +31,6 @@ SUB_FILES= onedrivegui.sh
post-patch:
${REINPLACE_CMD} -i "" -e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/src/global_config.py
${REINPLACE_CMD} -i "" -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g" \
-e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/src/resources/OneDriveGUI.desktop
${RM} ${WRKSRC}/src/resources/OneDriveGUI.desktop.orig
${RM} ${WRKSRC}/src/global_config.py.orig
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1752769251
SHA256 (bpozdena-OneDriveGUI-v1.2.1_GH0.tar.gz) = 50320c5df5ad599da673af35a0f5d0c80a0f9d4f979333a06a762017a64224c5
SIZE (bpozdena-OneDriveGUI-v1.2.1_GH0.tar.gz) = 112478
TIMESTAMP = 1759115543
SHA256 (bpozdena-OneDriveGUI-v1.2.2_GH0.tar.gz) = c98fe134fae3b58188b2408b4733520335d5a1682cd7d9709b7f34ad7cf05758
SIZE (bpozdena-OneDriveGUI-v1.2.2_GH0.tar.gz) = 115872
@@ -5,7 +5,7 @@
-DIR_PATH = os.path.dirname(os.path.realpath(__file__))
+DIR_PATH = "/usr/local/share/onedrivegui"
+DIR_PATH = "%%DATADIR%%"
PROFILES_FILE = os.path.expanduser("~/.config/onedrive-gui/profiles")
@@ -1,18 +1,15 @@
--- src/resources/OneDriveGUI.desktop.orig 2025-06-16 11:23:57 UTC
--- src/resources/OneDriveGUI.desktop.orig 2025-09-10 08:49:21 UTC
+++ src/resources/OneDriveGUI.desktop
@@ -1,8 +1,10 @@ Name=OneDriveGUI
@@ -1,9 +1,9 @@ Name=OneDriveGUI
[Desktop Entry]
Name=OneDriveGUI
+GenericName=OneDrive Client for FreeBSD
StartupNotify=true
-Exec=/usr/bin/python3 /home/bob/host_share/Python/OneDriveGUI/src/OneDriveGUI.py
-Comment=A simple GUI for OneDrive Linux client
-Exec=OneDriveGUI
+Comment=A simple GUI for OneDrive FreeBSD client
+Exec=onedrivegui
Terminal=false
-Path=/home/bob/host_share/Python/OneDriveGUI/src/resources/images
-Icon=/home/bob/host_share/Python/OneDriveGUI/src/resources/images/icons8-clouds-48.png
-Type=Application
\ No newline at end of file
Type=Application
-Icon=OneDriveGUI
+Icon=onedrivegui
+Categories=Network;
+Type=Application
+
Categories=Network;Office
StartupNotify=true