aboutsummaryrefslogtreecommitdiff
path: root/audio/kid3/kid3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/kid3/kid3.SlackBuild')
-rw-r--r--audio/kid3/kid3.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/kid3/kid3.SlackBuild b/audio/kid3/kid3.SlackBuild
index 1e0e52dc476c..96afca0b3d3d 100644
--- a/audio/kid3/kid3.SlackBuild
+++ b/audio/kid3/kid3.SlackBuild
@@ -3,7 +3,7 @@
# Written by Michales Michaloudes korgie@gmail.com
PRGNAM=kid3
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,19 +61,21 @@ cmake . \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DSYSCONF_INSTALL_DIR=/etc \
- -DMAN_INSTALL_DIR=/usr/man \
- -DINCLUDE_INSTALL_DIR=/usr/include \
-DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
- -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DINCLUDE_INSTALL_DIR=/usr/include \
$MP4TAG
+
+# breaks compilation
+#-DBUILD_SHARED_LIBS:BOOL=ON \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a \