gpodder: build XDG files

This commit is contained in:
Jan Tojnar 2017-10-25 20:54:19 +02:00
parent 4233b83226
commit 18a177a517
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -51,6 +51,13 @@ python2Packages.buildPythonApplication rec {
feedparser dbus-python mygpoclient pygtk eyeD3 podcastparser html5lib
] ++ stdenv.lib.optional ipodSupport libgpod;
preBuild = ''
make PREFIX="$out" \
share/applications/gpodder-url-handler.desktop \
share/applications/gpodder.desktop \
share/dbus-1/services/org.gpodder.service
'';
checkPhase = ''
LC_ALL=C python -m gpodder.unittests
'';