summaryrefslogtreecommitdiffstats
path: root/audio/flacon
diff options
context:
space:
mode:
Diffstat (limited to 'audio/flacon')
-rw-r--r--audio/flacon/README1
-rw-r--r--audio/flacon/flacon.SlackBuild20
-rw-r--r--audio/flacon/flacon.info6
3 files changed, 18 insertions, 9 deletions
diff --git a/audio/flacon/README b/audio/flacon/README
index cd7866e0cf..3b1f935439 100644
--- a/audio/flacon/README
+++ b/audio/flacon/README
@@ -21,5 +21,4 @@ And the optional dependencies:
* faac
* mac
* mp3gain
- * ttaenc
* vorbisgain
diff --git a/audio/flacon/flacon.SlackBuild b/audio/flacon/flacon.SlackBuild
index dc4ccfa291..b016495996 100644
--- a/audio/flacon/flacon.SlackBuild
+++ b/audio/flacon/flacon.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for flacon.
#
-# Copyright 2015-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flacon
-VERSION=${VERSION:-5.5.1}
+VERSION=${VERSION:-11.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/flacon/flacon.info b/audio/flacon/flacon.info
index 78a02d9507..b166cec9da 100644
--- a/audio/flacon/flacon.info
+++ b/audio/flacon/flacon.info
@@ -1,8 +1,8 @@
PRGNAM="flacon"
-VERSION="5.5.1"
+VERSION="11.3.0"
HOMEPAGE="https://flacon.github.io/"
-DOWNLOAD="https://github.com/flacon/flacon/archive/v5.5.1/flacon-5.5.1.tar.gz"
-MD5SUM="0bfb09a9b198694959c89e8372da10df"
+DOWNLOAD="https://github.com/flacon/flacon/archive/v11.3.0/flacon-11.3.0.tar.gz"
+MD5SUM="4b16b1a56ad0cff01b207445c1ac9464"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libuchardet"