summaryrefslogtreecommitdiffstats
path: root/source/ap
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/soma/soma.SlackBuild4
-rw-r--r--source/ap/soma/soma.desktop.strip.trailing.whitespace.diff22
2 files changed, 25 insertions, 1 deletions
diff --git a/source/ap/soma/soma.SlackBuild b/source/ap/soma/soma.SlackBuild
index be716350c..a5724403f 100755
--- a/source/ap/soma/soma.SlackBuild
+++ b/source/ap/soma/soma.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=soma
VERSION=${VERSION:-3.3.7}
ARCH=noarch
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -56,6 +56,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+cat $CWD/soma.desktop.strip.trailing.whitespace.diff | patch -p1 || exit 1
+
mkdir -p \
$PKG/install \
$PKG/etc/soma/themes \
diff --git a/source/ap/soma/soma.desktop.strip.trailing.whitespace.diff b/source/ap/soma/soma.desktop.strip.trailing.whitespace.diff
new file mode 100644
index 000000000..617f3d38a
--- /dev/null
+++ b/source/ap/soma/soma.desktop.strip.trailing.whitespace.diff
@@ -0,0 +1,22 @@
+--- ./soma.desktop.orig 2021-02-07 12:21:29.000000000 -0600
++++ ./soma.desktop 2024-02-16 13:58:32.684887399 -0600
+@@ -1,11 +1,11 @@
+-[Desktop Entry]
+-Version=1.0
+-Type=Application
++[Desktop Entry]
++Version=1.0
++Type=Application
+ Name=Internet Radio
+-Comment=Soma - Live Internet Streams
+-Exec=soma
+-Icon=Radio
+-Terminal=true
+-StartupNotify=false
++Comment=Soma - Live Internet Streams
++Exec=soma
++Icon=Radio
++Terminal=true
++StartupNotify=false
+ Categories=Application;Network;Audio;Player;
+ GenericName=Live Internet Radio Streams