c_josie_overlay

dev-util/opencode-bin bump 2.1.2 --> 2.1.3, vesktop-bin broken ebuild fixed, readme updated

13fa0957dbd56ce49c84983d61d6110717110dae
cjosie <administrator@josie-c.com> · 2026-10-22T20:56 · browse files at this commit

parents: d18390a

diff --git a/dev-util/opencode-bin/Manifest b/dev-util/opencode-bin/Manifest
index e4fd062..a578286 100644
--- a/dev-util/opencode-bin/Manifest
+++ b/dev-util/opencode-bin/Manifest
@@ -1,2 +1,2 @@
-DIST opencode-bin-2.1.2-amd64.tgz 99002353 BLAKE2B 55091a49f2f961b754862a0693df9ae503bc0fe7df9b3c19846b543e8064ca280743b9aff03ea74fae37be97fa4600b7fe1373e908a7208c87ded40320910f3b SHA512 3bcffc253f123663117839a9603b26d382a692b410d9dcda2a06b0d3acc2a147e1e74011187b39f04eb30a1d7a18853210bf1a6eb7527b6ebc2b9fc4c44f3d1b
-DIST opencode-bin-2.1.2-arm64.tgz 97760013 BLAKE2B 72d49d64cbccfca1acbe6d50b55d8542c436df51389e4ad404d8540e9bf9b1337094e3668c4d1171742ff917ae5349e966473b79dd12b991dcf3bad171a2c497 SHA512 dbde0803d4b5b17380cce0513cc72716e6295e515e51a2939694e4d1aed332fb9cedc25b7d2e76a684f0dc0948bbbc9c6e7f131a64e68f6ece3b1b0c98108b12
+DIST opencode-bin-2.1.3-amd64.tgz 113799634 BLAKE2B 3928d75f68d29434232a4e1ce4857443969d957a93e9316758eb1a845c944edda2f831fdbf9d18f727cc5385e39d2cc1bae611f8e6520a0706e34e51ce4cb1c0 SHA512 5953bb4de6dd80070f9e8390dfdd27cb7a32aa9087e4ca4f53bea51d79a5dc6ff0273e902f18f3b105b62eb69b89ec20d38eb201e2a57fed673cf644945d6a3f
+DIST opencode-bin-2.1.3-arm64.tgz 112423922 BLAKE2B 633a819bc6ac73c2a5449b56704d94285c5e29c71fe1555db1b446b3bac719575b81cf01ac14868efb9c19d4935c4a12c8eff3bc411415185c337efde1e9707d SHA512 4f0a3c9c2ccb6d00b98d9739a007a2cdede108f2926b06bfb429b637bb3a108a9e11c74f53b54040d622c8492b0b85210c993dd44a6996c8b33e0f1798709d98
diff --git a/dev-util/opencode-bin/opencode-bin-2.1.2.ebuild b/dev-util/opencode-bin/opencode-bin-2.1.3.ebuild
similarity index 100%
rename from dev-util/opencode-bin/opencode-bin-2.1.2.ebuild
rename to dev-util/opencode-bin/opencode-bin-2.1.3.ebuild
diff --git a/net-im/vesktop-bin/files/vesktop.desktop b/net-im/vesktop-bin/files/vesktop.desktop
index 527db61..f56edcb 100644
--- a/net-im/vesktop-bin/files/vesktop.desktop
+++ b/net-im/vesktop-bin/files/vesktop.desktop
@@ -3,8 +3,9 @@ Name=Vesktop (bin)
 Comment=Vencord Desktop is a free/libre cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
 GenericName=Internet Messenger
 Type=Application
-Exec=/usr/bin/vesktop-bin
+Exec=/usr/bin/vesktop-bin %U
 Icon=vesktop-bin
-Categories=Network;InstantMessaging;
+Categories=Network;InstantMessaging;Chat;
 StartupWMClass=vesktop
-Keywords=discord;vencord;
+Keywords=discord;vencord;electron;chat;
+MimeType=x-scheme-handler/discord;
diff --git a/net-im/vesktop-bin/vesktop-bin-1.6.8.ebuild b/net-im/vesktop-bin/vesktop-bin-1.6.8.ebuild
index ab85ab7..0947589 100644
--- a/net-im/vesktop-bin/vesktop-bin-1.6.8.ebuild
+++ b/net-im/vesktop-bin/vesktop-bin-1.6.8.ebuild
@@ -70,10 +70,17 @@ src_install() {
 	domenu "${FILESDIR}/vesktop.desktop"
 
 	exeinto "${DESTDIR}"
-	doexe vesktop chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doexe vesktop chrome-sandbox libffmpeg.so libvk_swiftshader.so libvulkan.so.1
+	# Electron <44 shipped ANGLE as separate libraries; 44+ links it statically.
+	local f
+	for f in libEGL.so libGLESv2.so; do
+		[[ -f ${f} ]] && doexe "${f}"
+	done
 
 	insinto "${DESTDIR}"
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat \
+		resources.pak snapshot_blob.bin v8_context_snapshot.bin \
+		vk_swiftshader_icd.json
 	insopts -m0755
 	doins -r locales resources
 
@@ -82,7 +89,15 @@ src_install() {
 
 	[[ -x chrome_crashpad_handler ]] && doexe chrome_crashpad_handler
 
-	dosym "${DESTDIR}/vesktop" "/usr/bin/vesktop-bin"
+	# Electron reads CHROME_DESKTOP to register discord:// links and to match
+	# the Wayland app_id to our desktop entry; it returns false without it.
+	cat > "${T}/vesktop-bin" <<-EOF || die
+		#!/bin/sh
+		export CHROME_DESKTOP=vesktop.desktop
+		exec ${DESTDIR}/vesktop "\$@"
+	EOF
+	exeinto /usr/bin
+	newexe "${T}/vesktop-bin" vesktop-bin
 }
 
 pkg_postinst() {
diff --git a/readme.md b/readme.md
index 1a4586d..18bbb98 100644
--- a/readme.md
+++ b/readme.md
@@ -12,19 +12,20 @@ location = /var/db/repos/josie-overlay
 sync-type = git
 sync-uri = https://git.josie-c.com/josie/c_josie_overlay.git
 auto-sync = yes
-clone-depth = 0
-sync-depth = 0
 ```
-clone/sync-depth are required because my simplegit service currently doesn't negotiate shallow syncs (will be fixing this).
 
 Then run "emerge --sync josie-overlay".
 
 Current packages:
 
 **dev-util/opencode-bin** - opencode bin because the overlay I used to use stopped serving the V1.X and I didn't see a simple V2.X available. 
+
 **dev-util/radiance** - LLM Inference server for AMD RDNA4 cards. Needs LLVM 24 for its ROCm deps (the ROCm bits are here and pulled in automatically), and an AMDGPU_TARGETS="" entry in your make.conf for your card (`gfx1200` for my 9060 XT, for example)
+
 **net-im/vesktop-bin** - set up for pipewire + KDE Plasma wayland screen sharing.
+
 **sci-biology/fah-client-bin** - Folding@Home v8 client. USE flag `rocm-opencl` for the ROCm OpenCL runtime (needed, very few HIP WUs available), USE flag `webui` to also pull in the web-client. I run OpenRC so it includes an OpenRC file and a `-systemd` USE flag as well. I obvs have not tested if it works on a SystemD system without that flag. 
 
+
 Contact administrator@josie-c.com with any issues.