diff options
Diffstat (limited to 'audio/alsa-tools')
-rw-r--r-- | audio/alsa-tools/alsa-tools.SlackBuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild index ddf2ab4e82..0c53b7832a 100644 --- a/audio/alsa-tools/alsa-tools.SlackBuild +++ b/audio/alsa-tools/alsa-tools.SlackBuild @@ -13,9 +13,11 @@ # the firmware is being included in the package as well. # *** I agree. --rworkman :-) +# 20140219 bkw: fix .desktop files so they validate + PRGNAM=alsa-tools VERSION=${VERSION:-1.0.27} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -147,6 +149,17 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# hdspmixer.desktop and hdspconf.desktop fail desktop-file-validate. +# We'll leave the deprecation warning for FilePattern, as it's just a +# warning, and FilePattern might still be useful. +sed -i \ + -e '/^Encoding/d' \ + -e '/^FilePattern/s,$,;,' \ + -e '/^Icon/s,\.png *$,,' \ + -e '/^Categories/s,Application;,,' \ + $PKG/usr/share/applications/hdspmixer.desktop \ + $PKG/usr/share/applications/hdspconf.desktop + # Niels Horn pointed out that some of the firmware shipped with this # package conflicts with Slackware's kernel-firmware package. The files # are identical, so just leave them out of this build. |