Compare commits

...

2 Commits

Author SHA1 Message Date
7d9ecb8823 Merge pull request 'add desktop path and fix icon' (#2) from brian/fix-icon-desktop into main
Reviewed-on: #2
2026-03-06 17:23:36 -05:00
6084fcca27 add desktop path and fix icon 2026-03-06 13:51:21 -05:00

View File

@@ -167,6 +167,20 @@ rustPlatform.buildRustPackage {
$out/share/metainfo/com.gooseberrydevelopment.pinepods.metainfo.xml
fi
# Create desktop entry
mkdir -p $out/share/applications
cat > $out/share/applications/pinepods.desktop << EOF
[Desktop Entry]
Name=Pinepods
Comment=A self-hosted podcast manager
Exec=pinepods
Icon=com.gooseberrydevelopment.pinepods
Type=Application
Categories=Audio;Music;
StartupNotify=true
StartupWMClass=Pinepods
EOF
runHook postInstall
'';
@@ -176,6 +190,7 @@ rustPlatform.buildRustPackage {
--set WEBKIT_FORCE_SANDBOX 0 \
--prefix LD_LIBRARY_PATH : "${libayatana-appindicator}/lib" \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "${gst_all_1.gstreamer}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-base}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-good}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-bad}/lib/gstreamer-1.0:${gst_all_1.gst-plugins-ugly}/lib/gstreamer-1.0:${gst_all_1.gst-libav}/lib/gstreamer-1.0" \
--prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}" \
--prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules"
'';