summaryrefslogtreecommitdiff
path: root/audio/flacon
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-07 23:46:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:03:48 +0700
commit9bbc2406f427c0ec68f61937309e8a548cf9d34f (patch)
tree8396f1d8a679420da459892be585a2fc8b0eb236 /audio/flacon
parent07f4f4b98e8d4544ededff15a3c84156bc56c01f (diff)
downloadslackbuilds-9bbc2406f427c0ec68f61937309e8a548cf9d34f.tar.gz
audio/flacon: Update DEP and script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/flacon')
-rw-r--r--audio/flacon/README13
-rw-r--r--audio/flacon/flacon.SlackBuild8
-rw-r--r--audio/flacon/flacon.info2
3 files changed, 11 insertions, 12 deletions
diff --git a/audio/flacon/README b/audio/flacon/README
index 811760ec17..927ba66840 100644
--- a/audio/flacon/README
+++ b/audio/flacon/README
@@ -16,18 +16,17 @@ Features:
* Automatic character set detection for CUE files.
* Generation of the per-track CUE file in the output dir.
-NOTE:
-
- * To build this package with Qt5, please add " -DUSE_QT5=Yes " to the
- cmake options in the SlackBuild file.
-
-Optional dependencies:
+And the optional dependencies:
* faac
* lame
* mac
* mp3gain
* opus-tools
- * shntool
* ttaenc
* vorbisgain
+
+NOTE:
+
+To build with Qt5, into SlackBuild file change the line "-DUSE_QT5=No"
+to: "-DUSE_QT5=Yes".
diff --git a/audio/flacon/flacon.SlackBuild b/audio/flacon/flacon.SlackBuild
index 7bdcc909eb..0adaf829c0 100644
--- a/audio/flacon/flacon.SlackBuild
+++ b/audio/flacon/flacon.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for flacon.
#
-# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=flacon
VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,6 +73,7 @@ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_QT5=No \
.
make
make install DESTDIR=$PKG
@@ -80,9 +81,8 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# only moving gzipped manpage:
mv $PKG/usr/share/man $PKG/usr/man
-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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/audio/flacon/flacon.info b/audio/flacon/flacon.info
index 1baf3b43e0..1485fa1173 100644
--- a/audio/flacon/flacon.info
+++ b/audio/flacon/flacon.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/flacon/flacon/archive/v2.1.1/flacon-2.1.1.tar.gz"
MD5SUM="cab9ea940098b20d317ec82d21a92ab0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libuchardet"
+REQUIRES="libuchardet shntool"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"