ham/freedv: Updated for version 1.9.9.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2024-05-12 20:48:33 +07:00
parent 3534ffc6a7
commit 2c2da5a3b6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 13 deletions

View file

@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=freedv
VERSION=${VERSION:-1.2.2}
SRCNAM=freedv-gui
VERSION=${VERSION:-1.9.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# 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
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -69,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -96,9 +94,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING README.txt RELEASE_NOTES.txt USER_MANUAL.txt credits.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING *.md *.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="freedv"
VERSION="1.2.2"
VERSION="1.9.9.1"
HOMEPAGE="https://freedv.org"
DOWNLOAD="https://freedv.com/wp-content/uploads/sites/8/2017/10/freedv-1.2.2.tar.xz"
MD5SUM="b4c6f57ee65dcc6b94e48f9b1105fa5e"
DOWNLOAD="https://github.com/drowe67/freedv-gui/archive/v1.9.9.1/freedv-gui-1.9.9.1.tar.gz"
MD5SUM="bcd2d79a72f1de5a3a33982ab1ccdc62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="portaudio wxGTK3 codec2 hamlib"