mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/nted: Updated for version 1.5.1
This commit is contained in:
parent
54b9a8ca95
commit
15ec87e711
4 changed files with 15 additions and 13 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
NtEd
|
||||||
|
|
||||||
NtEd is a GTK+ score editor. It intends to be really WYSIWYG: what
|
NtEd is a GTK+ score editor. It intends to be really WYSIWYG: what
|
||||||
you see on the screen is exactly what you get on printer output. It
|
you see on the screen is exactly what you get on printer output. It
|
||||||
supports up to 4 voices per staff, drum notes, 5 lyrics lines,
|
supports up to 4 voices per staff, drum notes, 5 lyrics lines,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
./usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
./usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
|
||||||
# Slackware build script for nted
|
# Slackware build script for nted
|
||||||
#(http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml)
|
#(http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml)
|
||||||
#
|
#
|
||||||
|
@ -22,11 +22,11 @@
|
||||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
|
||||||
# Modified by SlackBuilds.org
|
# Modified by the SlackBuilds.org project
|
||||||
|
|
||||||
PRGNAM=nted
|
PRGNAM=nted
|
||||||
VERSION=${VERSION:-1.4.15}
|
VERSION=${VERSION:-1.5.1}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -40,10 +40,13 @@ DOCS="ABOUT* AUTHORS COPYING* ChangeLog FAQ INSTALL NEWS README"
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
SLKLDFLAGS=""; LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
SLKLDFLAGS=""; LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -61,11 +64,12 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
# Configure
|
LDFLAGS="$SLKLDFLAGS" \
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
|
@ -89,11 +93,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add slack-desc
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
# Create package:
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
PRGNAM="nted"
|
PRGNAM="nted"
|
||||||
VERSION="1.4.15"
|
VERSION="1.5.1"
|
||||||
HOMEPAGE="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml"
|
HOMEPAGE="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml"
|
||||||
DOWNLOAD="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted-1.4.15.tar.gz"
|
DOWNLOAD="http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted-1.5.1.tar.gz"
|
||||||
MD5SUM="563e50c166bcb1b3a7c81e108c827d84"
|
MD5SUM="8de2a5a9b0632b957f94518ec2f91497"
|
||||||
MAINTAINER="Corrado Franco"
|
MAINTAINER="Corrado Franco"
|
||||||
EMAIL="conraid@gmail.com"
|
EMAIL="conraid@gmail.com"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue