aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/nted/nted.SlackBuild20
-rw-r--r--multimedia/nted/nted.desktop28
-rw-r--r--multimedia/nted/nted.info10
3 files changed, 47 insertions, 11 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index 0bb98c522b74c..0a23de789b2e5 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -26,11 +26,18 @@
# Modified by the SlackBuilds.org project
PRGNAM=nted
-VERSION=${VERSION:-1.8.7}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-1.10.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -85,10 +92,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
+# Overwrite shipped .desktop file with fixed one that validates
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/nted/nted.desktop b/multimedia/nted/nted.desktop
new file mode 100644
index 0000000000000..ed27edec48983
--- /dev/null
+++ b/multimedia/nted/nted.desktop
@@ -0,0 +1,28 @@
+[Desktop Entry]
+Exec=nted
+Icon=nted
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=GTK;AudioVideo;
+
+Name=NtEd
+Name[de]=NtEd
+Name[en]=NtEd
+Name[es]=NtEd
+Name[fr]=NtEd
+Name[it]=NtEd
+
+GenericName=Score Editor
+GenericName[de]=Partitureditor
+GenericName[es]=Editor de partituras
+GenericName[en]=Score Editor
+GenericName[fr]=Édieur de partition
+GenericName[it]=Redattore di spartiti
+
+Comment=Edit musical scores
+Comment[de]=Bearbeitet (musikal.) Partituren
+Comment[en]=Edit musical scores
+Comment[es]=Editor musical de partituras
+Comment[fr]=Ėdite des partitions musicales
+Comment[it]=Redige spartiti musicali
diff --git a/multimedia/nted/nted.info b/multimedia/nted/nted.info
index 75c51bdd53c9d..63326dd758e9b 100644
--- a/multimedia/nted/nted.info
+++ b/multimedia/nted/nted.info
@@ -1,10 +1,10 @@
PRGNAM="nted"
-VERSION="1.8.7"
+VERSION="1.10.7"
HOMEPAGE="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml"
-DOWNLOAD="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/sources/nted-1.8.7.tar.gz"
-MD5SUM="bc9ab52e7dc096f67d6304031d450aea"
+DOWNLOAD="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/sources/nted-1.10.7.tar.gz"
+MD5SUM="91dfc13609dc7c1963efc63554b39c46"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Corrado Franco"
-EMAIL="conraid@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
APPROVED="rworkman"