aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
Diffstat (limited to 'ham')
-rw-r--r--ham/xdemorse/xdemorse.SlackBuild8
-rw-r--r--ham/xdemorse/xdemorse.desktop.patch9
-rw-r--r--ham/xdemorse/xdemorse.info6
3 files changed, 19 insertions, 4 deletions
diff --git a/ham/xdemorse/xdemorse.SlackBuild b/ham/xdemorse/xdemorse.SlackBuild
index 2383a78c5587b..7ed2ee8070513 100644
--- a/ham/xdemorse/xdemorse.SlackBuild
+++ b/ham/xdemorse/xdemorse.SlackBuild
@@ -21,7 +21,7 @@
# that is unlikely, as I am rather tall.
PRGNAM=xdemorse
-VERSION=${VERSION:-2.7}
+VERSION=${VERSION:-2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,6 +67,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fixup desktop file a tad
+patch -p1 < $CWD/xdemorse.desktop.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,6 +97,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;
+# Fixup the desktop file a hair
+sed -i s#Audio#HamRadio\;Digital\;Audio\;AudioVideo\;#g $PKG/usr/share/applications/xdemorse.desktop
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/ham/xdemorse/xdemorse.desktop.patch b/ham/xdemorse/xdemorse.desktop.patch
new file mode 100644
index 0000000000000..6ba3156897d5f
--- /dev/null
+++ b/ham/xdemorse/xdemorse.desktop.patch
@@ -0,0 +1,9 @@
+--- xdemorse-2.9/files/xdemorse.desktop 2014-03-05 23:47:02.000000000 -0600
++++ xdemorse.desktop 2015-05-15 19:54:54.820332678 -0500
+@@ -5,5 +5,5 @@
+ Exec=xdemorse
+ Type=Application
+ Icon=xdemorse.xpm
+-Categories=Audio
++Categories=Audio;HamRadio;Morse;
+ Keywords=hamradio;amateur;radio;morse;code;gtk;signal
diff --git a/ham/xdemorse/xdemorse.info b/ham/xdemorse/xdemorse.info
index d77ed3117dc15..1f9963742035c 100644
--- a/ham/xdemorse/xdemorse.info
+++ b/ham/xdemorse/xdemorse.info
@@ -1,8 +1,8 @@
PRGNAM="xdemorse"
-VERSION="2.7"
+VERSION="2.9"
HOMEPAGE="http://www.qsl.net/5b4az/"
-DOWNLOAD="http://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse-2.7.tar.bz2"
-MD5SUM="108fd5264473648943e297463825332b"
+DOWNLOAD="http://www.qsl.net/5b4az/pkg/morse/xdemorse/xdemorse-2.9.tar.bz2"
+MD5SUM="c8b0556a6d3d7605f4d037ee2f48093c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""